Update wcsmbs tests to use the support test driver
[glibc.git] / ChangeLog
blob7bc25077b8592d255dce05455b9ccdbe5b54a1e6
1 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4         the TEST_FUNCTION macro definition.
5         * wcsmbs/tst-mbrtowc2.c: Likewise.
6         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7         * wcsmbs/tst-wchar-h.c: Likewise.
8         * wcsmbs/tst-wcpncpy.c: Likewise.
9         * wcsmbs/tst-wcrtomb.c: Likewise.
10         * wcsmbs/tst-wcsnlen.c: Likewise.
11         * wcsmbs/tst-wcstof.c: Likewise.
13 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
16         CALL_THREAD_FCT macro usage.
17         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
18         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
19         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
21         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
22         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23         (__ASSUME_REQUEUE_PI): Likewise.
24         * sysdeps/unix/sysv/linux/kernel-features.h
25         (__ASSUME_REQUEUE_PI): Likewise.
26         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27         (__ASSUME_REQUEUE_PI): Likewise.
28         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29         (__ASSUME_REQUEUE_PI): Likewise.
30         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
31         (__ASSUME_REQUEUE_PI): Likewise.
33 2017-04-04  Florian Weimer  <fweimer@redhat.com>
35         * resolv/tst-resolv-canonname.c: New file.
36         * resolv/Makefile (tests): Add tst-resolv-canonname.
37         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
39 2017-04-04  Florian Weimer  <fweimer@redhat.com>
41         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
42         Declare.
43         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
44         (NS_MAXCDNAME): Remove definition.
45         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
46         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
47         (NS_MAXCDNAME): Remove definition.
48         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
50 2017-04-04  Florian Weimer  <fweimer@redhat.com>
52         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
53         call whose result is not used.
55 2017-04-04  Florian Weimer  <fweimer@redhat.com>
57         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
58         * resolv/Makefile (tests): Add tst-ns_name.
59         (tst-ns_name): Link with -lresolv.
60         (tst-ns_name.out): Depend on the input data file.
62 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
64         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
65         Clobber also r14.
67 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
69         [BZ #21253]
70         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
71         slack space by 32KiB.
73 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
75         [BZ #21338]
76         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
77         instead of incorrect do_set_arena_test
79 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
81         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
82         * math/bits/math-finite.h: Likewise.
84 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
86         [BZ #21289]
87         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
89 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
91         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
92         non expected inotify_add_watch and quotactl return.
94 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
96         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
97         to int32_t.
98         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
99         as returning int32_t.
101 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
103         * math/math.h: Include bits/math-finite.h once per
104         floating-point type.
105         * math/bits/math-finite.h: Macroize all declarations by
106         floating-point type.
108 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
110         [BZ #21182]
111         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
112         near end of a page.
113         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
114         overflow calculation.
116 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
118         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
119         (IMPL) Call with 1 instead of 0 as argument.
121 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
123         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
124         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
125         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
126         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
127         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
128         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
129         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
130         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
131         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
132         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
133         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
134         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
135         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
136         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
137         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
138         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
139         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
140         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
141         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
142         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
143         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
144         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
145         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
146         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
147         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
148         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
149         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
150         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
151         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
152         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
153         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
154         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
155         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
156         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
157         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
158         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
159         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
160         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
161         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
162         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
163         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
164         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
165         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
166         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
167         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
168         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
169         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
171         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
172         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
173         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
174         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
175         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
176         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
177         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
178         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
179         INLINE_SYSCALL_ERROR_RETURN_VALUE.
180         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
181         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
182         defined.
183         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
184         __NR_setgroups32 if defined.
185         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
186         if defined.
187         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
188         __NR_setresgid32 is defined.
189         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
190         __NR_setresuid32 if defined.
191         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
192         __NR_setreuid32 if defined.
193         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
194         defined.
195         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
196         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
197         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
198         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
199         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
200         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
201         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
202         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
203         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
204         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
205         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
206         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
207         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
208         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
209         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
210         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
211         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
212         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
213         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
214         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
215         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
216         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
217         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
218         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
219         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
220         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
221         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
222         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
223         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
224         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
225         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
226         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
227         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
228         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
229         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
230         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
231         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
232         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
233         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
234         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
235         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
236         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
237         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
238         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
239         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
240         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
241         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
242         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
243         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
244         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
245         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
246         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
247         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
248         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
249         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
250         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
251         INLINE_SYSCALL_ERROR_RETURN_VALUE.
252         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
253         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
254         defined.
255         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
256         __NR_setgroups32 if defined.
257         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
258         if defined.
259         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
260         __NR_setresgid32 is defined.
261         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
262         __NR_setresuid32 if defined.
263         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
264         __NR_setreuid32 if defined.
265         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
266         defined.
268 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
270         [BZ #21277]
271         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
272         unconditionally.
273         (IMAXBEL): Likewise.
274         (IUTF8): Likewise.
276 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
278         * sysdeps/aarch64/libm-test-ulps: Update.
280 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
282         * README.tunables: Updated descriptions.
283         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
284         * scripts/gen-tunables.awk: Updated the code related to the
285         commit.
287 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
289         * benchtests/Makefile (string-benchset): Add memcpy-random.
290         * benchtests/bench-memcpy-random.c: New file.
292 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
294         * stdio-common/printf.h (register_printf_modifier): Change the
295         order of __wur and __THROW.
296         (register_printf_type): Likewise.
298 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
300         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
301         test_main ().
302         (CMDLINE_PROCESS): Use function instead of defined macro.
303         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
304         <suppport/support.h> to use set_fortify_handler().
305         * string/bug-envz1.c: Import support/test-driver.c instead of
306         test-skeleton.c.
307         * string/bug-strcoll2.c: Likewise.
308         * string/bug-strtok1.c: Likewise.
309         * string/stratcliff.c: Likewise.
310         * string/test-ffs.c: Likewise.
311         * string/test-memccpy.c: Likewise.
312         * string/test-memchr.c: Likewise.
313         * string/test-memcmp.c: Likewise.
314         * string/test-memcpy.c: Likewise.
315         * string/test-memmem.c: Likewise.
316         * string/test-memmove.c: Likewise.
317         * string/test-memrchr.c: Likewise.
318         * string/test-memset.c: Likewise.
319         * string/test-rawmemchr.c: Likewise.
320         * string/test-strcasecmp.c: Likewise.
321         * string/test-strcasestr.c: Likewise.
322         * string/test-strcat.c: Likewise.
323         * string/test-strchr.c: Likewise.
324         * string/test-strcmp.c: Likewise.
325         * string/test-strcpy.c: Likewise.
326         * string/test-string.h: Likewise.
327         * string/test-strlen.c: Likewise.
328         * string/test-strncasecmp.c: Likewise.
329         * string/test-strncat.c: Likewise.
330         * string/test-strncmp.c: Likewise.
331         * string/test-strncpy.c: Likewise.
332         * string/test-strnlen.c: Likewise.
333         * string/test-strpbrk.c: Likewise.
334         * string/test-strrchr.c: Likewise.
335         * string/test-strspn.c: Likewise.
336         * string/test-strstr.c: Likewise.
337         * string/tst-bswap.c: Likewise.
338         * string/tst-cmp.c: Likewise.
339         * string/tst-endian.c: Likewise.
340         * string/tst-inlcall.c: Likewise.
341         * string/tst-strcoll-overflow.c: Likewise.
342         * string/tst-strfry.c: Likewise.
343         * string/tst-strlen.c: Likewise.
344         * string/tst-strtok.c: Likewise.
345         * string/tst-strtok_r.c: Likewise.
346         * string/tst-strxfrm.c: Likewise.
347         * string/tst-strxfrm2.c: Likewise.
348         * string/tst-svc.c: Likewise.
349         * string/tst-svc2.c: Likewise.
351 2017-03-22  Zack Weinberg  <zackw@panix.com>
353         * stdio-common/bug25.c: Include stdlib.h.
354         * support/tst-support_format_dns_packet.c: Include stdio.h,
355         stdlib.h, and string.h.
356         * support/tst-support_record_failure.c: Include string.h.
357         * support/tst-support_record_failure-2.sh: Adjust line number
358         expectations and correct a typo in an error message.
360 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
362         [BZ #21258]
363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
364         Define only if _dl_runtime_resolve is defined to
365         _dl_runtime_resolve_sse_vex.
366         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
367         Fallthrough to _dl_runtime_resolve_sse_vex.
369 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
371         * INSTALL: Regenerated.
373 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
375         * config.h.in: Add LINK_OBSOLETE_NSL.
376         * config.make.in: Add build-obsolete-nsl.
377         * configure.ac: Add obsolete-nsl option.
378         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
379         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
380         * include/rpcsvc/nislib.h: Likewise.
381         * include/rpcsvc/ypclnt.h: Likewise.
382         * manual/install.texi: Document --enable-obsolete-nsl.
383         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
384         * nis/nis_add.c: Replace libnsl_hidden_def with
385         libnsl_hidden_nolink_def.
386         * nis/nis_addmember.c: Likewise.
387         * nis/nis_call.c: Likewise.
388         * nis/nis_clone_obj.c: Likewise.
389         * nis/nis_defaults.c: Likeise.
390         * nis/nis_domain_of_r.c: Likewise.
391         * nis/nis_error.c: Likewise.
392         * nis/nis_file.c: Likewise.
393         * nis/nis_free.c: Likewise.
394         * nis_local_names.c: Likewise.
395         * nis/nis_lookup.c: Likewise.
396         * nis/nis_modify.c: Likewise.
397         * nis/nis_print.c: Likewise.
398         * nis/nis_remove.c: Likewise.
399         * nis/nis_table.c: Likewise.
400         * nis/nis_util.c: Likewise.
401         * nis/nis_xdr.c: Likewise.
402         * nis/yp_xdr.c: Likewise.
403         * nis/ypclnt.c: Likewise.
404         * nis/ypupdate_xdr.c: Likewise.
405         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
406         * nis/nis_clone_dir.c: Likewise.
407         * nis/nis_clone_res.c: Likewise.
408         * nis/nis_creategroup.c: Likewise.
409         * nis/nis_destroygroup.c: Likewise.
410         * nis/nis_domain_of.c: Likewise.
411         * nis/nis_getservlist.c: Likewise.
412         * nis/nis_ismember.c: Likewise.
413         * nis/nis_mkdir.c: Likewise.
414         * nis/nis_ping.c: Likewise.
415         * nis/nis_print_group_entry.c: Likewise.
416         * nis/nis_removemember.c: Likewise.
417         * nis/nis_rmdir.c: Likewise.
418         * nis/nis_server.c: Likewise.
419         * nis/nis_subr.c: Likewise.
420         * nis/nis_verifygroup.c: Likewise.
422 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
424         * malloc/tst-interpose-aux.c (check_for_allocations):
425         Move compiler barrier before free.
427 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
429         [BZ #21279]
430         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
431         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
432         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
433         x86_64-x32-linux.
434         (mq_attr.mq_maxmsg): Likewise.
435         (mq_attr.mq_msgsize): Likewise.
436         (mq_attr.mq_curmsgs): Likewise.
438         [BZ #21278]
439         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
440         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
441         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
442         mips-o32-linux.
444         [BZ #21268]
445         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
446         if [__USE_MISC]
447         (NL3): Likewise.
449 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
451         [BZ #21275]
452         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
453         __stack to __stackbase.
454         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
455         checks so we can include defined(__ia64__) first.
457 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
459         * sysdeps/unix/sysv/linux/ttyname.h: New file.
460         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
461         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
462         Call is_pty when the link does not exist or does not match, fail
463         with ENODEV when it returns true.
464         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
465         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
466         Call is_pty when the link does not exist or does not match, fail
467         with ENODEV when it returns true.
469 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
471         [BZ #16437]
472         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
473         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
474         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
475         x86_64-x32-linux.
476         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
477         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
478         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
480         [BZ #21261]
481         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
482         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
483         names for all fields.
484         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
485         for jmp_buf field renaming.
486         (_JMPBUF_UNWINDS_ADJ): Likewise.
488         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
489         with allow-header.
491 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
493         * malloc/malloc.c (unlink): Add consistency check between size and
494         next->prev->size, to further harden against 1-byte overflows.
496 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
498         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
499         CPU_FEATURES_CPU_P.
501 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
503         [BZ #21259]
504         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
505         unconditionally, not just for [__USE_MISC].
507         [BZ #17786]
508         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
509         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
510         mips-o32-linux.
512         [BZ #21260]
513         * sysdeps/unix/sysv/linux/alpha/Makefile
514         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
515         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
517         * conform/conformtest.pl ($cross): New variable.
518         (--cross): New command-line option.
519         (runtest): Skip test execution when cross-compiling.
520         * conform/Makefile (conformtest-cross): New variable.
521         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
522         conformtest.pl.
524         * conform/conformtest.pl ($xfail_str): New variable.
525         (--xfail=): New command-line option.
526         (top level): Handle expectations starting xfail[cond]-.
527         * conform/Makefile (conformtest-xfail): New variable.
528         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
529         conformtest.pl.
531 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
533         * conform/conformtest.pl: Use compilation instead of execution
534         tests for testing values of constants and usability in #if.
536 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
538         * math/auto-libm-test-in: Mark some catan and catanh as
539         xfail-rounding:ibm128-libgcc.
540         * math/auto-libm-test-out-catan: Regenerate.
541         * math/auto-libm-test-out-catanh: Likewise.
543 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
545         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
546         (__END_NAMESPACE_STD): Likewise.
547         (__USING_NAMESPACE_STD): Likewise.
548         (__BEGIN_NAMESPACE_C99): Likewise.
549         (__END_NAMESPACE_C99): Likewise.
550         (__USING_NAMESPACE_C99): Likewise.
551         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
552         undefine macro.
553         (_Mdouble_END_NAMESPACE): Likewise.
554         * ctype/ctype.h: Do not handle C++ namespaces.
555         * libio/bits/stdio-ldbl.h: Likewise.
556         * libio/stdio.h: Likewise.
557         * locale/locale.h: Likewise.
558         * math/bits/mathcalls.h: Likewise.
559         * setjmp/setjmp.h: Likewise.
560         * signal/signal.h: Likewise.
561         * stdlib/bits/stdlib-float.h: Likewise.
562         * stdlib/bits/stdlib-ldbl.h: Likewise.
563         * stdlib/stdlib.h: Likewise.
564         * string/string.h: Likewise.
565         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
566         * time/bits/types/clock_t.h: Likewise.
567         * time/bits/types/struct_tm.h: Likewise.
568         * time/bits/types/time_t.h: Likewise.
569         * time/time.h: Likewise.
570         * wcsmbs/bits/wchar-ldbl.h: Likewise.
571         * wcsmbs/uchar.h: Likewise.
572         * wcsmbs/wchar.h: Likewise.
573         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
574         * wctype/wctype.h: Do not handle C++ namespaces.
575         * scripts/begin-end-check.pl: Remove.
576         * Makefile (installed-headers): Likewise.
577         (tests-special): Do not add $(objpfx)begin-end-check.out.
578         ($(objpfx)begin-end-check.out): Remove.
580 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
581             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
583         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
584         (DL_PLATFORM_INIT): New define.
585         (dl_platform_init): New function.
586         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
587         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
588         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
589         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
590         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
592 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
594         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
595         instead of PIC.
597 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
599         [BZ #21094]
600         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
601         24+24+24-bit pi for wider range of values around pi/2.
602         * math/auto-libm-test-in: Add more tests of cos and tan.
603         * math/auto-libm-test-out-cos: Regenerated.
604         * math/auto-libm-test-out-tan: Likewise.
606 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
608         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
609         (RTLD_START): Don't record stack end address in _dl_start_user.
611 2017-03-15  Alexey Neyman  <stilor@att.net>
613         [BZ #21088]
614         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
615         around definitions match those around use.
617 2017-03-15  Alexey Neyman  <stilor@att.net>
619         * configure.ac: Avoid empty subexpression in grep.
620         * configure: Regenerate.
622 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
624         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
625         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
626         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
627         (test_wrp_rv): Fix format.
628         (test_wrp_rv2): New macro.
629         (do_test): Handle mlock return on 64 bits kernels with 32 bits
630         binaries.
632 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
634         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
635         Use a union when storing pointers.
636         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
637         cast result when passing to INIT_VEC_PTRS_LOOP.
638         (VECTOR_WRAPPER_fFF_3): Likewise.
639         (VECTOR_WRAPPER_fFF_4): Likewise.
641 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
643         * include/bits/mathcalls-helper-functions.h: New file.
644         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
645         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
646         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
647         math/bits/mathcalls-helper-functions.h.
648         * math/bits/mathcalls-helper-functions.h: New file.
649         * math/math.h: Include bits/mathcalls-helper-functions.h for
650         float, double, and long double.
652 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
654         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
655         instead of feraiseexcept.
657 2017-03-15  Florian Weimer  <fweimer@redhat.com>
659         [BZ #21243]
660         * support/temp_file.c (support_delete_temp_files): Add comment
661         about ignored errors.
663 2017-03-15  Florian Weimer  <fweimer@redhat.com>
665         [BZ #21244]
666         * support/xclose.c: New file.
667         * support/Makefile (libsupport-routines): Add xclose.
668         * support/xunistd.h (xclose): Declare.
669         * support/resolv_test.c (server_thread_tcp_client)
670         (server_thread_tcp, make_server_sockets, resolv_test_start)
671         (resolv_test_end): Call xclose instead of close.
672         * support/support_enter_network_namespace.c
673         (support_enter_network_namespace): Likewise.
674         * support/support_run_diff.c (write_to_temp_file): Likewise.
676 2017-03-15  Florian Weimer  <fweimer@redhat.com>
678         * support/support_format_dns_packet.c (support_format_dns_packet):
679         Handle CNAME records in the response.  Extract RDATA names from
680         rdata, not the whole packet.  Check AAAA record length.
681         * support/tst-support_format_dns_packet.c: New file.
682         * support/Makefile (tests): Add tst-support_format_dns_packet.
683         (tst-support_format_dns_packet): Link against libresolv.
685 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
687         [BZ #21232]
688         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
689         posix_fadvise64 weak_alias for static build.
691 2017-03-14  Andreas Schwab  <schwab@suse.de>
693         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
694         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
695         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
696         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
697         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
698         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
699         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
700         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
702 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
704         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
705         posix error code.
706         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
708 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
710         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
711         no_isolate usage for SH.
713 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
715         [BZ #15105]
716         [BZ #19463]
717         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
718         * inet/rcmd.c (rcmd_af): Likewise.
719         * inet/rexec.c   (rexec_af): Likewise.
720         * intl/dcigettext.c (_LIBC): Likewise.
721         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
722         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
723         * locale/setlocale.c (setlocale): Likewise.
724         * posix/spawn_faction_addopen.c
725         (posix_spawn_file_actions_addopen): Likewise.
726         * stdlib/putenv.c (putenv): Use __strndup.
727         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
729         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
730         (__Need_M_And_C) Remove define/undef.
731         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
732         (__malloc_and_calloc_defined): Remove define.
733         * string/bits/string2.h (__strdup): Remove define.
734         (strdup): Likewise.
735         (__strndup): Likewise.
736         (strndup): Likewise.
738 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
740         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
741         macro.
742         (IPV6_ADDR_PREFERENCES): Likewise.
743         (IPV6_MINHOPCOUNT): Likewise.
744         (IPV6_ORIGDSTADDR): Likewise.
745         (IPV6_RECVORIGDSTADDR): Likewise.
746         (IPV6_TRANSPARENT): Likewise.
747         (IPV6_UNICAST_IF): Likewise.
748         (IPV6_RECVFRAGSIZE): Likewise.
750 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
752         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
754 2017-03-12  Alexey Neyman <stilor@att.net>
756         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
757         in R_SH_DIR32 case is always false when inlined from
758         dl-conflict.c. Ifdef out to prevent GCC from insertin an
760 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
762         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
763         (__ASSUME_RECV_SYSCALL): Replace duplicate by
764         __ASSUME_SEND_SYSCALL.
766 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
768         * sunrpc/Makefile: don't build and install rpcsvc header
769         files, rpcgen and librpcsvc.a by default.
771 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
773         * math/auto-libm-test-out-catan: Regenerated.
774         * math/auto-libm-test-out-catanh: Likewise.
775         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
777 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
779         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
780         for long double with corrected test expectations.
782 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
784         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
785         Define.
786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
787         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
788         * sysdeps/unix/sysv/linux/nios2/sysdep.h
789         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
790         * sysdeps/unix/sysv/linux/tile/sysdep.h
791         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
793         (__ASSUME_RECV_SYSCALL): Define.
794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
795         (__ASSUME_RECV_SYSCALL): Likewise.
796         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
797         (__ASSUME_RECV_SYSCALL): Likewise.
798         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
799         (__ASSUME_RECV_SYSCALL): Likewise.
800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
801         (__ASSUME_RECV_SYSCALL): Likewise.
802         * sysdeps/unix/sysv/linux/i386/kernel-features.h
803         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
805         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
806         * sysdeps/unix/sysv/linux/s390/kernel-features.h
807         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
808         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
809         auto-generation list.
810         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
811         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
812         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
813         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
814         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
815         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
816         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
817         __ASSUME_SENDTO_SYSCALL.
818         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
819         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
820         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
822         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
823         auto-generation list.
824         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
825         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
826         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
827         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
828         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
829         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
830         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
831         * sysdeps/unix/sysv/linux/kernel-features.h
832         (__ASSUME_SENDTO_SYSCALL): Define by default.
833         * sysdeps/unix/sysv/linux/i386/kernel-features.h
834         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
835         __NR_sendto.
836         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
837         (__ASSUME_SENDTO_SYSCALL): Likewise.
838         * sysdeps/unix/sysv/linux/s390/kernel-features.h
839         (__ASSUME_SENDTO_SYSCALL): Likewise.
840         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
841         (__ASSUME_SENDTO_SYSCALL): Remove definition.
842         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
843         (__ASSUME_SENDTO_SYSCALL): Likewise.
844         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
845         (__ASSUME_SENDTO_SYSCALL): Likewise.
846         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
848         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
849         auto-generation list.
850         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
851         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
852         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
853         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
854         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
855         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
856         (__ASSUME_RECV_SYSCALL): New define.
857         * sysdeps/unix/sysv/linux/arm/kernel-features.h
858         (__ASSUME_RECV_SYSCALL): Likewise.
859         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
860         (__ASSUME_RECV_SYSCALL): Likewise.
861         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
862         (__ASSUME_RECV_SYSCALL): Likewise.
863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
864         (__ASSUME_RECV_SYSCALL): Likewise.
865         * sysdeps/unix/sysv/linux/i386/kernel-features.h
866         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
867         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
868         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
869         * sysdeps/unix/sysv/linux/s390/kernel-features.h
870         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
871         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
872         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
873         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
874         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
875         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
876         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
878         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
879         auto-generation list.
880         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
881         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
882         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
883         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
884         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
885         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
886         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
887         * sysdeps/unix/sysv/linux/i386/kernel-features.h
888         (__ASSUME_RECVFROM_SYSCALL): Define by default.
889         * sysdeps/unix/sysv/linux/kernel-features.h
890         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
891         __NR_recvfrom.
892         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
893         (__ASSUME_RECVFROM_SYSCALL): Likewise.
894         * sysdeps/unix/sysv/linux/s390/kernel-features.h
895         (__ASSUME_RECVFROM_SYSCALL): Likewise.
896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
897         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
898         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
899         (__ASSUME_RECVFROM_SYSCALL): Likewise.
900         * sysdeps/unix/sysv/linux/sh/kernel-features.h
901         (__ASSUME_RECVFROM_SYSCALL): Likewise.
902         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
903         (__ASSUME_RECVFROM_SYSCALL): Likewise.
904         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
906         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
907         auto-generation list.
908         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
909         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
910         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
911         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
912         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
913         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
914         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
915         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
916         * sysdeps/unix/sysv/linux/kernel-features.h
917         (__ASSUME_CONNECT_SYSCALL): Define.
918         * sysdeps/unix/sysv/linux/i386/kernel-features.h
919         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
920         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
921         (__ASSUME_CONNECT_SYSCALL): Likewise.
922         * sysdeps/unix/sysv/linux/s390/kernel-features.h
923         (__ASSUME_CONNECT_SYSCALL): Likewise.
924         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
925         (__ASSUME_CONNECT_SYSCALL): Likewise.
927         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
928         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
929         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
930         auto-generation list.
931         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
932         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
933         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
934         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
935         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
936         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
937         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
938         * sysdeps/unix/sysv/linux/i386/kernel-features.h
939         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
940         (__ASSUME_ACCEPT_SYSCALL): Undefine.
941         * sysdeps/unix/sysv/linux/kernel-features.h
942         (__ASSUME_ACCEPT_SYSCALL): New define.
943         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
944         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
945         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
947         (__ASSUME_ACCEPT_SYSCALL): Define.
948         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
949         (__ASSUME_ACCEPT_SYSCALL): Undefine.
950         * sysdeps/unix/sysv/linux/s390/kernel-features.h
951         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
952         (__ASSUME_ACCEPT_SYSCALL): Undefine.
953         * sysdeps/unix/sysv/linux/sh/kernel-features.h
954         (__ASSUME_ACCEPT_SYSCALL): Undefine.
955         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
956         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
958 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
959             Zack Weinberg  <zackw@panix.com>
961         * posix/test-errno.c: New file.
962         * posix/Makefile (tests): Add test-errno.
963         * sysdeps/unix/sysv/linux/test-errno.c: New file.
964         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
966 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
968         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
970 2017-03-07  Florian Weimer  <fweimer@redhat.com>
972         * time/tzset.c (compute_offset): Open-code min macro.
973         (min, max, sign): Remove.
975 2017-03-07  Florian Weimer  <fweimer@redhat.com>
977         [BZ #15576]
978         Remove TZNAME_MAX limit from sysconf.
979         * include/time.h (__tzname_cur_max, __tzname_max): Remove
980         declaration.
981         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
982         compute_tzname_max.
983         (compute_tzname_max): Remove.
984         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
985         (update_vars): Do not update __tzname_cur_max.
986         (tzset_internal): Remove argument.
987         (__tzset): Adjust call to tzset_internal.
988         (__tz_convert): Likewise.
990         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
991         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
992         * manual/conf.texi (Sysconf Definition): Update comment.
994 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
996         [BZ #21209]
997         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
998         AT_SECURE processes.
999         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1000         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1001         (test_child): Likewise.
1002         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1004 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1006         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1008 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1010         * sysdeps/s390/atomic-machine.h
1011         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1012         (__arch_compare_and_exchange_val_8_acq,
1013         __arch_compare_and_exchange_val_16_acq,
1014         __arch_compare_and_exchange_val_32_acq,
1015         __arch_compare_and_exchange_val_64_acq):
1016         Delete macro.
1017         (atomic_compare_and_exchange_val_acq,
1018         atomic_compare_and_exchange_val_rel,
1019         atomic_compare_and_exchange_bool_acq,
1020         catomic_compare_and_exchange_bool_acq,
1021         atomic_exchange_acq, atomic_exchange_rel,
1022         atomic_exchange_and_add_acq,
1023         atomic_exchange_and_add_rel,
1024         catomic_exchange_and_add, atomic_or_val,
1025         atomic_or, catomic_or, atomic_bit_test_set,
1026         atomic_and_val, atomic_and, catomic_and):
1027         Define macros with help of C11 atomic builtins.
1029 2017-03-03  Justus Winter <justus@gnupg.org>
1031         * sysdeps/mach/hurd/ftruncate64.c: New file.
1032         * sysdeps/mach/hurd/truncate64.c: Likewise.
1034 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1036         * time/tzfile.c (NOID): Do not define.
1037         * time/tzset.c (NOID): Likewise.
1039 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1041         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1043 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1045         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1047 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1049         [BZ #21015]
1050         * manual/install.texi (Configuring and compiling): Document
1051         --enable-bind-now.
1052         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1053         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1054         (format.lds): Likewise.
1055         [bind-now] (LDFLAGS-c.so): Remove.
1056         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1057         be R_X86_64_GLOB_DAT.
1058         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1059         relocation can be R_386_GLOB_DAT.
1060         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1061         relocaiton can be R_ALPHA_GLOB_DAT.
1062         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1064 2017-03-01  Zack Weinberg  <zackw@panix.com>
1066         * include/libc-pointer-arith.h: New file.  Define
1067         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1068         PTR_ALIGN_DOWN here.
1069         * include/libc-internal.h: Definitions of above macros
1070         moved from here.  Don't include libc-diag.h anymore either.
1071         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1072         Don't include libc-internal.h.
1074         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1075         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1076         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1077         * string/strcoll_l.c, sysdeps/nacl/brk.c
1078         * sysdeps/unix/clock_settime.c
1079         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1080         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1081         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1083         Don't include libc-internal.h.
1085         * elf/get-dynamic-info.h, iconv/loop.c
1086         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1087         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1088         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1089         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1090         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1092         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1093         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1094         * sysdeps/ieee754/ldbl-128/k_tanl.c
1095         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1096         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1097         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1098         Include libc-diag.h instead of libc-internal.h.
1100         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1101         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1102         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1103         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1104         * sysdeps/unix/sysv/linux/spawni.c
1105         * sysdeps/x86_64/nptl/tls.h:
1106         Include libc-pointer-arith.h instead of libc-internal.h.
1108         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1109         * sysdeps/x86_64/atomic-machine.h:
1110         Add multiple include guard.
1112         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1113         * string/strcasestr.c: No need to include config.h.
1114         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1115         sys/auxv.h. Don't include sysdep.h.
1116         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1118         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1119         DL_LOOKUP_ADDRESS.
1120         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1121         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1122         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1123         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1124         of ARTIFICIAL_LIMIT.
1125         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1126         declaration of __clone2.
1128 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1130         * scripts/backport-support.sh (latest_commit): New file.
1132 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1134         [BZ #20257]
1135         * inet/Makefile (routines): Add deadline.
1136         (tests-static): Add tst-deadline.
1137         * inet/net-internal.h (struct deadline_current_time)
1138         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1139         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1140         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1141         * inet/deadline.c: New file.
1142         * inet/tst-deadline.c: Likewise.
1143         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1144         tst-udp-timeout, tst-udp-garbage.
1145         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1146         explicitly.
1147         (tst-udp-garbage): Likewise.  Also link against thread library.
1148         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1149         struct layout is part of the ABI.
1150         (clntudp_call): Rework timeout handling.
1151         * sunrpc/tst-udp-garbage.c: New file.
1152         * sunrpc/tst-udp-nonblocking.c: Likewise.
1153         * sunrpc/tst-udp-timeout.c: Likewise.
1155 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1157         [BZ #5010]
1158         * sunrpc/svc.c (svc_is_mapped): Remove.
1159         (svc_unregister): Obtain mapped status while the service is still
1160         registered.
1161         * sunrpc/Makefile [have-thread-library] (tests): Add
1162         tst-svc_register.
1163         (tst-svc_register): Link against libc.so explicitly and the thread
1164         library.
1165         * sunrpc/tst-svc_register.c: New file.
1167 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1169         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1170         * sysdeps/pthread/bits/sigthread.h: Likewise.
1172 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1174         [BZ #21115]
1175         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1176         * sunrpc/Makefile (tests): Add tst-udp-error.
1177         (tst-udp-error): Link against libc.so explicitly.
1178         * sunrpc/tst-udp-error: New file.
1180 2017-02-25  Zack Weinberg  <zackw@panix.com>
1182         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1183         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1185         * sysdeps/generic/math_ldbl.h
1186         * sysdeps/ia64/fpu/math_ldbl.h
1187         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1189         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1190         * sysdeps/powerpc/fpu/math_ldbl.h
1191         * sysdeps/x86_64/fpu/math_ldbl.h:
1192         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1193         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1194         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1195         Add copyright notices.
1197         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1198         Don't use EXTRACT_WORDS64.
1200         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1201         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1202         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1203         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1204         Include math_ldbl.h, not math_private.h.
1206 2017-02-25  Zack Weinberg  <zackw@panix.com>
1208         * include/libc-diag.h: New file.  Define ignore_value,
1209         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1210         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1212         * include/libc-internal.h: Definitions of above macros moved from
1213         here.  Include libc-diag.h.  Add copyright notice.
1215         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1216         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1217         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1218         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1219         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1220         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1221         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1222         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1223         Include libc-diag.h instead of libc-internal.h.
1225         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1226         call to unsetenv (NULL).
1227         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1228         call to pthread_mutexattr_destroy (NULL).
1230 2017-02-25  Zack Weinberg  <zackw@panix.com>
1232         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1233         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1234         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1235         gets was removed from C++ in C++14.
1236         * include/stdio.h: Remove redundant declaration of gets.
1237         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1238         be declared, since we are testing it.
1239         * stdio-common/Makefile (tst-gets.c): Compile with
1240         -Wno-deprecated-declarations.
1241         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1242         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1243         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1244         Compile with -Wno-deprecated-declarations.
1246 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1248         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1249         numbers.
1251 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1253         * resolv/tst-resolv-qtypes.c (domain):
1254         Change type to const pointer to const char.
1256 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1258         * math/Makefile (libm-tests-generated): Remove variable.
1259         (libm-tests-base-normal): New variable.
1260         (libm-tests-base-finite): Likewise.
1261         (libm-tests-base-inline): Likewise.
1262         (libm-tests-base): Likewise.
1263         (libm-tests-normal): Likewise.
1264         (libm-tests-finite): Likewise.
1265         (libm-tests-inline): Likewise.
1266         (libm-tests-vector): Likewise.
1267         (libm-tests): Define in terms of these new variables.
1268         (libm-tests-for-type): New variable.
1269         (libm-tests.o): Move definition.
1270         (tests): Move addition of $(libm-tests).
1271         (generated): Update for new and removed libm test files.
1272         ($(objpfx)libm-test.c): Remove target.
1273         ($(objpfx)libm-have-vector-test.h): Likewise.
1274         (CFLAGS-test-double-vlen2.c): Remove variable.
1275         (CFLAGS-test-double-vlen4.c): Likewise.
1276         (CFLAGS-test-double-vlen8.c): Likewise.
1277         (CFLAGS-test-float-vlen4.c): Likewise.
1278         (CFLAGS-test-float-vlen8.c): Likewise.
1279         (CFLAGS-test-float-vlen16.c): Likewise.
1280         (CFLAGS-test-float.c): Likewise.
1281         (CFLAGS-test-float-finite.c): Likewise.
1282         (CFLAGS-libm-test-support-float.c): Likewise.
1283         (CFLAGS-test-double.c): Likewise.
1284         (CFLAGS-test-double-finite.c): Likewise.
1285         (CFLAGS-libm-test-support-double.c): Likewise.
1286         (CFLAGS-test-ldouble.c): Likewise.
1287         (CFLAGS-test-ldouble-finite.c): Likewise.
1288         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1289         (libm-test-inline-cflags): New variable.
1290         (CFLAGS-test-ifloat.c): Remove variable.
1291         (CFLAGS-test-idouble.c): Likewise.
1292         (CFLAGS-test-ildouble.c): Likewise.
1293         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1294         dependencies.
1295         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1296         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1297         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1298         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1299         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1300         Likewise.
1301         (dependencies on libm-test-support-*.o): Remove.
1302         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1303         rules using iterators.
1304         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1305         Likewise.
1306         ($(objpfx)libm-test-support-$(o).o): Likewise.
1307         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1308         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1309         instead.
1310         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1311         define rule instead.
1312         * math/README.libm-test: Update.
1313         * math/libm-test-acos.inc: Include libm-test-driver.c.
1314         (do_test): New function.
1315         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1316         (do_test): New function.
1317         * math/libm-test-asin.inc: Include libm-test-driver.c.
1318         (do_test): New function.
1319         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1320         (do_test): New function.
1321         * math/libm-test-atan.inc: Include libm-test-driver.c.
1322         (do_test): New function.
1323         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1324         (do_test): New function.
1325         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1326         (do_test): New function.
1327         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1328         (do_test): New function.
1329         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1330         (do_test): New function.
1331         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1332         (do_test): New function.
1333         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1334         (do_test): New function.
1335         * math/libm-test-carg.inc: Include libm-test-driver.c.
1336         (do_test): New function.
1337         * math/libm-test-casin.inc: Include libm-test-driver.c.
1338         (do_test): New function.
1339         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1340         (do_test): New function.
1341         * math/libm-test-catan.inc: Include libm-test-driver.c.
1342         (do_test): New function.
1343         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1344         (do_test): New function.
1345         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1346         (do_test): New function.
1347         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1348         (do_test): New function.
1349         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1350         (do_test): New function.
1351         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1352         (do_test): New function.
1353         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1354         (do_test): New function.
1355         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1356         (do_test): New function.
1357         * math/libm-test-clog.inc: Include libm-test-driver.c.
1358         (do_test): New function.
1359         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1360         (do_test): New function.
1361         * math/libm-test-conj.inc: Include libm-test-driver.c.
1362         (do_test): New function.
1363         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1364         (do_test): New function.
1365         * math/libm-test-cos.inc: Include libm-test-driver.c.
1366         (do_test): New function.
1367         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1368         (do_test): New function.
1369         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1370         (do_test): New function.
1371         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1372         (do_test): New function.
1373         * math/libm-test-creal.inc: Include libm-test-driver.c.
1374         (do_test): New function.
1375         * math/libm-test-csin.inc: Include libm-test-driver.c.
1376         (do_test): New function.
1377         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1378         (do_test): New function.
1379         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1380         (do_test): New function.
1381         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1382         (do_test): New function.
1383         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1384         (do_test): New function.
1385         * math/libm-test-erf.inc: Include libm-test-driver.c.
1386         (do_test): New function.
1387         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1388         (do_test): New function.
1389         * math/libm-test-exp.inc: Include libm-test-driver.c.
1390         (do_test): New function.
1391         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1392         (do_test): New function.
1393         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1394         (do_test): New function.
1395         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1396         (do_test): New function.
1397         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1398         (do_test): New function.
1399         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1400         (do_test): New function.
1401         * math/libm-test-floor.inc: Include libm-test-driver.c.
1402         (do_test): New function.
1403         * math/libm-test-fma.inc: Include libm-test-driver.c.
1404         (do_test): New function.
1405         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1406         (do_test): New function.
1407         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1408         (do_test): New function.
1409         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1410         (do_test): New function.
1411         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1412         (do_test): New function.
1413         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1414         (do_test): New function.
1415         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1416         (do_test): New function.
1417         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1418         (do_test): New function.
1419         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1420         (do_test): New function.
1421         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1422         (do_test): New function.
1423         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1424         (do_test): New function.
1425         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1426         (do_test): New function.
1427         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1428         (do_test): New function.
1429         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1430         (do_test): New function.
1431         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1432         (do_test): New function.
1433         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1434         (do_test): New function.
1435         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1436         (do_test): New function.
1437         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1438         (do_test): New function.
1439         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1440         (do_test): New function.
1441         * math/libm-test-isless.inc: Include libm-test-driver.c.
1442         (do_test): New function.
1443         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1444         (do_test): New function.
1445         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1446         (do_test): New function.
1447         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1448         (do_test): New function.
1449         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1450         (do_test): New function.
1451         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1452         (do_test): New function.
1453         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1454         (do_test): New function.
1455         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1456         (do_test): New function.
1457         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1458         (do_test): New function.
1459         * math/libm-test-j0.inc: Include libm-test-driver.c.
1460         (do_test): New function.
1461         * math/libm-test-j1.inc: Include libm-test-driver.c.
1462         (do_test): New function.
1463         * math/libm-test-jn.inc: Include libm-test-driver.c.
1464         (do_test): New function.
1465         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1466         (do_test): New function.
1467         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1468         (do_test): New function.
1469         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1470         (do_test): New function.
1471         * math/libm-test-llround.inc: Include libm-test-driver.c.
1472         (do_test): New function.
1473         * math/libm-test-log.inc: Include libm-test-driver.c.
1474         (do_test): New function.
1475         * math/libm-test-log10.inc: Include libm-test-driver.c.
1476         (do_test): New function.
1477         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1478         (do_test): New function.
1479         * math/libm-test-log2.inc: Include libm-test-driver.c.
1480         (do_test): New function.
1481         * math/libm-test-logb.inc: Include libm-test-driver.c.
1482         (do_test): New function.
1483         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1484         (do_test): New function.
1485         * math/libm-test-lround.inc: Include libm-test-driver.c.
1486         (do_test): New function.
1487         * math/libm-test-modf.inc: Include libm-test-driver.c.
1488         (do_test): New function.
1489         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1490         (do_test): New function.
1491         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1492         (do_test): New function.
1493         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1494         (do_test): New function.
1495         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1496         (do_test): New function.
1497         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1498         (do_test): New function.
1499         * math/libm-test-pow.inc: Include libm-test-driver.c.
1500         (do_test): New function.
1501         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1502         (do_test): New function.
1503         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1504         (do_test): New function.
1505         * math/libm-test-rint.inc: Include libm-test-driver.c.
1506         (do_test): New function.
1507         * math/libm-test-round.inc: Include libm-test-driver.c.
1508         (do_test): New function.
1509         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1510         (do_test): New function.
1511         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1512         (do_test): New function.
1513         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1514         (do_test): New function.
1515         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1516         (do_test): New function.
1517         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1518         (do_test): New function.
1519         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1520         (do_test): New function.
1521         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1522         (do_test): New function.
1523         * math/libm-test-significand.inc: Include libm-test-driver.c.
1524         (do_test): New function.
1525         * math/libm-test-sin.inc: Include libm-test-driver.c.
1526         (do_test): New function.
1527         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1528         (do_test): New function.
1529         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1530         (do_test): New function.
1531         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1532         (do_test): New function.
1533         * math/libm-test-tan.inc: Include libm-test-driver.c.
1534         (do_test): New function.
1535         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1536         (do_test): New function.
1537         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1538         (do_test): New function.
1539         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1540         (do_test): New function.
1541         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1542         (do_test): New function.
1543         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1544         (do_test): New function.
1545         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1546         (do_test): New function.
1547         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1548         (do_test): New function.
1549         * math/libm-test-y0.inc: Include libm-test-driver.c.
1550         (do_test): New function.
1551         * math/libm-test-y1.inc: Include libm-test-driver.c.
1552         (do_test): New function.
1553         * math/libm-test-yn.inc: Include libm-test-driver.c.
1554         (do_test): New function.
1555         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1556         (HAVE_VECTOR): Remove macro.
1557         (START): Do not call HAVE_VECTOR.
1558         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1559         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1560         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1561         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1562         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1563         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1564         * math/test-math-vector.h (FUNC_TEST): New macro.
1565         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1566         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1567         (double-vlen4-funcs): Likewise.
1568         (double-vlen4-avx2-funcs): Likewise.
1569         (double-vlen8-funcs): Likewise.
1570         (float-vlen4-funcs): Likewise.
1571         (float-vlen8-funcs): Likewise.
1572         (float-vlen8-avx2-funcs): Likewise.
1573         (float-vlen16-funcs): Likewise.
1574         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1575         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1576         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1577         macro.
1578         (TEST_VECTOR_sin): Likewise.
1579         (TEST_VECTOR_sincos): Likewise.
1580         (TEST_VECTOR_log): Likewise.
1581         (TEST_VECTOR_exp): Likewise.
1582         (TEST_VECTOR_pow): Likewise.
1583         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1584         Likewise.
1585         (TEST_VECTOR_sin): Likewise.
1586         (TEST_VECTOR_sincos): Likewise.
1587         (TEST_VECTOR_log): Likewise.
1588         (TEST_VECTOR_exp): Likewise.
1589         (TEST_VECTOR_pow): Likewise.
1590         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1591         Likewise.
1592         (TEST_VECTOR_sinf): Likewise.
1593         (TEST_VECTOR_sincosf): Likewise.
1594         (TEST_VECTOR_logf): Likewise.
1595         (TEST_VECTOR_expf): Likewise.
1596         (TEST_VECTOR_powf): Likewise.
1597         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1598         Likewise.
1599         (TEST_VECTOR_sinf): Likewise.
1600         (TEST_VECTOR_sincosf): Likewise.
1601         (TEST_VECTOR_logf): Likewise.
1602         (TEST_VECTOR_expf): Likewise.
1603         (TEST_VECTOR_powf): Likewise.
1604         * math/gen-libm-have-vector-test.sh: Remove file.
1605         * math/libm-test.inc: Likewise.
1606         * math/libm-test-support-double.c: Likewise.
1607         * math/libm-test-support-float.c: Likewise.
1608         * math/libm-test-support-ldouble.c: Likewise.
1609         * math/test-double-finite.c: Likewise.: Likewise.
1610         * math/test-double.c: Likewise.
1611         * math/test-float-finite.c: Likewise.
1612         * math/test-float.c: Likewise.
1613         * math/test-idouble.c: Likewise.
1614         * math/test-ifloat.c: Likewise.
1615         * math/test-ildouble.c: Likewise.
1616         * math/test-ldouble-finite.c: Likewise.
1617         * math/test-ldouble.c: Likewise.
1618         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1619         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1620         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1621         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1622         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1623         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1624         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1625         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1626         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1627         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1629 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1630            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1632         * math/Makefile: Add wrappers to gen-libm-calls.
1633         * math/w_acos_template.c: New file.
1634         * math/w_acosh_template.c: Likewise.
1635         * math/w_asin_template.c: Likewise.
1636         * math/w_atan2_template.c: Likewise.
1637         * math/w_atanh_template.c: Likewise.
1638         * math/w_cosh_template.c: Likewise.
1639         * math/w_exp10_template.c: Likewise.
1640         * math/w_exp2_template.c: Likewise.
1641         * math/w_exp_template.c: Likewise.
1642         * math/w_fmod_template.c: Likewise.
1643         * math/w_hypot_template.c: Likewise.
1644         * math/w_j0_template.c: Likewise.
1645         * math/w_j1_template.c: Likewise.
1646         * math/w_jn_template.c: Likewise.
1647         * math/w_lgamma_r_template.c: Likewise.
1648         * math/w_lgamma_template.c: Likewise.
1649         * math/w_log10_template.c: Likewise.
1650         * math/w_log2_template.c: Likewise.
1651         * math/w_log_template.c: Likewise.
1652         * math/w_pow_template.c: Likewise.
1653         * math/w_remainder_template.c: Likewise.
1654         * math/w_sinh_template.c: Likewise.
1655         * math/w_sqrt_template.c: Likewise.
1656         * math/w_tgamma_template.c: Likewise.: Likewise.
1657         * sysdeps/generic/math-type-macros-double.h
1658         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1659         the new wrappers.
1660         * sysdeps/generic/math-type-macros-float.h: Likewise.
1661         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1663 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1665         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1666         New enum constant and macro.
1668         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1669         kernel version to 4.10.
1671 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1673         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1675 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1679 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1681         * sysdeps/powerpc/tst-set_ppr.c: New file.
1682         Implement test cases for __ppc_set_ppr_* functions.
1683         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1684         in the list of tests.
1686 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1688         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1689         instead of test-skeleton.c.
1690         (do_test): Replaced pthread_create and pthread_join with
1691         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1692         Removed unneeded status variable.
1693         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1694         instead of test-skeleton.c.
1695         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1697 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1699         [BZ #20313]
1700         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1701         201605L, for Unicode 9.
1703 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1705         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1706         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1707         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1708         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1709         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1710         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1712 2017-02-19  Zack Weinberg  <zackw@panix.com>
1714         * rt/tst-mqueue4.c: Include stdint.h.
1716 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1718         * sysdeps/arm/libm-test-ulps: Update.
1719         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1721         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1723 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1725         [BZ #21029]
1726         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1727         * sysdeps/unix/sysv/linux/i386/Makefile
1728         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1729         (uses-6-syscall-arguments): Remove.
1730         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1731         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1732         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1733         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1734         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1735         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1736         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1737         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1738         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1739         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1740         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1741         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1742         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1743         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1744         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1745         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1746         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1747         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1748         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1749         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1750         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1751         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1752         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1753         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1754         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1755         Likewise.
1756         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1757         Likewise.
1758         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1759         Likewise.
1760         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1761         Likewise.
1762         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1763         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1764         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1765         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1766         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1767         ebp on inline assembly.
1768         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1769         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1770         Set if CAN_USE_REGISTER_ASM_EBP is set.
1772 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1774         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1775         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1777 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1779         * math/auto-libm-test-in: Add tests of catan and catanh.
1780         * math/auto-libm-test-out-catan: New generated file.
1781         * math/auto-libm-test-out-catanh: Likewise.
1782         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1783         Move tests with finite inputs, except divide-by-zero cases, to
1784         auto-libm-test-in.
1785         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1786         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1787         (libm-test-funcs-noauto): Remove catan and catanh.
1788         * sysdeps/i386/fpu/libm-test-ulps: Update.
1789         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1792         * math/auto-libm-test-in: Add tests of casin and casinh.
1793         * math/auto-libm-test-out-casin: New generated file.
1794         * math/auto-libm-test-out-casinh: Likewise.
1795         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1796         Move tests with finite inputs to auto-libm-test-in.
1797         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1798         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1799         (libm-test-funcs-noauto): Remove casin and casinh.
1800         * sysdeps/i386/fpu/libm-test-ulps: Update.
1801         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1804         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1805         * math/auto-libm-test-out-cacos: New generated file.
1806         * math/auto-libm-test-out-cacosh: Likewise.
1807         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1808         Move tests with finite inputs to auto-libm-test-in.
1809         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1810         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1811         (libm-test-funcs-noauto): Remove cacos and cacosh.
1812         * sysdeps/i386/fpu/libm-test-ulps: Update.
1813         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816         Revert:
1817         2017-02-16  Zack Weinberg  <zackw@panix.com>
1819         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1820         Don't include init-arch.h.
1821         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1822         Don't include init-arch.h.
1824 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1826         [BZ #21171]
1827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1828         +Inf and raise divide-by-zero when x is negative.
1829         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1831         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1832         -Inf and raise divide-by-zero when x = +-0.
1833         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1834         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1835         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1836         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1837         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1838         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1839         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1841 2017-02-16  Zack Weinberg  <zackw@panix.com>
1843         * scripts/build-many-glibcs.py (bot_build_mail): If the
1844         bot_config does not contain all of the necessary email-
1845         related settings, just print a warning and continue.
1847 2017-02-16  Zack Weinberg  <zackw@panix.com>
1849         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1850         * dirent/opendir-tst1.c: Include sys/stat.h.
1851         * dirent/tst-fdopendir.c: Include sys/stat.h.
1852         * dirent/tst-fdopendir2.c: Include stdlib.h.
1853         * dirent/tst-scandir.c: Include stdbool.h.
1854         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1855         * elf/tst-tls15.c: Include stdlib.h.
1856         * elf/tst-tls16.c: Include stdlib.h.
1857         * elf/tst-tls17.c: Include stdlib.h.
1858         * elf/tst-tls18.c: Include stdlib.h.
1859         * iconv/tst-iconv6.c: Include endian.h.
1860         * iconvdata/bug-iconv11.c: Include limits.h.
1861         * io/test-utime.c: Include stdint.h.
1862         * io/tst-faccessat.c: Include sys/stat.h.
1863         * io/tst-fchmodat.c: Include sys/stat.h.
1864         * io/tst-fchownat.c: Include sys/stat.h.
1865         * io/tst-fstatat.c: Include sys/stat.h.
1866         * io/tst-futimesat.c: Include sys/stat.h.
1867         * io/tst-linkat.c: Include sys/stat.h.
1868         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1869         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1870         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1871         * io/tst-openat.c: Include stdbool.h.
1872         * io/tst-readlinkat.c: Include sys/stat.h.
1873         * io/tst-renameat.c: Include sys/stat.h.
1874         * io/tst-symlinkat.c: Include sys/stat.h.
1875         * io/tst-unlinkat.c: Include stdbool.h.
1876         * libio/bug-memstream1.c: Include stdlib.h.
1877         * libio/bug-wmemstream1.c: Include stdlib.h.
1878         * libio/tst-fwrite-error.c: Include stdlib.h.
1879         * libio/tst-memstream1.c: Include stdlib.h.
1880         * libio/tst-memstream2.c: Include stdlib.h.
1881         * libio/tst-memstream3.c: Include stdlib.h.
1882         * malloc/tst-interpose-aux.c: Include stdint.h.
1883         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1884         * nptl/tst-basic7.c: Include limits.h.
1885         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1886         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1887         * nptl/tst-cancel4_1.c: Include stddef.h.
1888         * nptl/tst-cancel4_2.c: Include stddef.h.
1889         * nptl/tst-cond16.c: Include limits.h.
1890         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1891         * nptl/tst-cond18.c: Include limits.h.
1892         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1893         * nptl/tst-cond4.c: Include stdint.h.
1894         * nptl/tst-cond6.c: Include stdint.h.
1895         * nptl/tst-stack2.c: Include limits.h.
1896         * nptl/tst-stackguard1.c: Include stddef.h.
1897         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1898         * nptl/tst-tls4moda.c: Include stddef.h.
1899         Don't include stdio.h, unistd.h, or tls.h.
1900         * nptl/tst-tls4modb.c: Include stddef.h.
1901         Don't include stdio.h, unistd.h, or tls.h.
1902         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1903         * posix/tst-getaddrinfo2.c: Include stdio.h.
1904         * posix/tst-getaddrinfo5.c: Include stdio.h.
1905         * posix/tst-pathconf.c: Include sys/stat.h.
1906         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1907         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1908         * posix/tst-regex.c: Include stdint.h.
1909         Don't include spawn.h or spawn_int.h.
1910         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1911         * posix/tst-vfork3.c: Include sys/stat.h.
1912         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1913         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1914         * resolv/tst-resolv-search.c: Include stdlib.h.
1915         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1916         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1917         * stdlib/test-canon.c: Include sys/stat.h.
1918         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1919         * string/test-memchr.c: Include stdint.h.
1920         * string/tst-cmp.c: Include stdint.h.
1921         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1922         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1923         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1924         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1925         Don't include init-arch.h.
1926         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1927         Don't include init-arch.h.
1928         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1929         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1930         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1931         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1932         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1933         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1934         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1935         * time/clocktest.c: Include stdint.h.
1936         * time/tst-posixtz.c: Include stdint.h.
1937         * timezone/tst-timezone.c: Include stdint.h.
1939 2017-02-16  Zack Weinberg  <zackw@panix.com>
1941         * string/string.h [__USE_MISC]: Include strings.h.
1942         (__bzero, bcmp, bcopy, bzero, index, rindex)
1943         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1944         (ffs, ffsl, ffsll): Don't declare.
1945         * string/strings.h: Do not suppress the file if string.h has
1946         already been included.
1947         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1948         annotations.
1949         (index, rindex): Define inline forwarders even if
1950         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1951         (ffs): Use __attribute_const__.
1952         (ffsl, ffsll): Declare here.
1953         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1954         have now been standardized.
1955         * include/string.h (__bzero): Declare here.
1957         * bits/types.h: Move to posix/bits.
1958         * include/bits/types.h: New wrapper.
1960 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1962         * string/bits/string2.h (strcmp): Remove define.
1963         (__strcmp_cg): Likewise.
1964         (strncmp): Likewise.
1966 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1968         * include/string.h: Add __cplusplus check.
1970 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1972         [BZ #21134]
1973         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1974         "divide by zero" exception when the input is zero.
1975         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1976         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1977         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1978         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1979         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1981 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1983         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1984         and include ...
1985         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1986         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1987         to, and include ...
1988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1989         file.
1990         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1991         and include ...
1992         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1993         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1994         and include ...
1995         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1996         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1997         and include ...
1998         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1999         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2000         and include ...
2001         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2002         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2003         to, and include ...
2004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2005         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2006         and include ...
2007         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2009 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2011         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2012         here.
2013         * math/libm-test-support.c (libm_test_init): Do not call
2014         INIT_ARCH_EXT here.
2015         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2016         (main): Call INIT_ARCH_EXT.
2018 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2020         [BZ #21130]
2021         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2022         with the "invalid" exception raised when x is -Inf.
2023         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2025 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2027         * string/bits/string2.h (strchr): Remove define.
2029 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2031         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2032         tst-avx512.
2033         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2034         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2035         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2036         ($(objpfx)tst-sse): New rule.
2037         ($(objpfx)tst-avx): Likewise.
2038         ($(objpfx)tst-avx512): Likewise.
2039         (CFLAGS-tst-avx-aux.c): New.
2040         (CFLAGS-tst-avxmod.c): Likewise.
2041         (CFLAGS-tst-avx512-aux.c): Likewise.
2042         (CFLAGS-tst-avx512mod.c): Likewise.
2043         * sysdeps/x86_64/tst-avx-aux.c: New file.
2044         * sysdeps/x86_64/tst-avx.c: Likewise.
2045         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2046         * sysdeps/x86_64/tst-avx512.c: Likewise.
2047         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2048         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2049         * sysdeps/x86_64/tst-sse.c: Likewise.
2050         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2052 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2054         * math/auto-libm-test-in: Add more tests of csin and csinh.
2055         * math/auto-libm-test-out-csin: Regenerated.
2056         * math/auto-libm-test-out-csinh: Likewise.
2057         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2058         auto-libm-test-in.
2059         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2061 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2063         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2064         libm-compat-calls-auto.
2065         (libm-compat-calls): Likewise.
2066         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2067         w_lgamma_compatF and k_standardF (merged from the items above).
2068         (libm-routines): Use libm-compat-calls, instead of
2069         libm-compat-calls-auto, with type-foreach.
2071 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2073         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2074         macro.
2075         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2076         (CFLAGS-test-ifloat.c): ... this.  Remove
2077         -U__LIBC_INTERNAL_MATH_INLINES.
2078         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2079         (CFLAGS-test-idouble.c): ... this.  Remove
2080         -U__LIBC_INTERNAL_MATH_INLINES.
2081         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2082         (CFLAGS-test-ildouble.c): ... this.  Remove
2083         -U__LIBC_INTERNAL_MATH_INLINES.
2085 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2087         * math/libm-test-support.c: New file.  Content from
2088         math/libm-test-driver.c.
2089         * math/libm-test-support.h: Likewise.
2090         * math/libm-test-support-double.c: New file.
2091         * math/libm-test-support-float.c: Likewise.
2092         * math/libm-test-support-ldouble.c: Likewise.
2093         * math/libm-test-driver.c: Remove main comment and header
2094         includes.  Include libm-test-support.h.
2095         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2096         (flag_test_errno): Remove static.
2097         (flag_test_exceptions): Likewise.
2098         (flag_test_finite): Likewise.
2099         (flag_test_inline): Likewise.
2100         (flag_test_mathvec): Likewise.
2101         (test_msg): Likewise.
2102         (NO_EXCEPTION): Remove.
2103         (INVALID_EXCEPTION): Likewise.
2104         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2105         (OVERFLOW_EXCEPTION): Likewise.
2106         (UNDERFLOW_EXCEPTION): Likewise.
2107         (INEXACT_EXCEPTION): Likewise.
2108         (INVALID_EXCEPTION_OK): Likewise.
2109         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2110         (OVERFLOW_EXCEPTION_OK): Likewise.
2111         (UNDERFLOW_EXCEPTION_OK): Likewise.
2112         (NO_INEXACT_EXCEPTION): Likewise.
2113         (EXCEPTIONS_OK): Likewise.
2114         (IGNORE_ZERO_INF_SIGN): Likewise.
2115         (TEST_NAN_SIGN): Likewise.
2116         (TEST_NAN_PAYLOAD): Likewise.
2117         (NO_TEST_INLINE): Likewise.
2118         (XFAIL_TEST): Likewise.
2119         (ERRNO_UNCHANGED): Likewise.
2120         (ERRNO_EDOM): Likewise.
2121         (ERRNO_ERANGE): Likewise.
2122         (IGNORE_RESULT): Likewise.
2123         (NON_FINITE): Likewise.
2124         (TEST_SNAN): Likewise.
2125         (NO_TEST_MATHVEC): Likewise.
2126         (__CONCATX): Likewise.
2127         (TYPE_MIN): Likewise.
2128         (TYPE_TRUE_MIN): Likewise.
2129         (TYPE_MAX): Likewise.
2130         (MIN_EXP): Likewise.
2131         (MAX_EXP): Likewise.
2132         (MANT_DIG): Likewise.
2133         (FSTR_MAX): Likewise.
2134         (ulp_idx): Likewise.
2135         (qtype_str): Remove static.
2136         (TEST_COND_binary32): Remove.
2137         (TEST_COND_binary64): Likewise.
2138         (TEST_COND_binary128): Likewise.
2139         (TEST_COND_ibm128): Likewise.
2140         (TEST_COND_intel96): Likewise.
2141         (TEST_COND_m68k96): Likewise.
2142         (TEST_COND_ibm128_libgcc): Likewise.
2143         (XFAIL_IBM128_LIBGCC): Likewise.
2144         (PAYLOAD_DIG): Likewise.
2145         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2146         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2147         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2148         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2149         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2150         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2151         (TEST_COND_long32): Likewise.
2152         (TEST_COND_long64): Likewise.
2153         (TEST_COND_before_rounding): Likewise.
2154         (TEST_COND_after_rounding): Likewise.
2155         (ulps_file_name): Likewise.
2156         (ulps_file): Likewise.
2157         (output_ulps): Likewise.
2158         (output_dir): Likewise.
2159         (noErrors): Likewise.
2160         (noTests): Likewise.
2161         (noExcTests): Likewise.
2162         (noErrnoTests): Likewise.
2163         (verbose): Likewise.
2164         (output_max_error): Likewise.
2165         (output_points): Likewise.
2166         (ignore_max_ulp): Likewise.
2167         (max_error): Likewise.
2168         (real_max_error): Likewise.
2169         (imag_max_error): Likewise.
2170         (prev_max_error): Likewise.
2171         (prev_real_max_error): Likewise.
2172         (prev_imag_max_error): Likewise.
2173         (max_valid_error): Likewise.
2174         (TYPE_DECIMAL_DIG): Likewise.
2175         (TYPE_HEX_DIG): Likewise.
2176         (fmt_ftostr): Likewise.
2177         (compare_ulp_data): Likewise.
2178         (find_ulps): Likewise.
2179         (init_max_error): Likewise.
2180         (set_max_error): Likewise.
2181         (print_float): Likewise.
2182         (print_screen): Likewise.
2183         (print_screen_max_error): Likewise.
2184         (update_stats): Likewise.
2185         (print_function_ulps): Likewise.
2186         (print_complex_function_ulps): Likewise.
2187         (fpstack_test): Likewise.
2188         (print_max_error): Likewise.
2189         (print_complex_max_error): Likewise.
2190         (test_single_exception): Likewise.
2191         (test_exceptions): Likewise.
2192         (test_single_errno): Likewise.
2193         (test_errno): Likewise.
2194         (ULPDIFF): Likewise.
2195         (ulp): Likewise.
2196         (check_float_internal): Likewise.
2197         (check_float): Likewise.
2198         (check_complex): Likewise.
2199         (check_int): Likewise.
2200         (check_long): Likewise.
2201         (check_bool): Likewise.
2202         (check_longlong): Likewise.
2203         (check_intmax_t): Likewise.
2204         (check_uintmax_t): Likewise.
2205         (enable_test): Likewise.
2206         (matherr): Likewise.
2207         (initialize): Likewise.
2208         (options): Likewise.
2209         (doc): Remove static.
2210         (argp): Likewise.
2211         (parse_opt): Remove.
2212         (check_ulp): Likewise.
2213         (libm_test_init): Likewise.
2214         (libm_test_finish): Likewise.
2215         * math/Makefile (libm-test-support): New variable.
2216         (test-extras): Add libm-test-support files.
2217         (extra-test-objs): Likewise.
2218         (CFLAGS-libm-test-support-float.c): New variable.
2219         (CFLAGS-libm-test-support-double.c): Likewise.
2220         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2221         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2222         libm-test-support objects.
2224 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2226         * math/Makefile (libm-calls): Move w_exp...
2227         (libm-compat-calls-auto): Here.
2229         * math/w_expl.c: Add suffix "_compat" to filename.
2230         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2231         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2232         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2233         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2234         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2235         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2236         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2237         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2239         * math/w_expl_compat.c: New file, copied from above.
2240         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2241         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2242         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2243         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2244         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2245         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2246         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2247         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2249         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2250         to filename.
2251         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2253         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2254         copied from above and adjusted for the new filenames.
2255         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2257 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2259         * math/Makefile (libm-calls): Move w_lgammaF...
2260         (libm-compat-calls-auto): Here.
2262         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2263         * math/w_lgammaf.c: Likewise.
2264         * math/w_lgammal.c: Likewise.
2266         * math/w_lgamma_compat2.c: New file, copied from above.
2267         * math/w_lgammaf_compat2.c: Likewise.
2268         * math/w_lgammal_compat2.c: Likewise.
2270 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2272         * math/Makefile (libm-calls): Move w_lgammaF_r...
2273         (libm-compat-calls-auto): Here.
2275         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2276         * math/w_lgammaf_r.c: Likewise.
2277         * math/w_lgammal_r.c: Likewise.
2278         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2279         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2280         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2282         * math/w_lgamma_r_compat.c: New file, copied from above.
2283         * math/w_lgammaf_r_compat.c: Likewise.
2284         * math/w_lgammal_r_compat.c: Likewise.
2285         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2286         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2287         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2289         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2290         to filename.
2291         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2293         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2294         copied from above and adjusted for the new filenames.
2295         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2297 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2300         calculation in SYSCALL_ERROR_HANDLER().
2302 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2304         * manual/contrib.texi: Fix typo.
2306 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2308         [BZ #21109]
2309         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2310         tunable_val_t as argument.
2311         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2312         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2313         argument.
2314         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2316 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2318         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2319         Add PTRACE_EVENT_STOP.
2320         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2321         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2322         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2323         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2324         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2325         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2327 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2329         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2330         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2331         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2332         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2333         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2334         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2335         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2336         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2337         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2338         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2340         [BZ #21112]
2341         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2342         12 bits zero.
2343         (cp_l): Update for new value of cp_h.
2344         * math/auto-libm-test-in: Add another test of pow.
2345         * math/auto-libm-test-out-pow: Regenerated.
2347 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2349         * manual/contrib.texi: Fix typo.
2351 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2353         [BZ #15998]
2354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2355         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2358 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2360         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2361         STRCHR as __strchr_power8.
2362         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2363         strlen as __strlen_power8.
2365 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2367         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2368         unaligned load for shorter strings.
2369         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2371 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2373         * math/libm-test-driver.c (flag_test_errno): New variable.
2374         (flag_test_exceptions): Likewise.
2375         (flag_test_finite): Likewise.
2376         (flag_test_inline): Likewise.
2377         (flag_test_mathvec): Likewise.
2378         (test_msg): Likewise.
2379         (ulp_idx): Likewise.
2380         (qtype_str): Likewise.
2381         (ULP_IDX): Remove macro.
2382         (QTYPE_STR): Likewise.
2383         (find_ulps): Use ulp_idx not ULP_IDX.
2384         (print_function_ulps): Use qtype_str, printed with %s, not
2385         QTYPE_STR, printed with concatentation to format string.
2386         (print_complex_function_ulps): Likewise.
2387         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2388         (test_errno): Use flag_test_errno not TEST_ERRNO.
2389         (enable_test): Use flag_test_inline, flag_test_finite and
2390         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2391         TEST_MATHVEC.
2392         (libm_test_init): New function.  Factored out of main.
2393         (libm_test_finish): Likewise.
2394         (main): Call libm_test_init and libm_test_finish and move most
2395         code to those functions.
2397         * math/libm-test-driver.c (STRX): New macro.
2398         (STR): Likewise.
2399         (STR_FLOAT): Likewise.
2400         (STR_VEC_LEN): Likewise.
2401         (TEST_MSG): Likewise.  Define here instead of expecting to be
2402         defined by including file.
2403         * math/test-double-finite.c (TEST_MSG): Remove macro.
2404         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2405         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2406         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2407         * math/test-double.c (TEST_MSG): Likewise.
2408         * math/test-float-finite.c (TEST_MSG): Likewise.
2409         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2410         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2411         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2412         * math/test-float.c (TEST_MSG): Likewise.
2413         * math/test-idouble.c (TEST_MSG): Likewise.
2414         * math/test-ifloat.c (TEST_MSG): Likewise.
2415         * math/test-ildouble.c (TEST_MSG): Likewise.
2416         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2417         * math/test-ldouble.c (TEST_MSG): Likewise.
2419         * math/libm-test.inc: Move all tests of individual functions to
2420         libm-test-*.inc and #include libm-test-*.c files.
2421         (acos_test_data): Remove.
2422         (acos_test): Likewise.
2423         (acosh_test_data): Likewise.
2424         (acosh_test): Likewise.
2425         (asin_test_data): Likewise.
2426         (asin_test): Likewise.
2427         (asinh_test_data): Likewise.
2428         (asinh_test): Likewise.
2429         (atan_test_data): Likewise.
2430         (atan_test): Likewise.
2431         (atanh_test_data): Likewise.
2432         (atanh_test): Likewise.
2433         (atan2_test_data): Likewise.
2434         (atan2_test): Likewise.
2435         (cabs_test_data): Likewise.
2436         (cabs_test): Likewise.
2437         (cacos_test_data): Likewise.
2438         (cacos_test): Likewise.
2439         (cacosh_test_data): Likewise.
2440         (cacosh_test): Likewise.
2441         (canonicalize_test_data): Likewise.
2442         (canonicalize_test): Likewise.
2443         (carg_test_data): Likewise.
2444         (carg_test): Likewise.
2445         (casin_test_data): Likewise.
2446         (casin_test): Likewise.
2447         (casinh_test_data): Likewise.
2448         (casinh_test): Likewise.
2449         (catan_test_data): Likewise.
2450         (catan_test): Likewise.
2451         (catanh_test_data): Likewise.
2452         (catanh_test): Likewise.
2453         (cbrt_test_data): Likewise.
2454         (cbrt_test): Likewise.
2455         (ccos_test_data): Likewise.
2456         (ccos_test): Likewise.
2457         (ccosh_test_data): Likewise.
2458         (ccosh_test): Likewise.
2459         (ceil_test_data): Likewise.
2460         (ceil_test): Likewise.
2461         (cexp_test_data): Likewise.
2462         (cexp_test): Likewise.
2463         (cimag_test_data): Likewise.
2464         (cimag_test): Likewise.
2465         (clog_test_data): Likewise.
2466         (clog_test): Likewise.
2467         (clog10_test_data): Likewise.
2468         (clog10_test): Likewise.
2469         (conj_test_data): Likewise.
2470         (conj_test): Likewise.
2471         (copysign_test_data): Likewise.
2472         (copysign_test): Likewise.
2473         (cos_test_data): Likewise.
2474         (cos_test): Likewise.
2475         (cosh_test_data): Likewise.
2476         (cosh_test): Likewise.
2477         (cpow_test_data): Likewise.
2478         (cpow_test): Likewise.
2479         (cproj_test_data): Likewise.
2480         (cproj_test): Likewise.
2481         (creal_test_data): Likewise.
2482         (creal_test): Likewise.
2483         (csin_test_data): Likewise.
2484         (csin_test): Likewise.
2485         (csinh_test_data): Likewise.
2486         (csinh_test): Likewise.
2487         (csqrt_test_data): Likewise.
2488         (csqrt_test): Likewise.
2489         (ctan_test_data): Likewise.
2490         (ctan_test): Likewise.
2491         (ctanh_test_data): Likewise.
2492         (ctanh_test): Likewise.
2493         (erf_test_data): Likewise.
2494         (erf_test): Likewise.
2495         (erfc_test_data): Likewise.
2496         (erfc_test): Likewise.
2497         (exp_test_data): Likewise.
2498         (exp_test): Likewise.
2499         (exp10_test_data): Likewise.
2500         (exp10_test): Likewise.
2501         (pow10_test): Likewise.
2502         (exp2_test_data): Likewise.
2503         (exp2_test): Likewise.
2504         (expm1_test_data): Likewise.
2505         (expm1_test): Likewise.
2506         (fabs_test_data): Likewise.
2507         (fabs_test): Likewise.
2508         (fdim_test_data): Likewise.
2509         (fdim_test): Likewise.
2510         (floor_test_data): Likewise.
2511         (floor_test): Likewise.
2512         (fma_test_data): Likewise.
2513         (fma_test): Likewise.
2514         (fmax_test_data): Likewise.
2515         (fmax_test): Likewise.
2516         (fmaxmag_test_data): Likewise.
2517         (fmaxmag_test): Likewise.
2518         (fmin_test_data): Likewise.
2519         (fmin_test): Likewise.
2520         (fminmag_test_data): Likewise.
2521         (fminmag_test): Likewise.
2522         (fmod_test_data): Likewise.
2523         (fmod_test): Likewise.
2524         (fpclassify_test_data): Likewise.
2525         (fpclassify_test): Likewise.
2526         (frexp_test_data): Likewise.
2527         (frexp_test): Likewise.
2528         (fromfp_test_data): Likewise.
2529         (fromfp_test): Likewise.
2530         (fromfpx_test_data): Likewise.
2531         (fromfpx_test): Likewise.
2532         (getpayload_test_data): Likewise.
2533         (getpayload_test): Likewise.
2534         (hypot_test_data): Likewise.
2535         (hypot_test): Likewise.
2536         (ilogb_test_data): Likewise.
2537         (ilogb_test): Likewise.
2538         (iscanonical_test_data): Likewise.
2539         (iscanonical_test): Likewise.
2540         (iseqsig_test_data): Likewise.
2541         (iseqsig_test): Likewise.
2542         (isfinite_test_data): Likewise.
2543         (isfinite_test): Likewise.
2544         (finite_test): Likewise.
2545         (isgreater_test_data): Likewise.
2546         (isgreater_test): Likewise.
2547         (isgreaterequal_test_data): Likewise.
2548         (isgreaterequal_test): Likewise.
2549         (isinf_test_data): Likewise.
2550         (isinf_test): Likewise.
2551         (isless_test_data): Likewise.
2552         (isless_test): Likewise.
2553         (islessequal_test_data): Likewise.
2554         (islessequal_test): Likewise.
2555         (islessgreater_test_data): Likewise.
2556         (islessgreater_test): Likewise.
2557         (isnan_test_data): Likewise.
2558         (isnan_test): Likewise.
2559         (isnormal_test_data): Likewise.
2560         (isnormal_test): Likewise.
2561         (issignaling_test_data): Likewise.
2562         (issignaling_test): Likewise.
2563         (issubnormal_test_data): Likewise.
2564         (issubnormal_test): Likewise.
2565         (isunordered_test_data): Likewise.
2566         (isunordered_test): Likewise.
2567         (iszero_test_data): Likewise.
2568         (iszero_test): Likewise.
2569         (j0_test_data): Likewise.
2570         (j0_test): Likewise.
2571         (j1_test_data): Likewise.
2572         (j1_test): Likewise.
2573         (jn_test_data): Likewise.
2574         (jn_test): Likewise.
2575         (lgamma_test_data): Likewise.
2576         (lgamma_test): Likewise.
2577         (gamma_test): Likewise.
2578         (llogb_test_data): Likewise.
2579         (llogb_test): Likewise.
2580         (lrint_test_data): Likewise.
2581         (lrint_test): Likewise.
2582         (llrint_test_data): Likewise.
2583         (llrint_test): Likewise.
2584         (log_test_data): Likewise.
2585         (log_test): Likewise.
2586         (log10_test_data): Likewise.
2587         (log10_test): Likewise.
2588         (log1p_test_data): Likewise.
2589         (log1p_test): Likewise.
2590         (log2_test_data): Likewise.
2591         (log2_test): Likewise.
2592         (logb_test_data): Likewise.
2593         (logb_test): Likewise.
2594         (lround_test_data): Likewise.
2595         (lround_test): Likewise.
2596         (llround_test_data): Likewise.
2597         (llround_test): Likewise.
2598         (modf_test_data): Likewise.
2599         (modf_test): Likewise.
2600         (nearbyint_test_data): Likewise.
2601         (nearbyint_test): Likewise.
2602         (nextafter_test_data): Likewise.
2603         (nextafter_test): Likewise.
2604         (nextup_test_data): Likewise.
2605         (nextup_test): Likewise.
2606         (nextdown_test_data): Likewise.
2607         (nextdown_test): Likewise.
2608         (nexttoward_test_data): Likewise.
2609         (nexttoward_test): Likewise.
2610         (pow_test_data): Likewise.
2611         (pow_test): Likewise.
2612         (remainder_test_data): Likewise.
2613         (remainder_test): Likewise.
2614         (drem_test): Likewise.
2615         (remquo_test_data): Likewise.
2616         (remquo_test): Likewise.
2617         (rint_test_data): Likewise.
2618         (rint_test): Likewise.
2619         (round_test_data): Likewise.
2620         (round_test): Likewise.
2621         (roundeven_test_data): Likewise.
2622         (roundeven_test): Likewise.
2623         (scalb_test_data): Likewise.
2624         (scalb_test): Likewise.
2625         (scalbn_test_data): Likewise.
2626         (scalbn_test): Likewise.
2627         (ldexp_test): Likewise.
2628         (scalbln_test_data): Likewise.
2629         (scalbln_test): Likewise.
2630         (setpayload_test_data): Likewise.
2631         (setpayload_test): Likewise.
2632         (setpayloadsig_test_data): Likewise.
2633         (setpayloadsig_test): Likewise.
2634         (signbit_test_data): Likewise.
2635         (signbit_test): Likewise.
2636         (sin_test_data): Likewise.
2637         (sin_test): Likewise.
2638         (sincos_test_data): Likewise.
2639         (sincos_test): Likewise.
2640         (sinh_test_data): Likewise.
2641         (sinh_test): Likewise.
2642         (sqrt_test_data): Likewise.
2643         (sqrt_test): Likewise.
2644         (tan_test_data): Likewise.
2645         (tan_test): Likewise.
2646         (tanh_test_data): Likewise.
2647         (tanh_test): Likewise.
2648         (tgamma_test_data): Likewise.
2649         (tgamma_test): Likewise.
2650         (totalorder_test_data): Likewise.
2651         (totalorder_test): Likewise.
2652         (totalordermag_test_data): Likewise.
2653         (totalordermag_test): Likewise.
2654         (trunc_test_data): Likewise.
2655         (trunc_test): Likewise.
2656         (ufromfp_test_data): Likewise.
2657         (ufromfp_test): Likewise.
2658         (ufromfpx_test_data): Likewise.
2659         (ufromfpx_test): Likewise.
2660         (y0_test_data): Likewise.
2661         (y0_test): Likewise.
2662         (y1_test_data): Likewise.
2663         (y1_test): Likewise.
2664         (yn_test_data): Likewise.
2665         (yn_test): Likewise.
2666         (significand_test_data): Likewise.
2667         (significand_test): Likewise.
2668         * math/Makefile (auto-libm-test-out-files): Remove variable.
2669         (libm-test-funcs-noauto): New variable.
2670         (libm-test-funcs-all): Likewise.
2671         (libm-test-c-auto): Likewise.
2672         (libm-test-c-noauto): Likewise.
2673         (libm-tests-generated): Add $(libm-test-c-auto) and
2674         $(libm-test-c-noauto).
2675         (generated): Do not add auto-libm-test-out.
2676         (libm-test-c-auto-obj): New variable.
2677         (libm-test-c-noauto-obj): Likewise.
2678         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2679         ($(libm-test-c-noauto-obj)): New static pattern rule.
2680         ($(libm-test-c-auto-obj)): Likewise.
2681         (libm-test-incs): New variable.
2682         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2683         and pass it to gen-libm-have-vector-test.sh.
2684         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2685         be passed on command line.
2686         * math/libm-test-acos.inc: New file.  Content from
2687         math/libm-test.inc.
2688         * math/libm-test-acosh.inc: Likewise.
2689         * math/libm-test-asin.inc: Likewise.
2690         * math/libm-test-asinh.inc: Likewise.
2691         * math/libm-test-atan.inc: Likewise.
2692         * math/libm-test-atan2.inc: Likewise.
2693         * math/libm-test-atanh.inc: Likewise.
2694         * math/libm-test-cabs.inc: Likewise.
2695         * math/libm-test-cacos.inc: Likewise.
2696         * math/libm-test-cacosh.inc: Likewise.
2697         * math/libm-test-canonicalize.inc: Likewise.
2698         * math/libm-test-carg.inc: Likewise.
2699         * math/libm-test-casin.inc: Likewise.
2700         * math/libm-test-casinh.inc: Likewise.
2701         * math/libm-test-catan.inc: Likewise.
2702         * math/libm-test-catanh.inc: Likewise.
2703         * math/libm-test-cbrt.inc: Likewise.
2704         * math/libm-test-ccos.inc: Likewise.
2705         * math/libm-test-ccosh.inc: Likewise.
2706         * math/libm-test-ceil.inc: Likewise.
2707         * math/libm-test-cexp.inc: Likewise.
2708         * math/libm-test-cimag.inc: Likewise.
2709         * math/libm-test-clog.inc: Likewise.
2710         * math/libm-test-clog10.inc: Likewise.
2711         * math/libm-test-conj.inc: Likewise.
2712         * math/libm-test-copysign.inc: Likewise.
2713         * math/libm-test-cos.inc: Likewise.
2714         * math/libm-test-cosh.inc: Likewise.
2715         * math/libm-test-cpow.inc: Likewise.
2716         * math/libm-test-cproj.inc: Likewise.
2717         * math/libm-test-creal.inc: Likewise.
2718         * math/libm-test-csin.inc: Likewise.
2719         * math/libm-test-csinh.inc: Likewise.
2720         * math/libm-test-csqrt.inc: Likewise.
2721         * math/libm-test-ctan.inc: Likewise.
2722         * math/libm-test-ctanh.inc: Likewise.
2723         * math/libm-test-erf.inc: Likewise.
2724         * math/libm-test-erfc.inc: Likewise.
2725         * math/libm-test-exp.inc: Likewise.
2726         * math/libm-test-exp10.inc: Likewise.
2727         * math/libm-test-exp2.inc: Likewise.
2728         * math/libm-test-expm1.inc: Likewise.
2729         * math/libm-test-fabs.inc: Likewise.
2730         * math/libm-test-fdim.inc: Likewise.
2731         * math/libm-test-floor.inc: Likewise.
2732         * math/libm-test-fma.inc: Likewise.
2733         * math/libm-test-fmax.inc: Likewise.
2734         * math/libm-test-fmaxmag.inc: Likewise.
2735         * math/libm-test-fmin.inc: Likewise.
2736         * math/libm-test-fminmag.inc: Likewise.
2737         * math/libm-test-fmod.inc: Likewise.
2738         * math/libm-test-fpclassify.inc: Likewise.
2739         * math/libm-test-frexp.inc: Likewise.
2740         * math/libm-test-fromfp.inc: Likewise.
2741         * math/libm-test-fromfpx.inc: Likewise.
2742         * math/libm-test-getpayload.inc: Likewise.
2743         * math/libm-test-hypot.inc: Likewise.
2744         * math/libm-test-ilogb.inc: Likewise.
2745         * math/libm-test-iscanonical.inc: Likewise.
2746         * math/libm-test-iseqsig.inc: Likewise.
2747         * math/libm-test-isfinite.inc: Likewise.
2748         * math/libm-test-isgreater.inc: Likewise.
2749         * math/libm-test-isgreaterequal.inc: Likewise.
2750         * math/libm-test-isinf.inc: Likewise.
2751         * math/libm-test-isless.inc: Likewise.
2752         * math/libm-test-islessequal.inc: Likewise.
2753         * math/libm-test-islessgreater.inc: Likewise.
2754         * math/libm-test-isnan.inc: Likewise.
2755         * math/libm-test-isnormal.inc: Likewise.
2756         * math/libm-test-issignaling.inc: Likewise.
2757         * math/libm-test-issubnormal.inc: Likewise.
2758         * math/libm-test-isunordered.inc: Likewise.
2759         * math/libm-test-iszero.inc: Likewise.
2760         * math/libm-test-j0.inc: Likewise.
2761         * math/libm-test-j1.inc: Likewise.
2762         * math/libm-test-jn.inc: Likewise.
2763         * math/libm-test-lgamma.inc: Likewise.
2764         * math/libm-test-llogb.inc: Likewise.
2765         * math/libm-test-llrint.inc: Likewise.
2766         * math/libm-test-llround.inc: Likewise.
2767         * math/libm-test-log.inc: Likewise.
2768         * math/libm-test-log10.inc: Likewise.
2769         * math/libm-test-log1p.inc: Likewise.
2770         * math/libm-test-log2.inc: Likewise.
2771         * math/libm-test-logb.inc: Likewise.
2772         * math/libm-test-lrint.inc: Likewise.
2773         * math/libm-test-lround.inc: Likewise.
2774         * math/libm-test-modf.inc: Likewise.
2775         * math/libm-test-nearbyint.inc: Likewise.
2776         * math/libm-test-nextafter.inc: Likewise.
2777         * math/libm-test-nextdown.inc: Likewise.
2778         * math/libm-test-nexttoward.inc: Likewise.
2779         * math/libm-test-nextup.inc: Likewise.
2780         * math/libm-test-pow.inc: Likewise.
2781         * math/libm-test-remainder.inc: Likewise.
2782         * math/libm-test-remquo.inc: Likewise.
2783         * math/libm-test-rint.inc: Likewise.
2784         * math/libm-test-round.inc: Likewise.
2785         * math/libm-test-roundeven.inc: Likewise.
2786         * math/libm-test-scalb.inc: Likewise.
2787         * math/libm-test-scalbln.inc: Likewise.
2788         * math/libm-test-scalbn.inc: Likewise.
2789         * math/libm-test-setpayload.inc: Likewise.
2790         * math/libm-test-setpayloadsig.inc: Likewise.
2791         * math/libm-test-signbit.inc: Likewise.
2792         * math/libm-test-significand.inc: Likewise.
2793         * math/libm-test-sin.inc: Likewise.
2794         * math/libm-test-sincos.inc: Likewise.
2795         * math/libm-test-sinh.inc: Likewise.
2796         * math/libm-test-sqrt.inc: Likewise.
2797         * math/libm-test-tan.inc: Likewise.
2798         * math/libm-test-tanh.inc: Likewise.
2799         * math/libm-test-tgamma.inc: Likewise.
2800         * math/libm-test-totalorder.inc: Likewise.
2801         * math/libm-test-totalordermag.inc: Likewise.
2802         * math/libm-test-trunc.inc: Likewise.
2803         * math/libm-test-ufromfp.inc: Likewise.
2804         * math/libm-test-ufromfpx.inc: Likewise.
2805         * math/libm-test-y0.inc: Likewise.
2806         * math/libm-test-y1.inc: Likewise.
2807         * math/libm-test-yn.inc: Likewise.
2808         * math/README.libm-test: Update.
2810         * math/gen-auto-libm-tests.c: Update comment about use of program.
2811         (generate_output): Add argument FUNCTION.
2812         (main): Require extra argument.  Pass function name to
2813         generate_output.
2814         * math/Makefile (generated): Add auto-libm-test-out.
2815         (libm-test-funcs-auto): New variable.
2816         (auto-libm-test-out-files): New variable.
2817         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2818         Concatenate those files to form $(objpfx)auto-libm-test-out and
2819         use it as input to gen-libm-test.pl.
2820         * math/README.libm-test: Update.
2821         * math/auto-libm-test-out: Remove.
2822         * math/auto-libm-test-out-acos: New generated file.
2823         * math/auto-libm-test-out-acosh: Likewise.
2824         * math/auto-libm-test-out-asin: Likewise.
2825         * math/auto-libm-test-out-asinh: Likewise.
2826         * math/auto-libm-test-out-atan: Likewise.
2827         * math/auto-libm-test-out-atan2: Likewise.
2828         * math/auto-libm-test-out-atanh: Likewise.
2829         * math/auto-libm-test-out-cabs: Likewise.
2830         * math/auto-libm-test-out-carg: Likewise.
2831         * math/auto-libm-test-out-cbrt: Likewise.
2832         * math/auto-libm-test-out-ccos: Likewise.
2833         * math/auto-libm-test-out-ccosh: Likewise.
2834         * math/auto-libm-test-out-cexp: Likewise.
2835         * math/auto-libm-test-out-clog: Likewise.
2836         * math/auto-libm-test-out-clog10: Likewise.
2837         * math/auto-libm-test-out-cos: Likewise.
2838         * math/auto-libm-test-out-cosh: Likewise.
2839         * math/auto-libm-test-out-cpow: Likewise.
2840         * math/auto-libm-test-out-csin: Likewise.
2841         * math/auto-libm-test-out-csinh: Likewise.
2842         * math/auto-libm-test-out-csqrt: Likewise.
2843         * math/auto-libm-test-out-ctan: Likewise.
2844         * math/auto-libm-test-out-ctanh: Likewise.
2845         * math/auto-libm-test-out-erf: Likewise.
2846         * math/auto-libm-test-out-erfc: Likewise.
2847         * math/auto-libm-test-out-exp: Likewise.
2848         * math/auto-libm-test-out-exp10: Likewise.
2849         * math/auto-libm-test-out-exp2: Likewise.
2850         * math/auto-libm-test-out-expm1: Likewise.
2851         * math/auto-libm-test-out-fma: Likewise.
2852         * math/auto-libm-test-out-hypot: Likewise.
2853         * math/auto-libm-test-out-j0: Likewise.
2854         * math/auto-libm-test-out-j1: Likewise.
2855         * math/auto-libm-test-out-jn: Likewise.
2856         * math/auto-libm-test-out-lgamma: Likewise.
2857         * math/auto-libm-test-out-log: Likewise.
2858         * math/auto-libm-test-out-log10: Likewise.
2859         * math/auto-libm-test-out-log1p: Likewise.
2860         * math/auto-libm-test-out-log2: Likewise.
2861         * math/auto-libm-test-out-pow: Likewise.
2862         * math/auto-libm-test-out-sin: Likewise.
2863         * math/auto-libm-test-out-sincos: Likewise.
2864         * math/auto-libm-test-out-sinh: Likewise.
2865         * math/auto-libm-test-out-sqrt: Likewise.
2866         * math/auto-libm-test-out-tan: Likewise.
2867         * math/auto-libm-test-out-tanh: Likewise.
2868         * math/auto-libm-test-out-tgamma: Likewise.
2869         * math/auto-libm-test-out-y0: Likewise.
2870         * math/auto-libm-test-out-y1: Likewise.
2871         * math/auto-libm-test-out-yn: Likewise.
2873         * math/Makefile (generated): Do not include libm-test.stmp.
2874         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2875         on $(objpfx)libm-test.stmp.
2876         ($(objpfx)libm-test.stmp): Remove rule.
2877         ($(objpfx)libm-test-ulps.h): New rule.
2878         ($(objpfx)libm-test.c): Likewise.
2879         ($(objpfx)libm-have-vector-test.h): Likewise.
2880         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2881         individual generated files, not libm-test.stmp.
2883         * math/gen-libm-test.pl ($output_dir): Remove variable.
2884         ($srcdir): Likewise.
2885         ($opt_a): New variable.
2886         ($opt_c): Likewise.
2887         ($opt_C): Likewise.
2888         ($opt_H): Likewise.
2889         (-n): Make option take argument and use it as NewUlps output.
2890         (-a): New option.  Use its argument for auto-libm-test-out input.
2891         (-c): New option.  Use its argument for libm-test.inc input.
2892         (-C): New option.  Use its argument for libm-test.c output.
2893         (-H): New option.  Use its argument for libm-test-ulps.h output.
2894         (top level): Only process inputs needed to generate outputs
2895         specified by command-line options.  Only generate outputs
2896         specified by command-line options.
2897         * math/README.libm-test: Update example gen-libm-test.pl command.
2898         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2899         commands.
2900         (regen-ulps): Likewise.
2902 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2904         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2905         * include/string.h (index): Remove define.
2906         (rindex): Likewise.
2907         * misc/getttyent.c (__getttyent): Rename index to strchr.
2908         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2909         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2911 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2913         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2914         * math/libm-test.inc: Move all contents, other than tests of
2915         individual functions, to libm-test-driver.c.
2916         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2917         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2918         [!FE_UPWARD] (FE_UPWARD): Likewise.
2919         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2920         (NO_EXCEPTION): Likewise.
2921         (INVALID_EXCEPTION): Likewise.
2922         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2923         (OVERFLOW_EXCEPTION): Likewise.
2924         (UNDERFLOW_EXCEPTION): Likewise.
2925         (INEXACT_EXCEPTION): Likewise.
2926         (INVALID_EXCEPTION_OK): Likewise.
2927         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2928         (OVERFLOW_EXCEPTION_OK): Likewise.
2929         (UNDERFLOW_EXCEPTION_OK): Likewise.
2930         (NO_INEXACT_EXCEPTION): Likewise.
2931         (EXCEPTIONS_OK): Likewise.
2932         (IGNORE_ZERO_INF_SIGN): Likewise.
2933         (TEST_NAN_SIGN): Likewise.
2934         (TEST_NAN_PAYLOAD): Likewise.
2935         (NO_TEST_INLINE): Likewise.
2936         (XFAIL_TEST): Likewise.
2937         (ERRNO_UNCHANGED): Likewise.
2938         (ERRNO_EDOM): Likewise.
2939         (ERRNO_ERANGE): Likewise.
2940         (IGNORE_RESULT): Likewise.
2941         (NON_FINITE): Likewise.
2942         (TEST_SNAN): Likewise.
2943         (NO_TEST_MATHVEC): Likewise.
2944         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2945         (__CONCATX): Likewise.
2946         (TYPE_MIN): Likewise.
2947         (TYPE_TRUE_MIN): Likewise.
2948         (TYPE_MAX): Likewise.
2949         (MIN_EXP): Likewise.
2950         (MAX_EXP): Likewise.
2951         (MANT_DIG): Likewise.
2952         (FSTR_MAX): Likewise.
2953         (ULP_IDX): Likewise.
2954         (QTYPE_STR): Likewise.
2955         (TEST_COND_binary32): Likewise.
2956         (TEST_COND_binary64): Likewise.
2957         (TEST_COND_binary128): Likewise.
2958         (TEST_COND_ibm128): Likewise.
2959         (TEST_COND_intel96): Likewise.
2960         (TEST_COND_m68k96): Likewise.
2961         (TEST_COND_ibm128_libgcc): Likewise.
2962         (XFAIL_IBM128_LIBGCC): Likewise.
2963         (PAYLOAD_DIG): Likewise.
2964         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2965         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2966         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2967         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2968         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2969         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2970         (TEST_COND_long32): Likewise.
2971         (TEST_COND_long64): Likewise.
2972         (TEST_COND_before_rounding): Likewise.
2973         (TEST_COND_after_rounding): Likewise.
2974         (lit_pi_3_m_4_d): Likewise.
2975         (lit_pi_3_m_4_ln10_m_d): Likewise.
2976         (lit_pi_2_ln10_m_d): Likewise.
2977         (lit_pi_4_ln10_m_d): Likewise.
2978         (lit_pi_ln10_d): Likewise.
2979         (lit_pi_2_d): Likewise.
2980         (lit_pi_4_d): Likewise.
2981         (lit_pi): Likewise.
2982         (lit_e): Likewise.
2983         (ulps_file_name): Likewise.
2984         (ulps_file): Likewise.
2985         (output_ulps): Likewise.
2986         (output_dir): Likewise.
2987         (noErrors): Likewise.
2988         (noTests): Likewise.
2989         (noExcTests): Likewise.
2990         (noErrnoTests): Likewise.
2991         (verbose): Likewise.
2992         (output_max_error): Likewise.
2993         (output_points): Likewise.
2994         (ignore_max_ulp): Likewise.
2995         (plus_zero): Likewise.
2996         (minus_zero): Likewise.
2997         (plus_infty): Likewise.
2998         (minus_infty): Likewise.
2999         (qnan_value_pl): Likewise.
3000         (qnan_value): Likewise.
3001         (snan_value_pl): Likewise.
3002         (snan_value): Likewise.
3003         (max_value): Likewise.
3004         (min_value): Likewise.
3005         (min_subnorm_value): Likewise.
3006         (snan_value_ld): Likewise.
3007         (max_error): Likewise.
3008         (real_max_error): Likewise.
3009         (imag_max_error): Likewise.
3010         (prev_max_error): Likewise.
3011         (prev_real_max_error): Likewise.
3012         (prev_imag_max_error): Likewise.
3013         (max_valid_error): Likewise.
3014         (TYPE_DECIMAL_DIG): Likewise.
3015         (TYPE_HEX_DIG): Likewise.
3016         (fmt_ftostr): Likewise.
3017         (compare_ulp_data): Likewise.
3018         (find_ulps): Likewise.
3019         (init_max_error): Likewise.
3020         (set_max_error): Likewise.
3021         (print_float): Likewise.
3022         (print_screen): Likewise.
3023         (print_screen_max_error): Likewise.
3024         (update_stats): Likewise.
3025         (print_function_ulps): Likewise.
3026         (print_complex_function_ulps): Likewise.
3027         (fpstack_test): Likewise.
3028         (print_max_error): Likewise.
3029         (print_complex_max_error): Likewise.
3030         (test_single_exception): Likewise.
3031         (test_exceptions): Likewise.
3032         (test_single_errno): Likewise.
3033         (test_errno): Likewise.
3034         (ULPDIFF): Likewise.
3035         (ulp): Likewise.
3036         (check_float_internal): Likewise.
3037         (check_float): Likewise.
3038         (check_complex): Likewise.
3039         (check_int): Likewise.
3040         (check_long): Likewise.
3041         (check_bool): Likewise.
3042         (check_longlong): Likewise.
3043         (check_intmax_t): Likewise.
3044         (check_uintmax_t): Likewise.
3045         (enable_test): Likewise.
3046         (struct test_f_f_data): Likewise.
3047         (struct test_ff_f_data): Likewise.
3048         (struct test_fj_f_data): Likewise.
3049         (struct test_fi_f_data): Likewise.
3050         (struct test_fl_f_data): Likewise.
3051         (struct test_if_f_data): Likewise.
3052         (struct test_fff_f_data): Likewise.
3053         (struct test_fiu_M_data): Likewise.
3054         (struct test_fiu_U_data): Likewise.
3055         (struct test_c_f_data): Likewise.
3056         (struct test_f_f1_data): Likewise.
3057         (struct test_fF_f1_data): Likewise.
3058         (struct test_ffI_f1_data): Likewise.
3059         (struct test_c_c_data): Likewise.
3060         (struct test_cc_c_data): Likewise.
3061         (struct test_f_i_data): Likewise.
3062         (struct test_ff_i_data): Likewise.
3063         (struct test_f_l_data): Likewise.
3064         (struct test_f_L_data): Likewise.
3065         (struct test_fFF_11_data): Likewise.
3066         (struct test_Ff_b1_data): Likewise.
3067         (IF_ROUND_INIT_): Likewise.
3068         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3069         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3070         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3071         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3072         (ROUND_RESTORE_): Likewise.
3073         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3074         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3075         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3076         (ROUND_RESTORE_FE_UPWARD): Likewise.
3077         (RM_): Likewise.
3078         (RM_FE_DOWNWARD): Likewise.
3079         (RM_FE_TONEAREST): Likewise.
3080         (RM_FE_TOWARDZERO): Likewise.
3081         (RM_FE_UPWARD): Likewise.
3082         (COMMON_TEST_SETUP): Likewise.
3083         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3084         (COMMON_TEST_CLEANUP): Likewise.
3085         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3086         (RUN_TEST_f_f): Likewise.
3087         (RUN_TEST_LOOP_f_f): Likewise.
3088         (RUN_TEST_fp_f): Likewise.
3089         (RUN_TEST_LOOP_fp_f): Likewise.
3090         (RUN_TEST_2_f): Likewise.
3091         (RUN_TEST_LOOP_2_f): Likewise.
3092         (RUN_TEST_ff_f): Likewise.
3093         (RUN_TEST_LOOP_ff_f): Likewise.
3094         (RUN_TEST_LOOP_fj_f): Likewise.
3095         (RUN_TEST_fi_f): Likewise.
3096         (RUN_TEST_LOOP_fi_f): Likewise.
3097         (RUN_TEST_fl_f): Likewise.
3098         (RUN_TEST_LOOP_fl_f): Likewise.
3099         (RUN_TEST_if_f): Likewise.
3100         (RUN_TEST_LOOP_if_f): Likewise.
3101         (RUN_TEST_fff_f): Likewise.
3102         (RUN_TEST_LOOP_fff_f): Likewise.
3103         (RUN_TEST_fiu_M): Likewise.
3104         (RUN_TEST_LOOP_fiu_M): Likewise.
3105         (RUN_TEST_fiu_U): Likewise.
3106         (RUN_TEST_LOOP_fiu_U): Likewise.
3107         (RUN_TEST_c_f): Likewise.
3108         (RUN_TEST_LOOP_c_f): Likewise.
3109         (RUN_TEST_f_f1): Likewise.
3110         (RUN_TEST_LOOP_f_f1): Likewise.
3111         (RUN_TEST_fF_f1): Likewise.
3112         (RUN_TEST_LOOP_fF_f1): Likewise.
3113         (RUN_TEST_fI_f1): Likewise.
3114         (RUN_TEST_LOOP_fI_f1): Likewise.
3115         (RUN_TEST_ffI_f1_mod8): Likewise.
3116         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3117         (RUN_TEST_Ff_b1): Likewise.
3118         (RUN_TEST_LOOP_Ff_b1): Likewise.
3119         (RUN_TEST_Ffp_b1): Likewise.
3120         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3121         (RUN_TEST_c_c): Likewise.
3122         (RUN_TEST_LOOP_c_c): Likewise.
3123         (RUN_TEST_cc_c): Likewise.
3124         (RUN_TEST_LOOP_cc_c): Likewise.
3125         (RUN_TEST_f_i): Likewise.
3126         (RUN_TEST_LOOP_f_i): Likewise.
3127         (RUN_TEST_f_i_tg): Likewise.
3128         (RUN_TEST_LOOP_f_i_tg): Likewise.
3129         (RUN_TEST_ff_b): Likewise.
3130         (RUN_TEST_LOOP_ff_b): Likewise.
3131         (RUN_TEST_ff_i_tg): Likewise.
3132         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3133         (RUN_TEST_f_b): Likewise.
3134         (RUN_TEST_LOOP_f_b): Likewise.
3135         (RUN_TEST_f_b_tg): Likewise.
3136         (RUN_TEST_LOOP_f_b_tg): Likewise.
3137         (RUN_TEST_f_l): Likewise.
3138         (RUN_TEST_LOOP_f_l): Likewise.
3139         (RUN_TEST_f_L): Likewise.
3140         (RUN_TEST_LOOP_f_L): Likewise.
3141         (RUN_TEST_fFF_11): Likewise.
3142         (RUN_TEST_LOOP_fFF_11): Likewise.
3143         (VEC_SUFF): Likewise.
3144         (STR_CONCAT): Likewise.
3145         (STR_CON3): Likewise.
3146         (HAVE_VECTOR): Likewise.
3147         (START): Likewise.
3148         (END): Likewise.
3149         (END_COMPLEX): Likewise.
3150         (ALL_RM_TEST): Likewise.
3151         (matherr): Likewise.
3152         (initialize): Likewise.
3153         (options): Likewise.
3154         (doc): Likewise.
3155         (parse_opt): Likewise.
3156         (argp): Likewise.
3157         (check_ulp): Likewise.
3158         (main): Likewise.
3159         (do_test): New function.  Call tests of individual functions
3160         previously called from main.
3162         * math/libm-test.inc: Remove comment listing functions tested and
3163         not tested.
3165 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3167         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3168         (allocate_stack): Remove COLORING_INCREMENT usage.
3169         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3170         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3172 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3174         * manual/libm-err-tab.pl (@all_functions): Change to
3175         %all_functions.  Initialize as empty.
3176         (parse_ulps): Add to %all_functions based on functions found in
3177         ulps files.  Ignore results for non-default rounding modes and
3178         vector functions.
3179         (print_platforms): Use %all_platforms.
3180         * manual/math.texi (Errors in Math Functions): Document omissions
3181         from the table.
3183         * math/Makefile (before-compile): Remove.
3185 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3187         [BZ #21075]
3188         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3189         unused assignment.
3190         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3192 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3194         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3195         Add __glibc_unlikely hint.
3197 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3199         [BZ #16640]
3200         * sysdeps/i386/i686/strtok.S: Remove file.
3201         * sysdeps/i386/i686/strtok_r.S: Likewise.
3202         * sysdeps/i386/strtok.S: Likewise.
3203         * sysdeps/i386/strtok_r.S: Likewise.
3204         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3205         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3206         * sysdeps/x86_64/strtok.S: Likewise.
3207         * sysdeps/x86_64/strtok_r.S: Likewise.
3209         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3210         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3211         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3212         (__ASSUME_FADVISE64_AS_64_64): Define.
3213         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3214         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3215         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3216         __ALIGNMENT_ARG usage.
3217         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3218         __NR_fadvise64_64 if it is not defined.
3220 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3222         * version.h (RELEASE): Set to "development"
3223         (VERSION): Set to 2.25.90.
3224         * NEWS: Add 2.26 section.
3226         * version.h (RELEASE): Set to "stable"
3227         (VERSION): Set to 2.25.
3228         * include/features.h (__GLIBC_MINOR__): Set to 25.
3230         * manual/contrib.texi: Add more contributors from this release
3231         and past releases.
3233         * NEWS (2.25): Add list of bugs fixed.
3235         * NEWS: Add missing news items.
3237 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3239         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3240         parent if child exited in that manner.  Print WEXITSTATUS
3241         instead of the raw status.
3242         (do_test_prep): Rename to do_test.
3243         (do_test): Return the result of run_executable_sgid.
3244         (TEST_FUNCTION_ARGV): Adjust.
3246 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3247             Florian Weimer  <fweimer@redhat.com>
3248             Carlos O'Donell  <carlos@redhat.com>
3250         [BZ #20915]
3251         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3252         Do not initialize DTV.
3253         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3255 2017-02-03  David S. Miller  <davem@davemloft.net>
3257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3266         (libm-sysdep_routines): Update.
3267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3272         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3273         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3274         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3275         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3277         Likewise.
3278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3280         Likewise.
3281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3283         Likewise.
3284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3286         Likewise.
3287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3289         (libm-sysdep_routines): Update.
3291 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3293         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3294         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3295         against unrelocated shared library.
3296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3298 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3300         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3301         * elf/tst-env-setuid-tunables.c
3302         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3303         GLIBC_TUNABLES is removed in a setgid process.
3305         [BZ #21073]
3306         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3307         * elf/dl-tunables.c (tunables_strdup): Remove.
3308         (get_next_env): Also return the previous envp.
3309         (parse_tunables): Erase tunables of category
3310         TUNABLES_SECLEVEL_SXID_ERASE.
3311         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3312         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3313         (__tunables_init)[TUNABLES_FRONTEND ==
3314         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3315         after parsing.
3316         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3317         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3318         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3319         to security_level.
3320         * elf/dl-tunables.list: Add security_level annotations for all
3321         tunables.
3322         * scripts/gen-tunables.awk: Recognize and generate enum values
3323         for security_level.
3324         * elf/tst-env-setuid.c: New test case.
3325         * elf/tst-env-setuid-tunables: new test case.
3326         * elf/Makefile (tests-static): Add them.
3328 2017-02-01  Richard Henderson  <rth@twiddle.net>
3330         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3331         adjusting the byte count.
3333 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3335         * conform/Makefile (linknamespace-libs): Define.
3337         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3338         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3339         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3340         operands.
3342 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3344         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3346 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3348         [BZ #21081]
3349         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3350         (L(stosb)): Add VZEROUPPER before ret.
3352 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3353             Alexey Makhalov <amakhalov@vmware.com>
3354             Florian Weimer <fweimer@redhat.com>
3356         [BZ #20116]
3357         * nptl/pthread_create.c: Document concurrency notes.
3358         Enhance thread creation notes.
3359         (create_thread): Use bool *stopped_start.
3360         (START_THREAD_DEFN): Comment ownership of PD.
3361         (__pthread_create_2_1): Add local bool stopped_start and use
3362         that instead of pd->stopped_start where appropriate.
3363         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3364         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3365         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3366         * nptl/tst-create-detached.c: New file.
3367         * nptl/Makefile (tests): Add tst-create-detached.
3368         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3369         Reference the enhanced thread creation notes.
3370         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3371         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3372         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3373         (__pthread_current_priority): Likewise.
3374         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3375         xpthread_attr_init, xpthread_attr_setdetachstate, and
3376         xpthread_attr_setstacksize.
3377         * support/xpthread_attr_destroy.c: New file.
3378         * support/xpthread_attr_init.c: New file.
3379         * support/xpthread_attr_setdetachstate.c: New file.
3380         * support/xpthread_attr_setstacksize.c: New file.
3381         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3382         xpthread_attr_init, xpthread_attr_setdetachstate, and
3383         xpthread_attr_setstacksize.
3385 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3387         * nptl/Makefile (tests): Add tst-robust-fork.
3388         * nptl/tst-robust-fork.c: New file.
3389         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3390         xpthread_mutex_consistent, xpthread_mutex_destroy,
3391         xpthread_mutex_init, xpthread_mutexattr_destroy,
3392         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3393         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3394         xpthread_mutexattr_settype.
3395         * support/xmmap.c: New file.
3396         * support/xmunmap.c: Likewise.
3397         * support/xpthread_mutex_consistent.c: Likewise.
3398         * support/xpthread_mutex_destroy.c: Likewise.
3399         * support/xpthread_mutex_init.c: Likewise.
3400         * support/xpthread_mutexattr_destroy.c: Likewise.
3401         * support/xpthread_mutexattr_init.c: Likewise.
3402         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3403         * support/xpthread_mutexattr_setpshared.c: Likewise.
3404         * support/xpthread_mutexattr_setrobust.c: Likewise.
3405         * support/xpthread_mutexattr_settype.c: Likewise.
3406         * support/xthread.h (xpthread_mutexattr_destroy)
3407         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3408         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3409         (xpthread_mutexattr_settype, xpthread_mutex_init)
3410         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3411         * support/xunistd.h (xmmap, xmunmap): Likewise.
3413 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3415         * string/Makefile (xtests): Add comment.
3416         (LOCALES): Add en_GB.UTF-8.
3417         (tst-strcoll-overflow.out): Depend on generated locales.
3418         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3419         (SIZE, TIMEOUT): Update comments.
3420         (do_test): Define as static.  Fail test if setlocale fails.
3421         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3422         messages.
3423         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3424         TIMEOUT at 300 seconds should be enough to run this test
3425         successfully.
3427 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3429         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3430         /* FALLTHRU */ comments.
3432 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3434         [BZ #21053]
3435         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3436         constants instead of the old R* ones.
3437         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3438         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3439         (NGREG): ... to this, to fit in with other architectures.
3440         (gpregset_t): Use new NGREG macro.
3441         [__USE_GNU]: Remove condition; all architectures other than tile
3442         are unconditional.
3443         (R*): Rename to REG_R*.
3445 2017-01-20  DJ Delorie  <dj@redhat.com>
3447         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3448         (tunable_set_val_if_valid_range_signed) ... this, and ...
3449         (tunable_set_val_if_valid_range_unsigned) ... this.
3450         (tunable_initialize): Call the correct one of the above based on type.
3452 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3454         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3455         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3456         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3457         * sysdeps/microblaze/libm-test-ulps: Likewise.
3458         * sysdeps/sh/libm-test-ulps: Likewise.
3460         * math/README.libm-test: Update list of characters for input and
3461         output types.
3463 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3465         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3466         (__lll_unlock_elision): Fix adapt_count decrement.
3468 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3470         * README.pretty-printers (Known issues): Warn about printers not
3471         always covering everything.
3472         * nptl/nptl-printers.py (MutexPrinter): Change output.
3473         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3475 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3477         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3478         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3479         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3480         (__lll_lock_elision): Do not test futex before starting a
3481         transaction.  Use __glibc_likely instead of __builtin_expect.
3482         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3483         (__lll_trylock_elision): Do not test futex before starting a
3484         transaction.  Use __glibc_likely instead of __builtin_expect.
3486 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3488         * po/Makefile (update-translations): New target.
3490 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3492         [BZ #21061]
3493         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3495 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3497         * elf/dl-tunables (get_next_env): Always advance envp.
3498         * stdlib/tst-empty-env.c: New test case.
3499         * stdlib/Makefile (tests): Use it.
3501 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3503         [BZ #21047]
3504         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3505         name for instruction.
3506         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3508 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3510         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3511         for make install.
3513 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3515         * po/bg.po: Merge from Translation Project.
3516         * po/fr.po: Likewise.
3517         * po/ko.po: Likewise.
3518         * po/nl.po: Likewise.
3519         * po/sv.po: Likewise.
3521 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3523         * manual/install.texi (Tools for Compilation): Update GCC version
3524         known to work to build glibc.
3525         * INSTALL: Regenerated.
3527 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3529         [BZ #21006]
3530         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3532 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3534         [BZ #21045]
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3536         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3537         to __sigprocmask.
3539 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3541         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3542         wrap-around.
3543         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3545         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3547 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3549         * NEWS: Fix typo.
3551 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3553         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3554         barriers and comments.
3555         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3556         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3557         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3559 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3561         [BZ #19402]
3562         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3563         mutexes.
3565 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3567         [BZ #20985]
3568         * nptl/Makefile: Adapt.
3569         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3570         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3571         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3572         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3573         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3574         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3575         lll_robust* functions and adapt.
3576         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3577         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3578         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3579         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3580         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3581         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3582         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3583         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3584         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3585         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3586         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3587         * nptl/lowlevelrobustlock.c: Remove file.
3588         * nptl/lowlevelrobustlock.sym: Likewise.
3589         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3590         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3592 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3594         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3596 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3598         * po/cs.po: Merge translations from the Translation Project.
3599         * po/de.po: Likewise.
3600         * po/pl.po: Likewise.
3601         * po/ru.po: Likewise.
3602         * po/tr.po: Likewise.
3603         * po/uk.po: Likewise.
3604         * po/vi.po: Likewise.
3605         * po/zh_CN.po: Likewise.
3607 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3609         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3611         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3612         object.
3614 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3616         [BZ #16458]
3617         * bits/uintn-identity.h: New file.
3618         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3619         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3620         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3621         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3622         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3623         * string/endian.h: Include <bits/uintn-identity.h>.
3624         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3625         __uint16_identity.
3626         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3627         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3628         __uint32_identity.
3629         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3630         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3631         __uint64_identity.
3632         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3633         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3634         __uint16_identity.
3635         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3636         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3637         __uint32_identity.
3638         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3639         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3640         __uint64_identity.
3641         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3642         * string/Makefile (headers): Add bits/uintn-identity.h.
3643         (tests): Add test-endian-types.
3644         * string/test-endian-types.c: New file.
3645         * inet/Makefile (tests): Add test-hnto-types.
3646         * inet/test-hnto-types.c: New file.
3648 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3650         * po/be.po: Update from Translation Project.
3651         * po/bg.po: Likewise.
3652         * po/ca.po: Likewise.
3653         * po/cs.po: Likewise.
3654         * po/da.po: Likewise.
3655         * po/de.po: Likewise.
3656         * po/el.po: Likewise.
3657         * po/eo.po: Likewise.
3658         * po/es.po: Likewise.
3659         * po/fi.po: Likewise.
3660         * po/fr.po: Likewise.
3661         * po/gl.po: Likewise.
3662         * po/hr.po: Likewise.
3663         * po/hu.po: Likewise.
3664         * po/ia.po: Likewise.
3665         * po/id.po: Likewise.
3666         * po/it.po: Likewise.
3667         * po/ja.po: Likewise.
3668         * po/ko.po: Likewise.
3669         * po/lt.po: Likewise.
3670         * po/nb.po: Likewise.
3671         * po/nl.po: Likewise.
3672         * po/pl.po: Likewise.
3673         * po/pt_BR.po: Likewise.
3674         * po/ru.po: Likewise.
3675         * po/rw.po: Likewise.
3676         * po/sk.po: Likewise.
3677         * po/sl.po: Likewise.
3678         * po/sv.po: Likewise.
3679         * po/tr.po: Likewise.
3680         * po/uk.po: Likewise.
3681         * po/vi.po: Likewise.
3682         * po/zh_CN.po: Likewise.
3683         * po/zh_TW.po: Likewise.
3685 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3687         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3688         -Wformat-truncation instead of -Wformat-length.
3689         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3690         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3691         GCC 7.
3692         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3693         (do_test): Ignore -Wformat-truncation for GCC 7.
3695         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3696         buffer used to print long int value.
3698         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3699         one byte.  Print it with %ld, cast to long int.
3701 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3703         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3704         (re.fullmatch, subprocess.run): Likewise.
3706 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3708         * po/libc.pot: Regenerate.
3710 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3712         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3713         (min_strlen): Likewise.
3714         (disable_tunable): Likewise.
3715         (maybe_disable_malloc_check): Rename to
3716         maybe_enable_malloc_check.
3717         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3718         if /etc/suid-debug file exists.
3719         (__tunables_init): Update caller.
3720         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3721         secure.
3723 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3725         * nptl/DESIGN-rwlock.txt: Remove.
3726         * nptl/lowlevelrwlock.sym: Remove.
3727         * nptl/Makefile: Add new tests.
3728         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3729         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3730         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3731         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3732         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3733         PTHREAD_RWLOCK_FUTEX_USED): New.
3734         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3735         implementation.
3736         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3737         (__pthread_rwlock_rdlock): Adapt.
3738         * nptl/pthread_rwlock_timedrdlock.c
3739         (pthread_rwlock_timedrdlock): Adapt.
3740         * nptl/pthread_rwlock_timedwrlock.c
3741         (pthread_rwlock_timedwrlock): Adapt.
3742         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3743         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3744         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3745         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3746         (__pthread_rwlock_wrlock): Adapt.
3747         * nptl/tst-rwlock10.c: Adapt.
3748         * nptl/tst-rwlock11.c: Adapt.
3749         * nptl/tst-rwlock17.c: New file.
3750         * nptl/tst-rwlock18.c: New file.
3751         * nptl/tst-rwlock19.c: New file.
3752         * nptl/tst-rwlock2b.c: New file.
3753         * nptl/tst-rwlock8.c: Adapt.
3754         * nptl/tst-rwlock9.c: Adapt.
3755         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3756         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3757         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3758         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3759         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3760         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3761         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3762         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3763         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3764         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3765         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3766         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3767         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3768         (pthread_rwlock_t): Adapt.
3769         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3770         (pthread_rwlock_t): Adapt.
3771         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3772         * nptl/nptl-printers.py (): Adapt.
3773         * nptl/nptl_lock_constants.pysym: Adapt.
3774         * nptl/test-rwlock-printers.py: Adapt.
3775         * nptl/test-rwlockattr-printers.c: Adapt.
3776         * nptl/test-rwlockattr-printers.py: Adapt.
3778 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3780         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3781         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3782         (fma_test_data): Likewise.
3783         (hypot_test_data): Likewise.
3784         (log1p_test_data): Likewise.
3785         (modf_test_data): Likewise.
3786         (pow_test_data): Likewise.
3787         (remainder_test_data): Likewise.
3788         (remquo_test_data): Likewise.
3789         (scalb_test_data): Likewise.
3790         (scalbn_test_data): Likewise.
3791         (scalbln_test_data): Likewise.
3792         * math/gen-libm-test.pl (parse_args): Transform
3793         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3794         on the rounding mode.
3796 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3798         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3799         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3800         and those that can underflow to zero.
3801         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3802         add others.
3803         * math/auto-libm-test-out: Regenerated.
3805         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3806         supported.
3807         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3808         modes support if not supported.
3810         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3811         Add libc.so PLT entry.
3812         (__tls_get_addr): Make ld.so PLT entry optional.
3814 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3816         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3817         * string/bits/string3.h: ... here.
3819 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3821         [BZ #21028]
3822         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3823         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3824         if EXCEPTION_TESTS returns false.
3826 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3828         [BZ #20558]
3829         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3830         strings_fortified.h.
3831         [__USE_MISC] (bzero): Likewise.
3832         [__USE_MISC] (explicit_bzero): Likewise.
3833         * string/strings.h: Include strings_fortified.h.
3834         * string/Makefile (headers): Add strings_fortified.h.
3835         * string/bits/strings_fortified.h: New file.
3836         * include/bits/strings_fortified.h: Likewise.
3838 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3840         * elf/tst-tls13.c (TIMEOUT): Remove.
3841         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3842         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3843         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3844         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3845         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3847         [BZ #21026]
3848         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3849         (readahead): New syscall entry.
3851 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3853         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3854         around tests of strncat with large sizes.
3856         * malloc/tst-malloc.c: Include <libc-internal.h>.
3857         (do_test): Disable -Walloc-size-larger-than= around tests of
3858         malloc with negative sizes.
3859         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3860         (do_test): Disable -Walloc-size-larger-than= around tests of
3861         malloc and realloc with negative sizes.
3862         * malloc/tst-realloc.c: Include <libc-internal.h>.
3863         (do_test): Disable -Walloc-size-larger-than= around tests of
3864         realloc with negative sizes.
3866         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3867         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3868         allowed to 16 ulps.
3869         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3870         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3871         * math/auto-libm-test-out: Regenerated.
3873 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3875         * math/Makefile (libm-calls): Move wrappers...
3876         (libm-compat-call-auto): Here.
3877         (libm-routines): Add items in libm-compat-calls-auto.
3878         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3879         the filenames of the wrappers that have been renamed.
3880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3883         * math/w_acos.c: Add _compat suffix to filename.
3884         * math/w_acosf.c: Likewise.
3885         * math/w_acosh.c: Likewise.
3886         * math/w_acoshf.c: Likewise.
3887         * math/w_acoshl.c: Likewise.
3888         * math/w_acosl.c: Likewise.
3889         * math/w_asin.c: Likewise.
3890         * math/w_asinf.c: Likewise.
3891         * math/w_asinl.c: Likewise.
3892         * math/w_atan2.c: Likewise.
3893         * math/w_atan2f.c: Likewise.
3894         * math/w_atan2l.c: Likewise.
3895         * math/w_atanh.c: Likewise.
3896         * math/w_atanhf.c: Likewise.
3897         * math/w_atanhl.c: Likewise.
3898         * math/w_cosh.c: Likewise.
3899         * math/w_coshf.c: Likewise.
3900         * math/w_coshl.c: Likewise.
3901         * math/w_exp10.c: Likewise.
3902         * math/w_exp10f.c: Likewise.
3903         * math/w_exp10l.c: Likewise.
3904         * math/w_exp2.c: Likewise.
3905         * math/w_exp2f.c: Likewise.
3906         * math/w_exp2l.c: Likewise.
3907         * math/w_fmod.c: Likewise.
3908         * math/w_fmodf.c: Likewise.
3909         * math/w_fmodl.c: Likewise.
3910         * math/w_hypot.c: Likewise.
3911         * math/w_hypotf.c: Likewise.
3912         * math/w_hypotl.c: Likewise.
3913         * math/w_j0.c: Likewise.
3914         * math/w_j0f.c: Likewise.
3915         * math/w_j0l.c: Likewise.
3916         * math/w_j1.c: Likewise.
3917         * math/w_j1f.c: Likewise.
3918         * math/w_j1l.c: Likewise.
3919         * math/w_jn.c: Likewise.
3920         * math/w_jnf.c: Likewise.
3921         * math/w_jnl.c: Likewise.
3922         * math/w_log10.c: Likewise.
3923         * math/w_log10f.c: Likewise.
3924         * math/w_log10l.c: Likewise.
3925         * math/w_log2.c: Likewise.
3926         * math/w_log2f.c: Likewise.
3927         * math/w_log2l.c: Likewise.
3928         * math/w_log.c: Likewise.
3929         * math/w_logf.c: Likewise.
3930         * math/w_logl.c: Likewise.
3931         * math/w_pow.c: Likewise.
3932         * math/w_powf.c: Likewise.
3933         * math/w_powl.c: Likewise.
3934         * math/w_remainder.c: Likewise.
3935         * math/w_remainderf.c: Likewise.
3936         * math/w_remainderl.c: Likewise.
3937         * math/w_scalb.c: Likewise.
3938         * math/w_scalbf.c: Likewise.
3939         * math/w_scalbl.c: Likewise.
3940         * math/w_sinh.c: Likewise.
3941         * math/w_sinhf.c: Likewise.
3942         * math/w_sinhl.c: Likewise.
3943         * math/w_sqrt.c: Likewise.
3944         * math/w_sqrtf.c: Likewise.
3945         * math/w_sqrtl.c: Likewise.
3946         * math/w_tgamma.c: Likewise.
3947         * math/w_tgammaf.c: Likewise.
3948         * math/w_tgammal.c: Likewise.
3950         * math/w_acos_compat.c: New file copied from above and
3951         adjusted for new #includes path
3952         * math/w_acosf_compat.c: Likewise.
3953         * math/w_acosh_compat.c: Likewise.
3954         * math/w_acoshf_compat.c: Likewise.
3955         * math/w_acoshl_compat.c: Likewise.
3956         * math/w_acosl_compat.c: Likewise.
3957         * math/w_asin_compat.c: Likewise.
3958         * math/w_asinf_compat.c: Likewise.
3959         * math/w_asinl_compat.c: Likewise.
3960         * math/w_atan2_compat.c: Likewise.
3961         * math/w_atan2f_compat.c: Likewise.
3962         * math/w_atan2l_compat.c: Likewise.
3963         * math/w_atanh_compat.c: Likewise.
3964         * math/w_atanhf_compat.c: Likewise.
3965         * math/w_atanhl_compat.c: Likewise.
3966         * math/w_cosh_compat.c: Likewise.
3967         * math/w_coshf_compat.c: Likewise.
3968         * math/w_coshl_compat.c: Likewise.
3969         * math/w_exp10_compat.c: Likewise.
3970         * math/w_exp10f_compat.c: Likewise.
3971         * math/w_exp10l_compat.c: Likewise.
3972         * math/w_exp2_compat.c: Likewise.
3973         * math/w_exp2f_compat.c: Likewise.
3974         * math/w_exp2l_compat.c: Likewise.
3975         * math/w_fmod_compat.c: Likewise.
3976         * math/w_fmodf_compat.c: Likewise.
3977         * math/w_fmodl_compat.c: Likewise.
3978         * math/w_hypot_compat.c: Likewise.
3979         * math/w_hypotf_compat.c: Likewise.
3980         * math/w_hypotl_compat.c: Likewise.
3981         * math/w_j0_compat.c: Likewise.
3982         * math/w_j0f_compat.c: Likewise.
3983         * math/w_j0l_compat.c: Likewise.
3984         * math/w_j1_compat.c: Likewise.
3985         * math/w_j1f_compat.c: Likewise.
3986         * math/w_j1l_compat.c: Likewise.
3987         * math/w_jn_compat.c: Likewise.
3988         * math/w_jnf_compat.c: Likewise.
3989         * math/w_jnl_compat.c: Likewise.
3990         * math/w_log10_compat.c: Likewise.
3991         * math/w_log10f_compat.c: Likewise.
3992         * math/w_log10l_compat.c: Likewise.
3993         * math/w_log2_compat.c: Likewise.
3994         * math/w_log2f_compat.c: Likewise.
3995         * math/w_log2l_compat.c: Likewise.
3996         * math/w_log_compat.c: Likewise.
3997         * math/w_logf_compat.c: Likewise.
3998         * math/w_logl_compat.c: Likewise.
3999         * math/w_pow_compat.c: Likewise.
4000         * math/w_powf_compat.c: Likewise.
4001         * math/w_powl_compat.c: Likewise.
4002         * math/w_remainder_compat.c: Likewise.
4003         * math/w_remainderf_compat.c: Likewise.
4004         * math/w_remainderl_compat.c: Likewise.
4005         * math/w_scalb_compat.c: Likewise.
4006         * math/w_scalbf_compat.c: Likewise.
4007         * math/w_scalbl_compat.c: Likewise.
4008         * math/w_sinh_compat.c: Likewise.
4009         * math/w_sinhf_compat.c: Likewise.
4010         * math/w_sinhl_compat.c: Likewise.
4011         * math/w_sqrt_compat.c: Likewise.
4012         * math/w_sqrtf_compat.c: Likewise.
4013         * math/w_sqrtl_compat.c: Likewise.
4014         * math/w_tgamma_compat.c: Likewise.
4015         * math/w_tgammaf_compat.c: Likewise.
4016         * math/w_tgammal_compat.c: Likewise.
4018         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4019         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4020         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4021         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4022         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4023         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4024         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4025         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4026         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4027         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4028         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4029         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4030         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4031         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4032         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4033         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4034         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4035         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4036         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4037         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4038         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4039         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4040         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4041         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4042         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4043         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4044         * sysdeps/ia64/fpu/w_log.c: Likewise.
4045         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4046         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4047         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4048         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4049         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4050         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4051         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4052         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4053         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4054         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4055         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4056         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4057         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4058         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4059         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4060         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4061         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4062         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4063         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4064         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4065         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4066         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4067         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4068         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4069         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4070         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4071         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4072         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4073         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4074         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4075         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4076         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4077         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4078         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4080         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4081         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4083         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4084         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4085         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4086         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4087         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4088         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4089         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4090         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4091         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4092         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4093         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4095         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4096         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4097         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4098         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4099         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4101         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4102         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4103         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4104         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4105         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4106         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4107         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4108         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4109         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4111         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4112         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4113         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4114         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4115         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4116         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4117         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4119         Likewise.
4120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4121         Likewise.
4122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4124         Likewise.
4125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4126         Likewise.
4127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4128         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4129         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4130         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4131         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4132         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4133         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4138         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4139         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4140         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4141         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4143         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4144         and adjusted for new #includes path
4145         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4146         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4147         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4148         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4149         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4150         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4151         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4152         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4153         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4154         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4155         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4156         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4157         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4158         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4159         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4160         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4161         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4162         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4163         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4164         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4165         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4166         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4167         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4168         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4169         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4170         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4171         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4172         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4173         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4174         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4175         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4176         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4177         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4178         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4179         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4180         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4181         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4182         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4183         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4184         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4185         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4186         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4187         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4188         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4189         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4190         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4191         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4192         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4193         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4194         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4195         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4196         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4197         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4198         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4199         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4200         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4201         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4202         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4203         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4204         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4205         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4206         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4207         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4208         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4209         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4210         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4211         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4212         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4213         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4214         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4215         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4216         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4217         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4218         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4219         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4220         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4221         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4222         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4223         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4224         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4225         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4226         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4227         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4228         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4229         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4230         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4231         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4232         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4233         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4234         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4235         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4236         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4237         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4238         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4239         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4240         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4241         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4242         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4243         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4245         Likewise.
4246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4247         Likewise.
4248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4249         Likewise.
4250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4251         Likewise.
4252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4253         Likewise.
4254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4255         Likewise.
4256         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4257         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4258         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4259         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4260         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4261         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4263         Likewise.
4264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4265         Likewise.
4266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4267         Likewise.
4268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4269         Likewise.
4270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4271         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4272         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4273         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4275 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4277         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4278         __jmp_buf_internal_tag.
4280         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4281         preserve NaN payload if [__mips_nan2008].
4282         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4284         [BZ #21022]
4285         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4287 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4289         * sysdeps/i386/fpu/libm-test-ulps: Update.
4291 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4293         * sysdeps/ia64/strcat.c: Remove file.
4294         * sysdeps/powerpc/strcat.c: Likewise.
4295         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4296         C implementation.
4297         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4298         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4300 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4301             Steven Munroe  <sjmunroe@us.ibm.com>
4302             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4304         [BZ #20822]
4305         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4306         (__lll_lock_elision): Access adapt_count via C11 atomics.
4307         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4308         (__lll_trylock_elision): Likewise.
4309         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4310         (__lll_unlock_elision):  Update adapt_count variable inside the
4311         critical section using C11 atomics.
4313 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4315         * math/test-fenvinline.c (do_test): Disable tests of raised
4316         exceptions if !EXCEPTION_TESTS (FLOAT).
4318 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4320         [BZ #19390]
4321         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4322         maximum string size.
4323         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4324         in pointer addition.
4325         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4326         Likewise.
4328 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4330         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4331         passed to tst-ldconfig-X.sh.
4333 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4335         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4337 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4339         [BZ #21019]
4340         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4341         New syscall entry.
4342         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4343         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4344         lseek.
4346         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4347         power4 glibc for powerpc-linux-gnu.
4349 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4351         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4352         semctl.
4354 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4356         * math/test-nearbyint-except.c: Include <stdbool.h>.
4357         (any_supported): New variable.
4358         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4359         set any_supported.
4360         (do_test): Return 77 if no floating-point type supported
4361         exceptions.
4363         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4364         condition on [__mips_hard_float].
4366 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4368         [BZ #21014]
4369         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4370         in pointer addition.
4371         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4373 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4375         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4376         new condvar.
4378 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4380         * scripts/build-many-glibcs.py (Context.checkout): Default
4381         binutils version to 2.28 branch.
4383 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4385         * support/support_format_netent.c (support_format_netent): Work
4386         around alpha struct netent definition difference.
4388 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4390         * support/xwrite.c (xwrite): Use %td for pointer difference.
4392 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4394         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4395         have-tunables only.
4396         (tests-static): Add tst-malloc-usable-static-tunables for
4397         have-tunables only.
4399 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4401         * scripts/config.guess: Update to version 2017-01-01.
4402         * scripts/config.sub: Update to version 2017-01-01.
4404         * NEWS: Update copyright dates.
4405         * catgets/gencat.c (print_version): Likewise.
4406         * csu/version.c (banner): Likewise.
4407         * debug/catchsegv.sh: Likewise.
4408         * debug/pcprofiledump.c (print_version): Likewise.
4409         * debug/xtrace.sh (do_version): Likewise.
4410         * elf/ldconfig.c (print_version): Likewise.
4411         * elf/ldd.bash.in: Likewise.
4412         * elf/pldd.c (print_version): Likewise.
4413         * elf/sotruss.sh: Likewise.
4414         * elf/sprof.c (print_version): Likewise.
4415         * iconv/iconv_prog.c (print_version): Likewise.
4416         * iconv/iconvconfig.c (print_version): Likewise.
4417         * locale/programs/locale.c (print_version): Likewise.
4418         * locale/programs/localedef.c (print_version): Likewise.
4419         * login/programs/pt_chown.c (print_version): Likewise.
4420         * malloc/memusage.sh (do_version): Likewise.
4421         * malloc/memusagestat.c (print_version): Likewise.
4422         * malloc/mtrace.pl: Likewise.
4423         * manual/libc.texinfo: Likewise.
4424         * nptl/version.c (banner): Likewise.
4425         * nscd/nscd.c (print_version): Likewise.
4426         * nss/getent.c (print_version): Likewise.
4427         * nss/makedb.c (print_version): Likewise.
4428         * posix/getconf.c (main): Likewise.
4429         * scripts/test-installation.pl: Likewise.
4430         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4432         * All files with FSF copyright notices: Update copyright dates
4433         using scripts/update-copyrights.
4434         * intl/plural.c: Regenerated.
4435         * locale/programs/charmap-kw.h: Likewise.
4436         * locale/programs/locfile-kw.h: Likewise.
4438 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4440         [BZ #20593]
4441         Update DNS RR type definitions.
4442         * scripts/gen-rrtypes.py: New file.
4443         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4444         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4445         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4446         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4447         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4448         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4449         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4450         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4451         ns_t_ta, ns_t_dlv.
4452         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4453         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4454         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4455         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4456         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4457         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4458         Define.
4459         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4460         entry for ns_t_zxfr.
4462 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4464         [BZ #18784]
4465         CVE-2015-5180
4466         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4467         T_UNSPEC.  Adjust value.
4468         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4469         * resolv/res_query.c (__libc_res_nquery): Likewise.
4470         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4471         QTYPEs.
4472         * resolv/tst-resolv-qtypes.c: New file.
4473         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4474         (tst-resolv-qtypes): Link against libresolv and libpthread.
4476 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4478         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4480 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4482         * manual/tunables.texi: New chapter.
4483         * manual/Makefile (chapters): Add it.
4484         * manual/probes.texi (@node): Point to the Tunables chapter.
4486         * Makeconfig (have-tunables): Check for non-negative instead
4487         of positive.
4488         * configure.ac: Add 'valstring' as a valid value for
4489         --enable-tunables.
4490         * configure: Regenerate.
4491         * elf/Makefile (have-tunables): Check for non-negative instead
4492         of positive.
4493         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4494         dl-tunables.c.
4495         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4496         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4497         (tunables_strdup): Likewise.
4498         (disable_tunables): Likewise.
4499         (parse_tunables): Likewise.
4500         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4501         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4502         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4503         (TUNABLES_FRONTEND_yes): New macro, define as
4504         TUNABLES_FRONTEND_valstring by default.
4505         * manual/install.texi: Document new acceptable values for
4506         --enable-tunables.
4507         * INSTALL: Regenerate.
4509         * config.make.in (have-loop-to-function): Define.
4510         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4511         -fno-tree-loop-distribute-patterns.
4512         * elf/dl-tunables.c: Include libc-internals.h.
4513         (GLIBC_TUNABLES): New macro.
4514         (tunables_strdup): New function.
4515         (parse_tunables): New function.
4516         (min_strlen): New function.
4517         (__tunables_init): Use the new functions and macro.
4518         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4519         * malloc/tst-malloc-usable-tunables.c: New test case.
4520         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4521         * malloc/Makefile (tests, tests-static): Add tests.
4523         * manual/install.texi: Add --enable-tunables option.
4524         * INSTALL: Regenerate.
4525         * README.tunables: New file.
4526         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4527         (before-compile): Generate dl-tunable-list.h early.
4528         * config.h.in: Add HAVE_TUNABLES.
4529         * config.make.in: Add have-tunables.
4530         * configure.ac: Add --enable-tunables option.
4531         * configure: Regenerate.
4532         * csu/init-first.c (__libc_init_first): Move
4533         __libc_init_secure earlier...
4534         * csu/init-first.c (LIBC_START_MAIN):... to here.
4535         Include dl-tunables.h, libc-internal.h.
4536         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4537         binaries.
4538         * elf/Makefile (dl-routines): Add dl-tunables.
4539         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4540         namespace.
4541         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4542         only when !HAVE_TUNABLES.
4543         * elf/rtld.c (process_envvars): Likewise.
4544         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4545         (_dl_sysdep_start): Call __tunables_init.
4546         * elf/dl-tunable-types.h: New file.
4547         * elf/dl-tunables.c: New file.
4548         * elf/dl-tunables.h: New file.
4549         * elf/dl-tunables.list: New file.
4550         * malloc/tst-malloc-usable-static.c: New test case.
4551         * malloc/Makefile (tests-static): Add it.
4552         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4553         Define TUNABLE_NAMESPACE.
4554         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4555         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4556         callback functions.
4557         (ptmalloc_init): Set tunable values.
4558         * scripts/gen-tunables.awk: New file.
4559         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4560         (_dl_sysdep_start): Call __tunables_init.
4562 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4564         * resolv/resolv.h (RES_BLAST): Deprecate.
4565         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4566         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4567         to RES_BLAST.
4569 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4571         [BZ #19582]
4572         Deprecate RES_USE_INET6.
4573         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4574         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4575         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4576         RES_USE_INET6.
4577         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4578         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4579         (_nss_nisplus_gethostbyaddr_r): Likewise.
4580         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4581         of res_use_inet6.
4582         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4583         instead of RES_USE_INET6.
4584         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4585         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4586         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4587         Likewise.
4588         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4589         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4590         Likewise.
4591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4592         (_nss_dns_gethostbyname_r): Likewise.
4593         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4594         alternate RES_USE_INET6 handling.
4595         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4596         instead of RES_USE_INET6.
4597         * resolv/res_init.c (res_setoptions): Likewise.
4598         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4599         * resolv/resolv-internal.h: New file.
4600         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4601         make the deprecation warning non-fatal.
4602         * resolv/README (Using the resolver in multi-threaded code): Drop
4603         reference to RES_USE_INET6.
4604         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4605         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4607 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4609         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4610         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4611         tst-resolv-search.
4612         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4613         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4614         with libresolv and libpthread.
4615         * resolv/tst-bug18665.c: New file.
4616         * resolv/tst-bug18665-tcp: Likewise.
4617         * resolv/tst-res_use_inet6: Likewise.
4618         * resolv/tst-resolv-basic: Likewise.
4619         * resolv/tst-resolv-network: Likewise.
4620         * resolv/tst-resolv-search: Likewise.
4621         * support/Makefile (libsupport-routines): Add check_addrinfo,
4622         check_dns_packet, check_hostent, check_netent, resolv_test,
4623         support_format_address_family, support_format_addrinfo,
4624         support_format_dns_packet, support_format_herrno,
4625         support_format_hostent, support_format_netent, support_run_diff,
4626         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4627         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4628         xstrdup, xwrite.
4629         * support/check_addrinfo.c: New file.
4630         * support/check_dns_packet.c: Likewise.
4631         * support/check_hostent.c: Likewise.
4632         * support/check_netent.c: Likewise.
4633         * support/check_nss.h: Likewise.
4634         * support/format_nss.h: Likewise.
4635         * support/resolv_test.c: Likewise.
4636         * support/resolv_test.h: Likewise.
4637         * support/run_diff.h: Likewise.
4638         * support/support_format_address_family.c: Likewise.
4639         * support/support_format_addrinfo.c: Likewise.
4640         * support/support_format_dns_packet.c: Likewise.
4641         * support/support_format_herrno.c: Likewise.
4642         * support/support_format_hostent.c: Likewise.
4643         * support/support_format_netent.c: Likewise.
4644         * support/support_run_diff.c: Likewise.
4645         * support/xaccept.c: Likewise.
4646         * support/xbind.c: Likewise.
4647         * support/xconnect.c: Likewise.
4648         * support/xfclose.c: Likewise.
4649         * support/xfopen.c: Likewise.
4650         * support/xgetsockname.c: Likewise.
4651         * support/xlisten.c: Likewise.
4652         * support/xmemstream.c: Likewise.
4653         * support/xmemstream.h: Likewise.
4654         * support/xpoll.c: Likewise.
4655         * support/xpthread_once.c: Likewise.
4656         * support/xrecvfrom.c: Likewise.
4657         * support/xsendto.c: Likewise.
4658         * support/xsetsockopt.c: Likewise.
4659         * support/xstdio.h: Likewise.
4660         * support/xstrdup.c: Likewise.
4661         * support/support.h (xstrdup): Declare.
4662         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4663         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4664         * support/xthread.h (xpthread_once): Likwise.
4665         * support/xunistd.h (xwrite): Declare.
4667 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4669         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4670         (test_verbose): Declare.
4671         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4672         * support/support_test_main.c (default_options): Likewise.
4673         (usage, support_test_main): Handle 'v'.
4674         (test_verbose): Define.
4675         * support/tst-support_record_failure.c (do_test): Use
4676         test_verbose.
4677         * support/tst-support_record_failure-2.sh (different_status): Add
4678         --verbose test.
4680 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4682         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4683         test failures are recorded.
4684         * support/check.c (support_print_failure_impl): Call
4685         support_record_failure.
4686         (support_exit_failure_impl): Call support_record_failure if status
4687         indicates failure.
4688         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4689         * support/xasprintf.c (xasprintf): Likewise.
4690         * support/xfork.c (xfork): Likewise.
4691         * support/xpthread_check_return.c (xpthread_check_return):
4692         Likewise.
4693         * support/xsocket.c (xsocket): Likeweise.
4694         * support/xwaitpid.c (xwaitpid): Likewise.
4695         * support/support_record_failure.c (struct test_failures): Adjust
4696         to coding style.
4697         * support/support_test_verify_impl.c (support_test_verify_impl):
4698         Adjust error messages.
4699         * support/tst-support_record_failure-2.sh (different_status):
4700         Adjust error messages.
4702 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4704         * support/namespace.h: New file.
4705         * support/support_become_root.c: Likewise.
4706         * support/support_enter_network_namespace.c: Likewise.
4707         * support/tst-support-namespace.c: Likewise.
4708         * support/xsocket.c: Likewise.
4709         * support/xsocket.h: Likewise.
4710         * support/Makefile (libsupport-routines): Add support_become_root,
4711         support_enter_network_namespace, xsocket.
4712         (tests): Add tst-support-namespace.
4714 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4716         [BZ #17252]
4717         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4718         __USE_GNU.
4720 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4722         [BZ #13165]
4723         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4724         use new algorithm.
4725         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4726         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4727         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4728         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4729         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4730         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4731         __condvar_cleanup_waiting, __condvar_dec_grefs,
4732         __pthread_cond_wait_common): New.
4733         (__condvar_cleanup): Remove.
4734         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4735         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4736         Likewise.
4737         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4738         Likewise.
4739         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4740         * nptl/tst-cond1.c: Add comment.
4741         * nptl/tst-cond20.c (do_test): Adapt.
4742         * nptl/tst-cond22.c (do_test): Likewise.
4743         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4744         structure.
4745         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4746         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4747         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4748         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4749         Likewise.
4750         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4751         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4752         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4753         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4754         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4755         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4756         Likewise.
4757         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4758         Likewise.
4759         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4760         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4761         (COND_CLOCK_BITS): Adapt.
4762         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4763         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4764         __PTHREAD_COND_SHARED_MASK): New.
4765         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4766         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4767         * nptl/nptl_lock_constants.pysym: Adapt.
4768         * nptl/test-cond-printers.py: Adapt.
4769         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4770         cond_compat_check_and_clear): Adapt.
4771         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4772         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4773         (__pthread_cond_timedwait): ... and move here.
4774         * nptl/DESIGN-condvar.txt: Remove file.
4775         * nptl/lowlevelcond.sym: Likewise.
4776         * nptl/pthread_cond_timedwait.c: Likewise.
4777         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4778         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4779         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4780         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4781         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4782         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4783         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4784         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4785         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4786         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4787         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4788         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4789         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4790         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4791         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4792         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4794 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4796         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4797         (fromfp): New declaration.
4798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4801         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4806         * math/math.h: Include <bits/types.h>.
4807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4808         constant and macro.
4809         (FP_INT_DOWNWARD): Likewise.
4810         (FP_INT_TOWARDZERO): Likewise.
4811         (FP_INT_TONEARESTFROMZERO): Likewise.
4812         (FP_INT_TONEAREST): Likewise.
4813         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4814         (fromfpf): Likewise.
4815         (fromfpl): Likewise.
4816         (ufromfp): Likewise.
4817         (ufromfpf): Likewise.
4818         (ufromfpl): Likewise.
4819         (fromfpx): Likewise.
4820         (fromfpxf): Likewise.
4821         (fromfpxl): Likewise.
4822         (ufromfpx): Likewise.
4823         (ufromfpxf): Likewise.
4824         (ufromfpxl): Likewise.
4825         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4826         s_fromfpxF and s_ufromfpxF.
4827         * math/gen-fromfp-tests.py: New file.
4828         * math/gen-fromfp-tests-inputs: Likewise.
4829         * math/libm-test.inc: Include <stdint.h>
4830         (check_intmax_t): New function.
4831         (check_uintmax_t): Likewise.
4832         (struct test_fiu_M_data): New type.
4833         (struct test_fiu_U_data): Likewise.
4834         (RUN_TEST_fiu_M): New macro.
4835         (RUN_TEST_LOOP_fiu_M): Likewise.
4836         (RUN_TEST_fiu_U): Likewise.
4837         (RUN_TEST_LOOP_fiu_U): Likewise.
4838         (fromfp_test_data): New array.
4839         (fromfp_test): New function.
4840         (fromfpx_test_data): New array.
4841         (fromfpx_test): New function.
4842         (ufromfp_test_data): New array.
4843         (ufromfp_test): New function.
4844         (ufromfpx_test_data): New array.
4845         (ufromfpx_test): New function.
4846         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4847         ufromfpx_test.
4848         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4849         characters.
4850         * math/test-tgmath-ret.c: Include <stdint.h>.
4851         (rm): New variable.
4852         (width): Likewise.
4853         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4854         called function.
4855         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4856         CHECK_RET_CONST_TYPE.
4857         (CHECK_RET_CONST_DOUBLE): Likewise.
4858         (CHECK_RET_CONST_LDOUBLE): Likewise.
4859         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4860         macros.
4861         (fromfp): New CHECK_RET_CONST call.
4862         (ufromfp): Likewise.
4863         (fromfpx): Likewise.
4864         (ufromfpx): Likewise.
4865         (do_test): Call check_return_fromfp, check_return_ufromfp,
4866         check_return_fromfpx and check_return_ufromfpx.
4867         * math/test-tgmath.c: Include <stdint.h>
4868         (NCALLS): Increase to 138.
4869         (F(compile_test)): Initialize i.  Call fromfp functions.
4870         (F(fromfp)): New function.
4871         (F(fromfpx)): Likewise.
4872         (F(ufromfp)): Likewise.
4873         (F(ufromfpx)): Likewise.
4874         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4875         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4876         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4877         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4878         ufromfpxl.
4879         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4880         ufromfp and ufromfpx.
4881         * math/fromfp.h: New file.
4882         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4883         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4884         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4885         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4886         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4887         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4888         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4889         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4890         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4891         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4892         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4893         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4894         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4895         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4896         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4897         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4898         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4899         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4900         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4901         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4902         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4903         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4904         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4905         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4906         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4907         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4908         ufromfp, fromfpx and ufromfpx.
4909         (CFLAGS-nldbl-fromfp.c): New variable.
4910         (CFLAGS-nldbl-fromfpx.c): Likewise.
4911         (CFLAGS-nldbl-ufromfp.c): Likewise.
4912         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4913         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4914         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4915         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4916         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4917         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4918         * sysdeps/nacl/libm.abilist: Update.
4919         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4920         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4921         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4922         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4923         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4924         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4925         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4926         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4927         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4928         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4929         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4930         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4932         Likewise.
4933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4934         Likewise.
4935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4936         Likewise.
4937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4938         Likewise.
4939         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4942         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4943         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4945         Likewise.
4946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4947         Likewise.
4948         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4949         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4952 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4954         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4955         compat-gethnamaddr.
4956         (CPPFLAGS): Remove.
4957         * resolv/gethnamaddr.c: Rename ...
4958         * resolv/compat-gethnamaddr.c: ... to this file.
4959         (_endhtent): Make static.
4960         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4961         symbol.
4962         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4963         compat symbol.
4964         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4965         symbol.
4966         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4967         Turn into compat symbol.
4968         * include/resolv.h (_endhtent): Remove declaration.
4970 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4972         * bits/types.h (__intmax_t): New typedef.
4973         (__uintmax_t): Likewise.
4974         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4975         (intmax_t): Define using __intmax_t.
4976         (uintmax_t): Define using __uintmax_t.
4978         * support/Makefile (tests-special): Make definition conditional on
4979         [$(run-built-tests) = yes].
4980         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4981         on [$(run-built-tests) = yes].
4983 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4985         * Rules (tests): Add tests-printers-programs to tests to be
4986         built.
4988 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4990         * sysvipc/Makefile (tests): Add test-sysvshm.
4991         * sysvipc/test-sysvshm.c: New file.
4993         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4994         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4995         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4996         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4997         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4998         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4999         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5000         Likewise.
5001         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5002         Likewise.
5003         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5004         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5005         is defined.
5007         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5008         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5009         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5010         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5011         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5012         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5013         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5014         Likewise.
5015         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5016         Likewise.
5017         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5018         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5019         defined.
5021         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5022         oldshmctl.
5023         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5024         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5025         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5026         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5027         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5028         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5029         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5030         Likewise.
5031         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5032         Likewise.
5033         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5034         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5035         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5036         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5037         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5038         implementation.
5039         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5040         if it is defined.
5042         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5043         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5044         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5045         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5046         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5047         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5048         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5049         Likewise.
5050         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5051         Likewise.
5052         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5053         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5054         Define to __NR_osf_shmat.
5055         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5056         defined.
5058         * sysvipc/Makefile (tests): Add test-sysvsem.
5059         * sysvipc/test-sysvsem.c: New file.
5061         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5062         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5063         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5064         Likewise.
5065         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5066         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5067         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5068         Likewise.
5069         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5070         Likewise.
5071         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5072         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5073         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5074         add a comment about s390 syscall difference from default one.
5075         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5076         syscall if it is defined.
5078         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5079         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5080         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5081         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5082         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5083         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5084         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5085         Likewise.
5086         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5087         Likewise.
5088         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5089         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5090         defined.
5092         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5093         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5094         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5095         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5096         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5097         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5098         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5099         Likewise.
5100         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5101         Likewise.
5102         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5103         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5104         if it is defined.
5106         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5107         oldsemctl.
5108         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5109         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5110         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5111         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5112         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5113         implementation.
5114         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5115         syscall if it is defined.
5116         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5117         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5118         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5119         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5120         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5121         Likewise.
5122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5124         * sysvipc/Makefile (tests): Add test-sysvmsg.
5125         * sysvipc/test-sysvmsg.c: New file.
5126         * support/check.h (FAIL_UNSUPPORTED): New define.
5128         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5129         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5130         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5131         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5132         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5133         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5134         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5135         Likewise.
5136         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5139         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5140         define.
5142         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5143         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5144         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5145         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5146         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5147         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5148         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5149         Likewise.
5150         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5151         Likewise.
5152         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5153         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5154         if defined.
5156         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5157         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5158         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5159         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5160         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5161         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5162         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5163         Likewise.
5164         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5165         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5166         Likewise.
5167         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5168         if defined.
5169         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5171         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5172         oldmsgctl.
5173         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5174         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5175         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5176         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5177         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5178         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5179         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5180         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5181         Likewise.
5182         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5183         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5184         implementation.
5185         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5186         if defined.
5188         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5189         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5190         definition and define its own.
5191         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5192         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5193         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5194         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5195         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5196         definitions to common header.
5197         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5198         operation from ipc_ops.h.
5200         * sysdeps/unix/sysv/linux/kernel-features.h
5201         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5202         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5203         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5204         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5205         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5207         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5208         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5209         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5210         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5211         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5212         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5213         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5214         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5215         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5217 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5219         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5220         overflow in pointer addition.
5222 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5224         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5225         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5227         (strchr): Add __strchr_power8 to list of strchr functions.
5228         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5229         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5230         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5231         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5232         (strchr): Add __strchr_power8 to ifunc list.
5233         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5234         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5235         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5236         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5238 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5240         * support/Makefile (libsupport-routines): Add
5241         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5242         (tests): Add tst-support_record_failure.
5243         (tests-special): tst-support_record_failure-2.
5244         (tst-support_record_failure-2.out): Depend on
5245         tst-support_record_failure-2.sh and tst-support_record_failure.
5246         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5247         (support_test_verify_impl, support_record_failure)
5248         (support_report_failure, support_report_failure_reset): Declare.
5249         * support/support_test_main.c (adjust_exit_status): New function.
5250         (support_test_main): Call it to incorporate record test failures.
5251         * support/support_test_verify_impl.c: New file.
5252         * support/support_record_failure.c: Likewise.
5253         * support/tst-support_record_failure.c: Likewise.
5254         * support/tst-support_record_failure-2.sh: Likewise.
5255         * support/xunistd.h: Likewise.
5256         * support/xfork.c: Likewise.
5257         * support/xwaitpid.c: Likewise.
5259 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5261         * scripts/check-c++-types.sh: Add comments.
5263 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5265         [BZ #19514]
5266         * resolv/res_send.c: Fix typo in comment.
5267         * sysdeps/i386/i386-mcount.S: Likewise.
5268         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5269         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5270         * sysdeps/sparc/sparc-mcount.S: Likewise.
5272 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5274         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5275         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5276         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5277         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5278         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5279         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5280         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5281         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5283 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5285         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5287 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5289         [BZ #17252]
5290         * posix/unistd.h (getentropy): Declare.
5292 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5294         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5295         Remove.
5296         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5297         (cmd): Remove spoof, nospoof, spoofalert.
5298         (parse_line): Ignore spoof-related lines.
5299         (do_init): Do not process RESOLV_SPOOF_CHECK.
5301 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5303         [BZ #20964]
5304         sunrpc: Always obtain AF_INET addresses from NSS.
5305         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5306         * sunrpc/rpc_gethostbyname.c: New file.
5307         * sunrpc/Makefile (routines): Add it.
5308         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5309         * sunrpc/clnt_simp.c (callrpc): Likewise.
5310         * sunrpc/getrpcport.c (getrpcport): Likewise.
5312 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5314         * sunrpc/rpcinfo.c: Remove.
5315         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5317 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5319         [BZ #19387]
5320         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5321         addition.
5322         * string/test-memchr.c (do_test): Remove alignment limitation.
5323         (test_main): Add test that trigger BZ #19387.
5325 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5327         [BZ #7065]
5328         Enable stack protectore if requested by ./configure.
5329         * Makeconfig (+stack-protector): New variable.
5330         (+cflags): Use it.
5332 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5334         [BZ #7065]
5335         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5336         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5337         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5338         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5339         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5341 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5343         [BZ #7065]
5344         * login/Makefile (pt_chown-cflags): Remove.
5345         * nscd/Makefile (CFLAGS-nscd): Likewise.
5346         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5348 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5350         [BZ #7065]
5351         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5352         non-libc-linking testcase.
5354 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5355             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5356             Florian Weimer  <fweimer@redhat.com>
5358         [BZ #7065]
5359         PLT avoidance for __stack_chk_fail*.
5360         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5361         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5362         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5363         __stack_chk_fail_local alias.
5364         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5365         (__stack_chk_fail): Turn into hidden reference to
5366         __stack_chk_fail_local.
5368 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5370         [BZ #7065]
5371         * configure.ac: Add check for unsupported stack-protection level.
5372         (libc_cv_predef_stack_protector): Remove.
5373         (no_ssp): New variable.
5374         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5375         (stack_protector): Set to -fno-stack-protector similarly.
5376         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5377         (libc_cv_asm_set_directive): Likewise.
5378         (libc_cv_protected_data): Likewise.
5379         (libc_cv_z_combreloc): Likewise.
5380         (libc_cv_hashstyle): Likewise.
5381         (libc_cv_has_glob_dat): Likewise.
5382         (libc_cv_output_format): Likewise.
5383         (libc_cv_output_format): Likewise.
5384         (libc_cv_ehdr_start): Likewise.
5385         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5386         (LIBC_LINKER_FEATURE): Likewise.
5387         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5389 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5391         [BZ #7065]
5392         * elf/Makefile (dummy-stack-chk-fail): New.
5393         (librtld.map): Use it.
5395 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5397         [BZ #7065]
5398         Compile the dynamic linker without stack protection.
5399         * elf/Makefile (elide-stack-protector): New.
5400         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5401         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5402         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5403         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5405 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5407         [BZ #7065]
5408         * config.make.in (have-ssp, no-stack-protector): New.
5409         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5410         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5411         (CFLAGS-sbrk.op): Likewise.
5412         (CFLAGS-brk.o): Likewise.
5413         (CFLAGS-brk.op): Likewise.
5414         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5415         (CFLAGS-wordcopy.c): Likewise.
5417 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5419         [BZ #7065]
5420         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5421         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5422         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5423         (__ifunc_resolver): Use it.
5424         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5425         inhibit_stack_protector.
5426         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5427         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5428         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5429         (foo_protected_ifunc): Likewise.
5430         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5431         (foo_protected_ifunc): Likewise.
5432         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5433         * sysdeps/nacl/nacl_interface_query.c
5434         (nacl_interface_query_ifunc): Likewise.
5435         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5436         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5437         Likewise.
5438         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5439         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5440         the generated vDSO syscall resolver.
5442 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5443             Florian Weimer  <fweimer@redhat.com>
5445         [BZ #7065]
5446         Initialize the stack guard earlier when linking statically.
5447         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5448         (__pthread_initialize_minimal): Declare.
5449         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5450         declaration.
5451         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5452         stack canary and apply_irel initialization up.  Call
5453         __pthread_initialize_minimal only if linked in.
5454         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5455         constant values.
5456         (__pthread_initialize_minimal): Remove.
5457         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5458         (__pthread_initialize_minimal_internal): Do not call
5459         __libc_setup_tls.
5461 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5463         [BZ #7065]
5464         * configure.ac (libc_cv_ssp): Move up.
5465         (libc_cv_ssp_strong): Likewise.
5466         (libc_cv_ssp_all): New.
5467         (stack_protector): Augment, adding -fstack-protector-all.
5468         (no_stack_protector): New.
5469         (STACK_PROTECTOR_LEVEL): New.
5470         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5471         * manual/install.texi (--enable-stack-protector): Document it.
5472         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5474 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5476         * README.pretty-printers: Must specify CPPFLAGS-* also.
5477         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5478         (CPPFLAGS-test-mutex-printers.c): Define.
5479         (CPPFLAGS-test-condattr-printers.c): Define.
5480         (CPPFLAGS-test-cond-printers.c): Define.
5481         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5482         (CPPFLAGS-test-rwlock-printers.c): Define.
5484         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5485         (tests): Add tst-cancel-getpwuid_r.
5486         * nss/tst-cancel-getpwuid_r.c: New file.
5488         [BZ #11941]
5489         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5490         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5491         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5492         tst-nodelete-dlclose.
5493         (modules-names): Add tst-nodelete-dlclose-dso and
5494         tst-nodelete-dlclose-plugin.
5495         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5496         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5497         ($(objpfx)tst-nodelete-dlclose): Define.
5498         ($(objpfx)tst-nodelete-dlclose.out): Define.
5500 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5502         * scripts/test_printers_common.py: Log GDB output in case of
5503         Python detection failure.
5505 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5507         * configure.ac: Check for python3 or python.
5508         * configure: Regenerated.
5509         * config.make.in (PYTHON): New variable.
5510         * benchtests/Makefile: Don't define PYTHON.
5511         (bench): Define target only if PYTHON was defined.
5512         * Rules: Don't define PYTHON.
5513         Define pretty printer targets only if PYTHON was defined.
5514         (tests-printers): Add to tests-unsupported if PYTHON is not
5515         found.
5516         (python-flags, python-invoke): Remove.
5517         (tests-printers-out): Use PYTHON instead of python-invoke.
5519 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5521         [BZ #20978]
5522         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5523         Compare name == NULL, not name != NULL.
5525         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5526         trailing whitespace removed.
5527         * scripts/config.guess: Update to version 2016-10-02.
5528         * scripts/config.sub: Update to version 2016-11-19.
5529         * scripts/install-sh: Update to version 2016-01-11.22.
5530         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5531         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5533 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5535         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5536         (do_one_test) Restore original string so iteration works.
5537         * string/string-inlines.c (do_test): Create better input strings.
5538         (test_main) Reduce number of testruns.
5539         * string/string-inlines.c (__old_strsep_1c): New function.
5540         (__old_strsep_2c): Likewise.
5541         (__old_strsep_3c): Likewise.
5542         * string/strsep.c (__strsep): Remove case of small delim string.
5543         Call strcspn directly rather than strpbrk.
5544         * string/bits/string2.h (__strsep): Remove define.
5545         (__strsep_1c): Remove.
5546         (__strsep_2c): Remove.
5547         (__strsep_3c): Remove.
5548         (strsep): Remove.
5549         * sysdeps/unix/sysv/linux/internal_statvfs.c
5550         (__statvfs_getflags): Rename to __strsep.
5552 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5554         * csu/libc-tls.c (_dl_tls_setup): Remove.
5555         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5556         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5557         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5559 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5561         [BZ #7065]
5562         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5563         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5565 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5566             Florian Weimer  <fweimer@redhat.com>
5568         [BZ #7065]
5569         * csu/Makefile (tests): Empty assignment and document it.
5570         (tests-static): Remove.
5571         * csu/tst-empty.c: Move to...
5572         * misc/tst-empty.c: ... here.  Switch to new test driver.
5573         * csu/tst-atomic.c: Move to...
5574         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5575         * csu/tst-atomic-long.c: Move to...
5576         * misc/tst-atomic-long.c: ... here.
5577         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5578         tst-atomic-long.
5579         (tests-static): Add tst-empty.
5581 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5583         * manual/nss.texi: Change incorrect @vtable to @table.
5584         * manual/arith.texi: Convert @tables of variables to @vtables
5585         and remove unnecessary indexing.
5586         * manual/filesys.texi: Likewise.
5587         * manual/llio.texi: Likewise.
5588         * manual/memory.texi: Likewise.
5589         * manual/process.texi: Likewise.
5590         * manual/resource.texi: Likewise.
5591         * manual/search.texi: Likewise.
5592         * manual/signal.texi: Likewise.
5593         * manual/socket.texi: Likewise.
5594         * manual/stdio.texi: Likewise.
5595         * manual/sysinfo.texi: Likewise.
5596         * manual/syslog.texi: Likewise.
5597         * manual/terminal.texi: Likewise.
5598         * manual/time.texi: Likewise.
5599         * manual/users.texi: Likewise.
5601 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5603         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5604         (roundeven): New declaration.
5605         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5606         macro.
5607         * math/Versions (roundeven): New libm symbol at version
5608         GLIBC_2.25.
5609         (roundevenf): Likewise.
5610         (roundevenl): Likewise.
5611         * math/Makefile (libm-calls): Add s_roundevenF.
5612         * math/libm-test.inc (roundeven_test_data): New array.
5613         (roundeven_test): New function.
5614         (main): Call roundeven_test.
5615         * math/test-tgmath.c (NCALLS): Increase to 134.
5616         (F(compile_test)): Call roundeven.
5617         (F(roundeven)): New function.
5618         * manual/arith.texi (Rounding Functions): Document roundeven,
5619         roundevenf and roundevenl.
5620         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5621         * include/math.h (roundeven): Use libm_hidden_proto.
5622         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5623         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5624         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5625         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5626         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5627         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5628         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5629         roundeven.
5630         (CFLAGS-nldbl-roundeven.c): New variable.
5631         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5632         * sysdeps/nacl/libm.abilist: Update.
5633         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5635         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5637         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5638         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5639         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5640         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5642         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5643         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5646         Likewise.
5647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5648         Likewise.
5649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5650         Likewise.
5651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5652         Likewise.
5653         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5654         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5655         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5656         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5657         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5659         Likewise.
5660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5661         Likewise.
5662         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5663         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5664         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5666 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5668         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5669         preprocessor indentation inside #if.
5671 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5673         * math/libm-test.inc (fmt_ftostr): New function.
5674         (print_float, check_float_internal): Replace some uses of
5675         FTOSTR with uses of fmt_ftostr.
5676         (print_max_error, print_complex_max_error, print_function_ulps)
5677         (print_complex_function_ulps): Remove uses of the macros
5678         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5679         * math/test-double.h (FTOSTR): Define to strfromd.
5680         (PRINTF_EXPR): Delete.
5681         (PRINTF_XEXPR): Likewise.
5682         (PRINTF_NEXPR): Likewise.
5683         * math/test-float.h (FTOSTR): Define to strfromf.
5684         (PRINTF_EXPR): Delete.
5685         (PRINTF_XEXPR): Likewise.
5686         (PRINTF_NEXPR): Likewise.
5687         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5688         (PRINTF_EXPR): Delete.
5689         (PRINTF_XEXPR): Likewise.
5690         (PRINTF_NEXPR): Likewise.
5692 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5694         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5695         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5696         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5697         (__lll_lock_elision): Decrement adapt_count while unlocking
5698         instead of before locking.
5699         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5700         (__lll_trylock_elision): Likewise.
5701         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5702         (__lll_unlock_elision): Likewise.
5704 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5706         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5707         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5708         Use __libc_tbegin_retry macro.
5710 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5712         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5713         Add -msoft-float.
5714         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5715         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5716         Use __libc_t* transaction macros instead of __builtin_t*.
5717         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5718         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5720 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5722         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5723         (__lll_lock_elision): Use atomics to load / store adapt_count.
5724         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5725         (__lll_trylock_elision): Likewise.
5727 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5729         Do not require memset elimination in explicit_bzero test.
5730         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5731         (enum test_expectation): Add NO_EXPECTATIONS.
5732         (subtests): NO_EXPECTATIONS for ordinary clear.
5733         (check_test_buffer): Handle NO_EXPECTATIONS.
5734         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5736 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5738         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5739         (fmaxmag): New declaration.
5740         (fminmag): Likewise.
5741         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5742         macro.
5743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5744         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5745         (fmaxmagf): Likewise.
5746         (fmaxmagl): Likewise.
5747         (fminmag): Likewise.
5748         (fminmagf): Likewise.
5749         (fminmagl): Likewise.
5750         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5751         * math/s_fmaxmag_template.c: New file.
5752         * math/s_fminmag_template.c: Likewise.
5753         * math/libm-test.inc (fmaxmag_test_data): New array.
5754         (fmaxmag_test): New function.
5755         (fminmag_test_data): New array.
5756         (fminmag_test): New function.
5757         (main): Call fmaxmag_test and fminmag_test.
5758         * math/test-tgmath.c (NCALLS): Increase to 132.
5759         (F(compile_test)): Call fmaxmag and fminmag.
5760         (F(fminmag)): New function.
5761         (F(fmaxmag)): Likewise.
5762         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5763         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5764         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5765         fminmag.
5766         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5767         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5768         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5769         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5770         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5771         and fminmag.
5772         (CFLAGS-nldbl-fmaxmag.c): New variable.
5773         (CFLAGS-nldbl-fminmag.c): Likewise.
5774         * sysdeps/nacl/libm.abilist: Update.
5775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5777         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5778         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5781         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5783         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5786         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5788         Likewise.
5789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5790         Likewise.
5791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5792         Likewise.
5793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5794         Likewise.
5795         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5796         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5799         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5803         Likewise.
5804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5805         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5806         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5808 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5810         [BZ #20973]
5811         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5812         wake-up in robust mutexes.
5813         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5815 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5817         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5818         (CFLAGS-bench-fmaxf.c): New rule.
5819         (CFLAGS-bench-fminf.c): Likewise.
5820         * benchtests/fmaxf-inputs: New file.
5821         * benchtests/fminf-inputs: Likewise.
5823         * benchtests/Makefile (bench-math): Add fmin and fmax.
5824         (CFLAGS-bench-fmax.c): New rule.
5825         (CFLAGS-bench-fmin.c): Likewise.
5826         * benchtests/fmax-inputs: New file.
5827         * benchtests/fmin-inputs: Likewise.
5829         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5830         parenthesis.
5831         (CMDLINE_PROCESS): Define using function instead of macro.
5832         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5833         of test-skeleton.
5834         * benchtests/bench-memchr.c: Likewise.
5835         * benchtests/bench-memcmp.c: Likewise.
5836         * benchtests/bench-memcpy-large.c: Likewise.
5837         * benchtests/bench-memcpy.c: Likewise.
5838         * benchtests/bench-memmem.c: Likewise.
5839         * benchtests/bench-memmove-large.c: Likewise.
5840         * benchtests/bench-memmove.c: Likewise.
5841         * benchtests/bench-memset-large.c: Likewise.
5842         * benchtests/bench-memset.c: Likewise.
5843         * benchtests/bench-rawmemchr.c: Likewise.
5844         * benchtests/bench-strcasecmp.c: Likewise.
5845         * benchtests/bench-strcasestr.c: Likewise.
5846         * benchtests/bench-strcat.c: Likewise.
5847         * benchtests/bench-strchr.c: Likewise.
5848         * benchtests/bench-strcmp.c: Likewise.
5849         * benchtests/bench-strcpy.c: Likewise.
5850         * benchtests/bench-strcpy_chk.c: Likewise.
5851         * benchtests/bench-strlen.c: Likewise.
5852         * benchtests/bench-strncasecmp.c: Likewise.
5853         * benchtests/bench-strncmp.c: Likewise.
5854         * benchtests/bench-strncpy.c: Likewise.
5855         * benchtests/bench-strnlen.c: Likewise.
5856         * benchtests/bench-strpbrk.c: Likewise.
5857         * benchtests/bench-strrchr.c: Likewise.
5858         * benchtests/bench-strsep.c: Likewise.
5859         * benchtests/bench-strspn.c: Likewise.
5860         * benchtests/bench-strstr.c: Likewise.
5861         * benchtests/bench-strtok.c: Likewise.
5863 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5865         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5866         stepping identification.
5867         (init_cpu_features): Add handle of Haswell.
5869 2016-11-25  Jim Meyering  <meyering@fb.com>
5871         [BZ #20386]
5872         Let gcc detect assert(a = 1) errors.
5873         * assert/assert.h (assert): Rewrite, retaining the old definintion
5874         when required, but otherwise putting the expression as-is in an "if"
5875         expression (hence, with no added parentheses) within a statement
5876         expression.
5878 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5880         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5881         DSO.
5883 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5885         * Rules (python-flags, python-invoke): New.
5886         ($(test-printers-out)): Use $(python-flags).
5888 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5890         * manual/arith.texi (Math Error Reporting): Document that sNaN
5891         arguments are not considered domain errors.
5893 2016-12-16  Zack Weinberg <zackw@panix.com>
5894             Florian Weimer <fweimer@redhat.com>
5895             Nick Mathewson <nickm@torproject.org>
5897         * string/explicit_bzero.c: New routine.
5898         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5899         * string/Makefile (routines, strop-tests, tests): Add them.
5900         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5901         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5903         * debug/explicit_bzero_chk.c: New routine.
5904         * debug/Makefile (routines): Add it.
5905         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5906         * string/bits/string3.h: Fortify explicit_bzero.
5908         * manual/string.texi: Document explicit_bzero.
5909         * NEWS: Mention addition of explicit_bzero.
5911         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5912         data before returning, using explicit_bzero.
5913         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5914         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5915         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5917         * include/string.h: Redirect internal uses of explicit_bzero
5918         to __explicit_bzero_chk[_internal].
5919         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5920         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5921         * sysdeps/arm/nacl/libc.abilist
5922         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5923         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5924         * sysdeps/unix/sysv/linux/arm/libc.abilist
5925         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5926         * sysdeps/unix/sysv/linux/i386/libc.abilist
5927         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5928         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5929         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5930         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5931         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5932         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5933         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5934         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5935         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5940         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5941         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5942         * sysdeps/unix/sysv/linux/sh/libc.abilist
5943         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5944         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5947         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5949         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5950         Add entries for explicit_bzero and __explicit_bzero_chk.
5952 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5954         * math/fenv.h
5955         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5956         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5957         * math/test-fe-snans-always-signal.c: New file.
5958         * math/Makefile (tests): Add test-fe-snans-always-signal.
5959         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5960         * manual/arith.texi (Infinity and NaN): Document
5961         FE_SNANS_ALWAYS_SIGNAL.
5963 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5965         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5966         bracket.
5968 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5970         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5971         before calling execv.
5973 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5975         [BZ #20971]
5976         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5977         overflow in pointer addition.
5978         * string/test-memchr.c (do_test): Add an argument to pass as
5979         the size on memchr.
5980         (test_main): Add check for SIZE_MAX.
5982 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5984         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5985         (libm-calls): Add w_scalblnF.
5986         * math/w_scalbln.c: Remove.
5987         * math/w_scalblnf.c: Likewise.
5988         * math/w_scalblnl.c: Likewise.
5989         * math/w_scalbln_template.c: New file with type-generic
5990         implementation based on math/w_scalbln.c.
5991         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5992         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5994 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5996         [BZ #20947]
5997         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5998         either is a signaling NaN.
5999         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6000         follow fmaxl more closely.
6001         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6002         when either is a signaling NaN.
6003         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6004         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6005         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6006         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6007         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6008         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6009         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6010         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6011         (fmin_test_data): Likewise.
6013 2016-12-15  Andreas Schwab  <schwab@suse.de>
6015         * support/support_test_main.c (support_test_main): Don't shadow
6016         file-local variable test_pid.
6018 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6020         [BZ #20947]
6021         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6022         either is a signaling NaN.
6023         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6025 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6027         [BZ #20947]
6028         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6029         when either is a signaling NaN.
6030         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6032         * bits/long-double.h: New file.
6033         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6034         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6035         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6036         * sysdeps/mips/bits/long-double.h: Likewise.
6037         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6038         * math/Makefile (headers): Add bits/long-double.h.
6039         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6040         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6041         <bits/wordsize.h>.
6042         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6043         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6044         * math/math.h: Do not include <bits/mathdef.h>.
6045         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6046         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6047         inclusion.
6048         * sysdeps/ia64/bits/mathdef.h: Remove file.
6049         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6050         * sysdeps/mips/bits/mathdef.h: Likewise.
6051         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6052         * sysdeps/s390/bits/mathdef.h: Likewise.
6053         * sysdeps/sparc/bits/mathdef.h: Likewise.
6054         * sysdeps/x86/bits/mathdef.h: Likewise.
6055         * sysdeps/s390/s390-32/bits/wordsize.h
6056         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6057         conditional code.
6058         * sysdeps/s390/s390-64/bits/wordsize.h
6059         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6060         Likewise.
6061         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6062         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6063         Likewise.
6064         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6065         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6066         Likewise.
6067         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6068         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6069         Likewise.
6071         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6072         <linux/falloc.h>.
6073         (FALLOC_FL_KEEP_SIZE): Remove.
6074         (FALLOC_FL_PUNCH_HOLE): Likewise.
6075         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6076         (FALLOC_FL_ZERO_RANGE): Likewise.
6078 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6080         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6082 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6084         * sysdeps/unix/sysv/linux/renameat.c: New file.
6085         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6087         * sysdeps/unix/sysv/linux/rename.c: New file.
6088         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6090 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6092         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6093         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6094         * string/strtok_r.c (__strtok_r): Optimize for performance.
6095         * string/string-inlines.c (__old_strtok_r_1c): New function.
6096         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6098 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6100         * math/Makefile (gen-libm-calls): Add w_log1pF.
6101         (libm-calls): Remove w_log1pF.
6102         * math/w_log1p.c: Remove.
6103         * math/w_log1pf.c: Likewise.
6104         * math/w_log1pl.c: Likewise.
6105         * math/w_log1p_template.c: New file with type-generic
6106         implementation based on math/w_log1p.c.
6107         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6108         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6110 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6112         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6114 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6116         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6117         kernel version to 4.9.
6119 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6121         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6122         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6124 2016-12-13  Andreas Schwab  <schwab@suse.de>
6126         * sysdeps/powerpc/dl-procinfo.c: Don't define
6127         _dl_powerpc_platforms.
6128         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6129         constants instead of referencing _dl_powerpc_platforms.
6130         (_dl_platform_string): Remove.
6132 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6134         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6136 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6138         * Rules (binaries-shared-tests, binaries-pie-tests)
6139         (binaries-static-tests): Link with $(link-extra-libs-tests).
6140         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6141         Remove $(link-extra-libs-tests).
6143 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6145         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6146         (sysdep_routines): Add strncmp_power9.
6147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6148         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6149         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6150         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6151         (strncmp): Add __strncmp_power9 to ifunc list.
6152         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6154 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6156         [BZ #17252]
6157         Add getentropy, getrandom.
6158         * stdlib/sys/random.h: New file.
6159         (headers): Add it.
6160         * stdlib/Makefile (routines): Add getentropy, getrandom.
6161         (tests): Add tst-getrandom.
6162         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6163         * stdlib/getentropy.c: New file.
6164         * stdlib/getrandom.c: Likewise.
6165         * stdlib/tst-getrandom.c: Likewise.
6166         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6167         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6168         * manual/crypt.texi (Unpredictable Bytes): New section.
6169         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6170         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6171         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6172         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6173         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6174         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6175         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6176         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6177         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6178         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6179         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6180         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6181         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6182         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6183         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6184         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6186         Likewise.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6188         Likewise.
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6191         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6192         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6193         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6194         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6195         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6198         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6199         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6200         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6202 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6204         [BZ #20956]
6205         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6206         as additional compiler barriers.
6207         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6208         (fn2, do_test): Declare with external linkage.
6209         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6210         (do_test): Declare with external linkage.
6211         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6212         (do_test): Declare with external linkage.
6213         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6214         (do_test): Declare with external linkage.
6216 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6218         * support/support_test_main.c (support_test_main): Use correct
6219         timeout.
6221 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6222             Florian Weimer  <fweimer@redhat.com>
6224         [BZ #16421]
6225         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6226         and __u6_addr32 members.
6227         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6228         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6229         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6230         Use __u6_addr32.
6231         * inet/tst-checks.c: Use <support/test-driver.c>
6232         * inet/tst-checks-posix.c: New file.
6233         * inet/Makefile (tests): Add it.
6234         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6236 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6238         New subdirectory support for build and test infrastructure.
6239         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6240         setting install-lib.
6241         * Makeconfig (link-extra-libs-tests): Define.
6242         (+link-pie-tests, +link-static-tests, +link-tests): Use
6243         link-extra-libs-tests.
6244         (rpath-dirs, all-subdirs): Add support.
6245         (built-modules): Add libsupport.
6246         (libsupport): Define.
6247         * support: New directory.
6248         * support/Makefile: New file.
6249         * support/check.c: Likewise.
6250         * support/check.h: Likewise.
6251         * support/delayed_exit.c: Likewise.
6252         * support/ignore_stderr.c: Likewise.
6253         * support/oom_error.c: Likewise.
6254         * support/set_fortify_handler.c: Likewise.
6255         * support/support.h: Likewise.
6256         * support/temp_file-internal.h: Likewise.
6257         * support/temp_file.c: Likewise.
6258         * support/test-driver.c: Likewise.
6259         * support/test-driver.h: Likewise.
6260         * support/test_main.c: Likewise.
6261         * support/write_message.c: Likewise.
6262         * support/xasprintf.c: Likewise.
6263         * support/xcalloc.c: Likewise.
6264         * support/xmalloc.c: Likewise.
6265         * support/xpthread_barrier_destroy.c: Likewise.
6266         * support/xpthread_barrier_init.c: Likewise.
6267         * support/xpthread_barrier_wait.c: Likewise.
6268         * support/xpthread_cancel.c: Likewise.
6269         * support/xpthread_check_return.c: Likewise.
6270         * support/xpthread_cond_wait.c: Likewise.
6271         * support/xpthread_create.c: Likewise.
6272         * support/xpthread_detach.c: Likewise.
6273         * support/xpthread_join.c: Likewise.
6274         * support/xpthread_mutex_lock.c: Likewise.
6275         * support/xpthread_mutex_unlock.c: Likewise.
6276         * support/xpthread_sigmask.c: Likewise.
6277         * support/xpthread_spin_lock.c: Likewise.
6278         * support/xpthread_spin_unlock.c: Likewise.
6279         * support/xrealloc.c: Likewise.
6280         * support/xsignal.h: Likewise.
6281         * support/xthread.h: Likewise.
6282         * support_tempfile.h: Likewise.
6283         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6284         (TEST_DATA_LIMIT): Remove unused macro.
6285         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6286         <support/check.h>.
6287         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6288         (ignore_stderr, set_fortify_handler): Remove.  Now in
6289         <support/support.h>.
6290         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6291         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6292         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6293         (xpthread_join): Remove.  Now in <support/xthread.h>.
6294         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6295         Introduce legacy wrappers.
6296         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6297         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6298         (write_message): Remove.
6299         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6300         test-skeleton.c.
6301         * io/test-open-tmpfile: Likewise.
6302         * io/tst-posix_fallocate-common.c: Likewise.
6303         * libio/tst-fseek.c: Likewise.
6304         * malloc/tst-malloc-backtrace.c: Likewise.
6305         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6306         * malloc/tst-malloc-thread-exit.c: Likewise.
6307         * nptl/tst-cancel7.c: Likewise.
6308         * nptl/tst-cleanup0.c: Likewise.
6309         * posix/tst-posix_fadvise-common.c: Likewise.
6310         * rt/tst-shm.c: Likewise.
6311         * time/bug-getdate1.c: Likewise.
6312         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6313         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6314         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6316 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6318         * Rules [$(run-built-tests) != no] (tests-expected): Add
6319         $(tests-printers).
6320         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6322 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6324         [BZ #20539]
6325         * math/Makefile (install-lib-ldscripts): Add libm.a.
6326         (install_subdir): Remove.
6327         (install-others): Add.
6328         ($(inst_libdir)/libm.a): Add rule for installation as
6329         linker script.
6330         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6332 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6334         * INSTALL: Regenerated.
6335         * Makeconfig: Add comments and whitespace to make the control flow
6336         clearer.
6337         (+link-printers-tests, +link-pie-printers-tests,
6338         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6339         built-rtld-LDFLAGS, link-libc-rpath,
6340         link-libc-tests-after-rpath-link,
6341         link-libc-printers-tests): New.
6342         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6343         link-libc-tests): Use the new variables as required.
6344         * Makerules ($(py-const)): New rule.
6345         generated: Add $(py-const).
6346         * README.pretty-printers: New file.
6347         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6348         (others): Depend on $(py-const).
6349         (tests): Depend on $(tests-printers-programs) or
6350         $(tests-printers-out),
6351         as required.  Pass $(tests-printers) to merge-test-results.sh.
6352         * manual/install.texi: Add requirements for testing the pretty
6353         printers.
6354         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6355         tests-printers, CFLAGS-test-mutexattr-printers.c
6356         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6357         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6358         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6359         * nptl/nptl-printers.py: New file.
6360         * nptl/nptl_lock_constants.pysym: Likewise.
6361         * nptl/test-cond-printers.c: Likewise.
6362         * nptl/test-cond-printers.py: Likewise.
6363         * nptl/test-condattr-printers.c: Likewise.
6364         * nptl/test-condattr-printers.py: Likewise.
6365         * nptl/test-mutex-printers.c: Likewise.
6366         * nptl/test-mutex-printers.py: Likewise.
6367         * nptl/test-mutexattr-printers.c: Likewise.
6368         * nptl/test-mutexattr-printers.py: Likewise.
6369         * nptl/test-rwlock-printers.c: Likewise.
6370         * nptl/test-rwlock-printers.py: Likewise.
6371         * nptl/test-rwlockattr-printers.c: Likewise.
6372         * nptl/test-rwlockattr-printers.py: Likewise.
6373         * scripts/gen-py-const.awk: Likewise.
6374         * scripts/test_printers_common.py: Likewise.
6375         * scripts/test_printers_exceptions.py: Likewise.
6377 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6379         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6380         argument.
6381         (Glibc.build_glibc): Strip installed shared libraries if
6382         requested.
6383         (get_parser): Add --strip option.
6384         (main): Update Context call.
6386 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6387             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6389         [BZ #20847]
6390         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6391         array bounds for else branch.
6392         (__execvpe): Style fixes.
6393         * posix/tst-vfork3.c (run_script): New function.
6394         (create_script): Likewise.
6395         (do_test): Use run_script internal function.
6396         (do_prepare): Use create_script internal function.
6398 2016-12-07  Andreas Schwab  <schwab@suse.de>
6400         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6401         (__elision_available): Don't declare.
6402         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6403         (__elision_available): Don't define.
6404         (elision_init): Don't set __elision_available.
6406 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #20940]
6409         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6410         return Inf for arguments Inf and sNaN.
6411         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6412         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6413         Likewise.
6414         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6415         Likewise.
6416         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6417         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6418         for arguments Inf and sNaN.  When returning a NaN, compute it by
6419         arithmetic on the arguments.
6420         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6421         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6422         arguments.
6424 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6426         [BZ #20916]
6427         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6428         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6429         to compute result.
6430         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6431         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6433 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6435         * include/atomic.h (__atomic_check_size_ls): New.
6436         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6437         atomic_store_release): Use it.
6438         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6439         (elision_adapt, ELIDE_LOCK): Use atomics.
6440         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6441         atomics and improve code comments.
6442         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6443         (__lll_trylock_elision): Likewise.
6445 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6447         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6448         programs.
6450 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #20916]
6453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6454         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6455         arguments to compute result.
6456         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6457         1 for arguments (sNaN, 0) or (1, sNaN).
6458         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6461         [BZ #20919]
6462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6463         NaN first argument when raised to power 0.
6464         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6465         raising to power zero.
6466         * math/w_powf.c (__powf): Likewise.
6467         * math/w_powl.c (__powl): Likewise.
6468         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6469         pow (0, 0) or pow (NaN, 0).
6471 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6473         [BZ #20918]
6474         * configure.ac: Test for static NSS cryptographic libraries and set
6475         libc_cv_static_nss_crypt.
6476         * configure: Regenerate.
6477         * config.make.in (static-nss-crypt): Define.
6478         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6479         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6480         (CFLAGS-tst-linkall-static.c): Define.
6481         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6482         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6483         ($(objpfx)tst-linkall-static): Define.
6484         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6485         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6487 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6489         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6490         (one-hundred, tst-tls-many-dynamic-modules): Define.
6491         (modules-names): Add $(tst-tls-many-dynamic-modules).
6492         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6493         macros.
6494         (tst-tls-manydynamic): Link against libdl, libpthread.
6495         (tst-tls-manydynamic.out): The test needs the test modules at run
6496         time.
6497         * elf/tst-tls-manydynamic.c: New file.
6498         * elf/tst-tls-manydynamic.h: Likewise.
6499         * elf/tst-tls-manydynamicmod.c: Likewise.
6501 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6503         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6504         (TLS_DTV_UNALLOCATED): Add.
6505         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6506         offsets.
6508 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6510         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6512 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6514         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6515         Add -fno-optimize-sibling-calls.
6517 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6519         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6520         New declaration.
6521         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6522         macro.
6523         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6524         New macro.
6525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6527         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6528         (llogbf): Likewise.
6529         (llogbl): Likewise.
6530         * math/Makefile (gen-libm-calls): Add w_llogbF.
6531         (tests): Add test-fp-llogb-constants.
6532         * math/w_llogb_template.c: New file.  Based on
6533         math/w_ilogb_template.c.
6534         * math/libm-test.inc (llogb_test_data): New array.
6535         (llogb_test): New function.
6536         (main): Call llogb_test.
6537         * math/test-fp-llogb-constants.c: New file.  Based on
6538         math/test-fp-ilogb-constants.c.
6539         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6540         (do_test): Call check_return_llogb.
6541         * math/test-tgmath.c (NCALLS): Increase to 126.
6542         (F(compile_test)): Call llogb.
6543         (F(llogb)): New function.
6544         * manual/math.texi (Exponents and Logarithms): Document llogb,
6545         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6546         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6547         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6548         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6549         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6550         (CFLAGS-nldbl-llogb.c): New variable.
6551         * sysdeps/nacl/libm.abilist: Update.
6552         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6559         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6560         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6561         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6562         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6563         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6574         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6575         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6578         Likewise.
6579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6582         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6583         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6585 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6587         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6588         _Float128 instead of long double.
6589         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6591         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6592         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6593         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6594         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6595         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6596         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6597         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6598         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6599         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6600         Likewise.
6602 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6604         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6605         Remove redirection to __strrchr_ppc.
6607 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6609         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6610         (sysdep_routines): Add strcmp_power9.
6611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6612         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6613         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6614         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6615         (strcmp): Add __strcmp_power9 to ifunc list.
6616         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6618 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6620         * bits/fp-logb.h: New file.
6621         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6622         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6623         * sysdeps/x86/bits/fp-logb.h: Likewise.
6624         * math/Makefile (headers): Add bits/fp-logb.h.
6625         * math/math.h: Include <bits/fp-logb.h>.
6626         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6627         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6628         * bits/mathdef.h (FP_ILOGB0): Remove.
6629         (FP_ILOGBNAN): Likewise.
6630         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6631         (FP_ILOGBNAN): Likewise.
6632         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6633         (FP_ILOGBNAN): Likewise.
6634         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6635         (FP_ILOGBNAN): Likewise.
6636         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6637         (FP_ILOGBNAN): Likewise.
6638         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6639         (FP_ILOGBNAN): Likewise.
6640         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6641         (FP_ILOGBNAN): Likewise.
6642         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6643         (FP_ILOGBNAN): Likewise.
6644         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6645         (FP_ILOGBNAN): Likewise.
6646         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6647         (FP_ILOGBNAN): Likewise.
6649         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6650         time module.
6651         (Context.__init__): Initialize self.logsdir_old.
6652         (Context.run_builds): Handle bot action.
6653         (Context.bot_cycle): Copy logs directory before running builds.
6654         (Context.bot_run_self): Take argument for whether to check
6655         subprocess result.  Flush stdout before running subprocess.
6656         (Context.bot): New function.
6657         (get_parser): Allow bot action.
6659 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6661         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6662         Import email.mime.text, email.utils and smtplib modules.
6663         (Context.__init__): Initialize self.bot_config_json.
6664         (Context.run_builds): Handle bot-cycle action.
6665         (Context.load_bot_config_json): New function.
6666         (Context.part_build_old): Likewise.
6667         (Context.bot_cycle): Likewise.
6668         (Context.bot_build_mail): Likewise.
6669         (Context.bot_run_self): Likewise.
6670         (get_parser): Allow bot-cycle action.
6672 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6675         Remove redirection to __stpcpy_ppc.
6677 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6679         Remove __libc_memalign from ld.so because it is unused.
6680         * elf/dl-minimal.c: Update comment on the malloc implementation.
6681         (malloc): Renamed from __libc_memalign, replacing the original
6682         malloc implementation.  Replace the align parameter with
6683         MALLOC_ALIGNMENT.
6684         * elf/Versions (ld): Update comment and remove __libc_memalign.
6685         * sysdeps/nacl/ld.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6687         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6688         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6703         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6712         * sysdeps/generic/localplt.data (ld.so): Likewise.
6713         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6714         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6715         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6716         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6717         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6718         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6719         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6720         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6721         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6723         (ld.so): Likewise.
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6725         (ld.so): Likewise.
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6727         Likewise.
6728         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6729         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6730         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6731         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6732         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6734 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6736         [BZ #16628]
6737         Implement _dl_catch_error, _dl_signal_error in libc.so.
6738         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6739         (catch_hook): Define as thread-local or regular variable,
6740         depending on DL_ERROR_BOOTSTRAP.
6741         (CATCH_HOOK): Remove.
6742         (dl_signal_error, _dl_catch_error): Use
6743         catch_hook.  Add hidden definition for libc.
6744         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6745         for DL_ERROR_BOOTSTRAP only.
6746         * elf/dl-error.c: New file.
6747         * elf/dl-error-minimal.c: Likewise.
6748         * elf/tst-latepthread.c: Likewise.
6749         * elf/tst-latepthreadmod.c: Likewise.
6750         * elf/Makefile (routines): Add dl-error.
6751         (dl-routines): Remove dl-error.
6752         (rtld-routines): Add dl-error-minimal.
6753         [build-shared] (tests): Add tst-latepthread.
6754         (module-names): Add tst-latepthreadmod.
6755         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6756         symbol.
6757         (tst-latepthreadmod.so): Link against libpthread.
6758         (tst-latepthread): Link against libdbl.
6759         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6760         _dl_catch_error.
6761         [ld] (GLIBC_PRIVATE): Likewise.
6762         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6763         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6764         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6765         directly.
6766         * elf/dl-tsd.c: Remove file.
6767         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6768         _dl_catch_error, _dl_signal_error.
6769         (_dl_initial_error_catch_tsd): Remove definition.
6770         (do_preload): Remove initialization of dl_error_catch_tsd.
6771         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6772         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6773         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6774         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6775         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6776         set dl_error_catch_tsd.
6777         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6778         _dl_error_catch_tsd member.
6779         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6780         members.
6781         (_dl_initial_error_catch_tsd): Remove declaration.
6782         (_dl_dprintf): Provide definition for use outside of ld.so.
6783         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6784         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6785         prototype for libc.
6786         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6787         _dl_catch_error.
6788         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6789         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6790         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6791         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6792         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6793         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6794         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6795         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6796         Likewise.
6797         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6799         (ld.so): Likewise.
6800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6801         (ld.so): Likewise.
6802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6803         Likewise.
6804         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6805         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6806         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6807         Likewise.
6808         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6809         Likewise.
6810         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6812 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6814         [BZ #4099]
6815         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6816         _IO_BUFSIZ (8192).
6818 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6820         * PROJECTS: Remove file.
6822 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6824         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6826 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6827             Steve Ellcey  <sellcey@caviumnetworks.com>
6829         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6830         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6831         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6832         fxstatat.
6833         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6834         lxstat.
6835         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6837         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6838         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6839         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6840         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6841         __xstat.
6843 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6845         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6846         Define.
6847         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6848         definition.
6850 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6852         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6853         version and turn into strong alias.  Remove compat symbol.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6856         (__longjmp): Remove.
6858 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6860         * bits/fp-fast.h: New file.
6861         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6862         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6863         * math/Makefile (headers): Add bits/fp-fast.h.
6864         * math/math.h: Include <bits/fp-fast.h>.
6865         * bits/mathdef.h (FP_FAST_FMA): Remove.
6866         (FP_FAST_FMAF): Likewise.
6867         (FP_FAST_FMAL): Likewise.
6868         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6869         (FP_FAST_FMAF): Likewise.
6870         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6871         (FP_FAST_FMAF): Likewise.
6872         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6873         (FP_FAST_FMAF): Likewise.
6874         (FP_FAST_FMAL): Likewise.
6875         * sysdeps/arm/bits/mathdef.h: Remove file.
6876         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6877         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6878         * sysdeps/tile/bits/mathdef.h: Likewise.
6880 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6882         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6883         * math/w_ilogb.c: Remove.
6884         * math/w_ilogbf.c: Likewise.
6885         * math/w_ilogbl.c: Likewise.
6886         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6887         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6888         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6889         (libm-calls): Remove w_ilogbF.
6890         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6891         (LDOUBLE_ilogbl_libm_version): New macro.
6893         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6895         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6896         [!__STRICT_ANSI__ && !__cplusplus].
6898 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6900         [BZ #20750]
6901         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6902         of PIC.
6904 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6905             Yury Norov  <ynorov@caviumnetworks.com>
6906             Steve Ellcey  <sellcey@caviumnetworks.com>
6908         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6909         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6910         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6911         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6912         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6913         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6914         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6915         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6916         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6917         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6918         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6919         to get correct reg name for ILP32.
6920         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6921         (RELA_SIZE): New Macro.
6922         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6923         to support ILP32.
6924         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6925         cast for ILP32 mode.
6926         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6927         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6928         * sysdeps/aarch64/memset.S (__memset): Ditto.
6929         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6930         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6931         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6932         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6933         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6934         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6935         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6936         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6937         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6938         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6939         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6940         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6941         change PTR_MANGLE call to use register numbers instead of names.
6942         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6943         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6944         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6945         * sysdeps/aarch64/start.S (_start): Ditto.
6946         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6947         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6948         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6949         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6950         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6951         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6952         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6953         Make defined values dependent on __ILP32__.
6954         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6955         (sem_t): Change __align type.
6956         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6957         PTR_SIZE): New Macros.
6958         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6959         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6960         Set when in ILP32 mode.
6961         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6962         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6963         Set elf flags for ILP32.
6964         (add_system_dir): Set ILP32 library directories.
6965         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6966         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6967         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6968         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6969         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6970         New Macros.
6971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6973 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6975         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6976         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6977         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6979 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6981         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6982         <asm/cachectl.h>.
6984 2016-11-27  Zack Weinberg  <zackw@panix.com>
6986         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6987         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6989 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6991         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6992         error_t to fix usage in C++ programs.
6994 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6996         * scripts/build-many-glibcs.py: Import datetime module.
6997         (Context.__init__): Load JSON build state.  Initialize list of
6998         status logs.
6999         (Context.run_builds): Update saved build state.
7000         (Context.add_makefile_cmdlist): Update list of status logs.
7001         (Context.load_build_state_json): New function.
7002         (Context.store_build_state_json): Likewise.
7003         (Context.clear_last_build_state): Likewise.
7004         (Context.update_build_state): Likewise.
7005         (CommandList.status_logs): Likewise.
7007 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7009         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7010         script being executed.
7011         (Context.get_script_text): New function.
7012         (Context.exec_self): Likewise.
7013         (Context.checkout): Re-exec script if changed by checkout process.
7015 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7017         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7018         (setpayloadsig): New declaration.
7019         * math/Versions (setpayloadsig): New libm symbol at version
7020         GLIBC_2.25.
7021         (setpayloadsigf): Likewise.
7022         (setpayloadsigl): Likewise.
7023         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7024         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7025         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7026         (setpayloadsig_test_data): New array.
7027         (setpayloadsig_test): New function.
7028         (main): Call setpayloadsig_test.
7029         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7030         setpayloadsigf and setpayloadsigl.
7031         * manual/libm-err-tab.pl: Update comment on interfaces without
7032         ulps tabulated.
7033         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7034         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7035         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7036         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7037         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7038         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7039         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7040         setpayloadsig.
7041         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7042         * sysdeps/nacl/libm.abilist: Update.
7043         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7047         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7054         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7056         Likewise.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7058         Likewise.
7059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7060         Likewise.
7061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7062         Likewise.
7063         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7069         Likewise.
7070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7071         Likewise.
7072         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7076         * scripts/build-many-glibcs.py: Import json module.
7077         (Context.__init__): Take replace_sources argument.  Load
7078         versions.json.
7079         (Context.load_versions_json): New function.
7080         (Context.store_json): Likewise.
7081         (Context.store_versions_json): Likewise.
7082         (Context.set_component_version): Likewise.
7083         (Context.checkout): Update versions.json.  Check for and handle
7084         changes of version.  Prefer previously explicitly specified
7085         version to default version.
7086         (Context.checkout_vcs): Return a revision identifier.
7087         (Context.git_checkout): Likewise.
7088         (Context.gcc_checkout): Likewise.
7089         (get_parser): Add --replace-sources option.
7090         (main): Pass replace_sources argument to Context call.
7092 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7094         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7095         * nptl/allocatestack.c (allocate_stack): Likewise.
7096         (__reclaim_stacks): Likewise.
7097         (setxid_signal_thread): Obtain pid through syscall.
7098         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7099         (sighandle_setxid): Likewise.
7100         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7101         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7102         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7103         Likewise.
7104         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7105         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7106         comment.
7107         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7108         * nptl/descr.h (struct pthread): Change comment about pid value.
7109         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7110         pid assert.
7111         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7112         Do not set pid value.
7113         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7114         pid cache check.
7115         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7116         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7117         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7118         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7119         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7120         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7121         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7122         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7123         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7124         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7125         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7126         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7127         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7128         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7129         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7130         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7131         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7132         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7133         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7134         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7135         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7136         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7137         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7138         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7139         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7142         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7143         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7144         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7145         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7146         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7147         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7148         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7149         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7150         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7151         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7152         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7153         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7154         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7155         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7156         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7157         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7160         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7161         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7162         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7163         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7164         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7165         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7166         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7167         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7168         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7169         struct access.
7170         (clone_test): Remove function.
7171         (do_test): Rewrite to take in consideration pid is not cached anymore.
7173 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7175         * bits/flt-eval-method.h: New file.
7176         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7177         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7178         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7179         * math/Makefile (headers): Add bits/flt-eval-method.h.
7180         * math/math.h: Include <bits/flt-eval-method.h>.
7181         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7182         [__USE_ISOC99] (double_t): Likewise.
7183         * bits/mathdef.h (float_t): Remove.
7184         (double_t): Likewise.
7185         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7186         (double_t): Likewise.
7187         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7188         (double_t): Likewise.
7189         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7190         (double_t): Likewise.
7191         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7192         (double_t): Likewise.
7193         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7194         (double_t): Likewise.
7195         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7196         (double_t): Likewise.
7197         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7198         (double_t): Likewise.
7199         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7200         (double_t): Likewise.
7201         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7202         (double_t): Likewise.
7203         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7204         (double_t): Likewise.
7205         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7206         (double_t): Likewise.
7207         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7208         (double_t): Likewise.
7209         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7210         (double_t): Likewise.
7212 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7214         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7215         instead of PIC.
7217 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7219         [BZ #20859]
7220         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7221         (-0x7fffffff) instead of 0x80000001.
7222         * math/test-fp-ilogb-constants.c: New file.
7223         * math/Makefile (tests): Add test-fp-ilogb-constants.
7225 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7227         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7228         (_init): Use it in place of hardcoded R_MIPS_JALR.
7229         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7230         (_init): Use it in place of hardcoded R_MIPS_JALR.
7231         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7232         (_init): Use it in place of hardcoded R_MIPS_JALR.
7234 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7236         [BZ #20787]
7237         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7238         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7239         (double_t): Do not define to double if [__x86_64__] when
7240         __FLT_EVAL_METHOD__ is nonzero.
7241         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7242         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7243         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7244         test-flt-eval-method-387 and test-flt-eval-method-sse.
7245         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7246         variable.
7247         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7249 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7251         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7252         use of -fno-isolate-erroneous-paths options for tilepro.
7254 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7256         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7257         structure initialization is no longer needed.
7259 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7261         [BZ #20855]
7262         * bits/mathdef.h (float_t): Define to float.
7263         * math/test-flt-eval-method.c: New file.
7264         * math/Makefile (tests): Add test-flt-eval-method.
7265         (CFLAGS-test-flt-eval-method.c): New variable.
7267 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7269         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7270         and __fstatfs.  Make them aliases of __fstatfs64 if
7271         STATFS_IS_STATFS64 is set to non-zero.
7272         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7273         and __statfs64.
7274         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7275         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7276         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7277         for __statfs and statfs.
7278         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7279         to 0.
7280         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7281         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7282         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7283         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7284         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7285         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7288         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7289         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7290         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7291         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7293 2016-11-22  Andreas Schwab  <schwab@suse.de>
7295         * misc/mkstemp.c: Include <fcntl.h>.
7296         * misc/mkstemps.c: Likewise.
7297         * misc/mkostemp.c: Likewise.
7298         * misc/mkostemps.c: Likewise.
7300 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7302         [BZ #20847]
7303         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7304         array bounds.
7305         (__execvpe): Likewise.
7307 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7309         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7310         -fno-isolate-erroneous-paths options for tilepro.
7312 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7314         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7315         to 0 when in 32 bit mode.
7316         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7317         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7318         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7319         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7321         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7322         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7323         XSTAT_IS_XSTAT64 test.
7324         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7325         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7326         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7327         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7328         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7329         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7330         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7331         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7332         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7333         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7334         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7336 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7338         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7339         (setpayload): New declaration.
7340         * math/Versions (setpayload): New libm symbol at version
7341         GLIBC_2.25.
7342         (setpayloadf): Likewise.
7343         (setpayloadl): Likewise.
7344         * math/Makefile (libm-calls): Add s_setpayloadF.
7345         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7346         test_Ff_b1_data.
7347         (RUN_TEST_Ff_b1): New macro.
7348         (RUN_TEST_LOOP_Ff_b1): Likewise.
7349         (canonicalize_test_data): Update type.
7350         (setpayload_test_data): New array.
7351         (setpayload_test): New function.
7352         (main): Call setpayload_test.
7353         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7354         setpayloadf and setpayloadl.
7355         * manual/libm-err-tab.pl: Update comment on interfaces without
7356         ulps tabulated.
7357         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7358         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7359         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7360         Likewise.
7361         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7362         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7363         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7364         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7365         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7366         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7367         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7368         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7369         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7370         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7371         setpayload.
7372         (CFLAGS-nldbl-setpayload.c): New variable.
7373         * sysdeps/nacl/libm.abilist: Update.
7374         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7375         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7376         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7377         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7378         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7379         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7380         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7381         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7382         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7383         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7384         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7385         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7387         Likewise.
7388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7389         Likewise.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7391         Likewise.
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7393         Likewise.
7394         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7395         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7396         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7397         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7398         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7400         Likewise.
7401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7402         Likewise.
7403         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7404         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7405         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7407 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7409         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7410         * include/unistd.h: Extend comment about __access_noerrno return
7411         semantics.
7412         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7413         (access_common): Correct typo for EACCES.
7415 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7417         * sysdeps/tile/math-tests.h: New file.
7419         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7420         (__old_set_dataplane): Rename from set_dataplane and make a
7421         compatibility symbol.
7422         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7423         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7424         sys/dataplane.h.
7426 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7428         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7429         script quote words in command output to log suitably for input to
7430         the shell.
7432 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7433             Maciej W. Rozycki  <macro@imgtec.com>
7435         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7436         `.Lno_weak_fn' label.
7437         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7438         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7440 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7441             Yury Norov  <ynorov@caviumnetworks.com>
7443         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7444         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7445         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7446         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7447         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7449         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7451         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7452         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7453         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7454         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7455         (sysdep_routines): Remove oldgetrlimit64.
7456         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7457         (sysdep_routines): Likewise.
7458         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7459         (sysdep_routines): Likewise.
7460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7461         [$(subdir) = resource] (sysdep_routines): Likewise.
7462         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7463         [$(subdir) = resource] (sysdep_routines): Likewise.
7464         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7465         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7466         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7467         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7468         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7469         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7470         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7471         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7472         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7473         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7474         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7475         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7476         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7477         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7478         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7479         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7480         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7481         setrlimit and getrlimit.
7482         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7483         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7484         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7488         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7489         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7490         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7491         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7492         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7493         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7494         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7495         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7496         (__old_getrlimit64): Add compatibility symbol.
7497         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7499 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7501         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7502         newly built gmp, mpfr and mpc.
7504         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7506 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7508         * conform/Makefile (linknamespace-libs): Rename to
7509         linknamespace-libs-thr.
7510         (linknamespace-libs-posix): New variable.
7511         (linknamespace-libs-xsi): Likewise.
7512         (linknamespace-libs-XPG3): Include libcrypt.a.
7513         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7514         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7515         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7516         (linknamespace-libs-XOPEN2K): Likewise.
7517         (linknamespace-libs-XOPEN2K8): Likewise.
7518         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7520         [BZ #20829]
7521         * stdio-common/Versions (__snprintf): Add to version
7522         GLIBC_PRIVATE.
7523         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7524         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7525         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7526         of snprintf.
7527         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7529 2016-11-16  Zack Weinberg  <zackw@panix.com>
7531         * string/string.h: Remove obsolete comment stating that
7532         strcoll_l and strxfrm_l have not yet been standardized.
7534 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7536         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7537         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7538         __access_noerrno.
7539         * io/access.c (__access_noerrno): New function.
7540         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7541         (hurd_fail_seterrno): Likewise.
7542         (access_common): Likewise.
7543         (__access_noerrno): Likewise.
7544         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7545         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7546         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7547         macro.
7549 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7551         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7552         Only declare fpregs if [__SH_FPU_ANY__].
7554 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7556         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7557         Make code unconditional.
7558         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7560 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7562         * manual/sysinfo.texi (S_APPEND): Delete.
7563         (S_IMMUTABLE): Likewise.
7565 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7566             Magnus Granberg  <zorry@gentoo.org>
7567             Mike Frysinger  <vapier@gentoo.org>
7569         [BZ #20662]
7570         * configure.ac (libc_cv_predef_stack_protector): Also check for
7571         __stack_chk_fail_local symbols.
7572         * configure: Regenerated.
7574 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7576         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7577         (libc_hidden_def): Remove redefinition.
7578         (__sigsetjmp): Add hidden definition.
7579         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7580         (libc_hidden_def): Remove redefinition.
7581         (__sigsetjmp): Add hidden definition.
7583 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7585         * scripts/build-many-glibcs.py (os.path): Do not import.
7586         (Context): Inherit explicitly from object.  Remove blank line
7587         between class and docstring.
7588         (Config): Likewise.
7589         (Glibc): Likewise.
7590         (Command): Likewise.
7591         (CommandList): Likewise.
7592         (Context.write_files): Store chmod mode in a variable.
7594         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7595         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7596         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7598 2016-11-14  Zack Weinberg  <zackw@panix.com>
7600         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7601         creating or re-creating it.
7603         * string/bits/string2.h: Fix typo in comment.
7605 2016-11-14  Zack Weinberg  <zackw@panix.com>
7607         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7608         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7609         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7610         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7611         of redirected function names.
7613         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7614         as well.  Document that MESSAGE must be a single string literal.
7616 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7618         * scripts/build-many-glibcs.py: New file.
7620         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7621         (do_test): Disable -Wmaybe-uninitialized around uses of
7622         except_mask.
7624         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7626 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7628         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7629         (atomic_store_release): Provide tilepro-specific implementations.
7631 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7633         * math/math.h (__MATH_TG): New macro.
7634         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7635         [__USE_ISOC99] (signbit): Likewise.
7636         [__USE_ISOC99] (isfinite): Likewise.
7637         [__USE_ISOC99] (isnan): Likewise.
7638         [__USE_ISOC99] (isinf): Likewise.
7639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7642         __MATH_TG and __MATH_EVAL_FMT2.
7643         * sysdeps/generic/math_private.h (fabs_tg): Define using
7644         __MATH_TG.
7645         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7646         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7647         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7648         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7649         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7650         macro.
7651         (__iscanonical): Likewise.
7652         (iscanonical): Define using __MATH_TG.
7654 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7656         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7657         guards.
7659         * sysdeps/unix/sysv/linux/access.c: New file.
7660         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7662 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7664         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7665         and __WORDSIZE32_PTRDIFF_LONG.
7667 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7669         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7671 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7673         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7674         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7675         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7676         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7677         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7679         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7680         * sysdeps/unix/sysv/linux/truncate.c: New file.
7681         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7682         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7683         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7684         Remove.
7685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7686         Likewise.
7688         * posix/tst-truncate-common.c: New file.
7689         * posix/tst-truncate.c: Use tst-truncate-common.c.
7690         * posix/tst-truncate64.c: Likewise and add LFS tests.
7691         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7692         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7693         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7694         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7695         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7697         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7698         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7699         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7700         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7701         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7702         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7703         Remove.
7704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7705         Likewise.
7707 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7709         [BZ #20790]
7710         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7711         to MAXLINESIZE.
7712         * sunrpc/bug20790.x: New file.
7713         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7714         variable.
7715         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7716         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7718         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7720         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7722         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7723         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7724         calloc, realloc, free, memalign and __libc_memalign rather than
7725         making them optional.
7727         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7728         for libc.so.
7730 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7732         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7733         ptw-lseek64.
7734         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7735         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7736         Likewise.
7737         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7738         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7739         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7740         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7741         * sysdeps/unix/sysv/linux/lseek.c: New file.
7742         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7743         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7744         __libc_lseek64 from auto-generation.
7745         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7746         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7748 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7750         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7751         * nptl/tst-cleanup1.c (do_test): Likewise.
7752         * nptl/tst-cleanup3.c (do_test): Likewise.
7753         * nptl/tst-key1.c (do_test): Likewise.
7754         * nptl/tst-key2.c (tf, do_test): Likewise.
7755         * nptl/tst-key3.c (tf, do_test): Likewise.
7756         * nptl/tst-stdio1.c (do_test): Likewise.
7757         * nptl/tst-stdio2.c (do_test): Likewise.
7759         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7760         * nptl/tst-kill6.c (handler): Likewise.
7761         * nptl/tst-tls2.c (CB): Likewise.
7762         * nptl/tst-tls3.c (CB): Likewise.
7764 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7766         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7768 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7769             Steve Ellcey  <sellcey@caviumnetworks.com>
7771         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7772           __ASSUME_ST_INO_64_BIT as 0
7773         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7774         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7775           over the code where __ASSUME_ST_INO_64_BIT is used.
7776         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7777         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7778         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7780 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7782         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7783         Document ABI exposure of the __kind offset.
7784         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7785         Mention reason for the __kind offset exposure in the ABI.
7786         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7787         Likewise.
7788         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7789         Likewise.
7790         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7791         Likewise.
7792         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7793         (struct __pthread_mutex_s): Likewise.
7794         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7795         Likewise.
7796         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7797         Likewise.
7798         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7799         Likewise.
7800         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7801         Likewise.
7802         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7803         Likewise.
7804         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7805         Likewise.
7806         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7807         (struct __pthread_mutex_s): Likewise.
7808         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7809         (struct __pthread_mutex_s): Likewise.
7810         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7811         Likewise.
7813 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7815         * test-skeleton.c: Document do_test usage.
7817 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7819         * iconv/gconv.h (__gconv_info): Define __data element using a
7820         zero-length array.
7822 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7824         * math/test-tgmath2.c: Split up test function.
7826 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7828         * Rules (tests-expected): New variable, depending on
7829         $(run-built-tests).
7830         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7831         $(tests).
7833         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7834         $(tests-unsupported).
7836 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7838         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7839         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7841 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7843         [BZ #20768]
7844         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7845         __fegetenv instead of fegetenv.
7847         [BZ #14139]
7848         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7849         (find_files): Obtain platform name from libm-test-ulps-name and
7850         store in %pplatforms.
7851         (canonicalize_platform): Remove.
7852         (print_platforms): Use $pplatforms directly.
7853         (by_platforms): Do not allow for platforms missing from
7854         %pplatforms.
7855         * sysdeps/aarch64/libm-test-ulps-name: New file.
7856         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7857         * sysdeps/arm/libm-test-ulps-name: Likewise.
7858         * sysdeps/generic/libm-test-ulps-name: Likewise.
7859         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7860         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7861         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7862         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7863         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7864         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7865         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7866         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7867         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7868         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7869         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7870         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7871         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7872         * sysdeps/sh/libm-test-ulps-name: Likewise.
7873         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7874         * sysdeps/tile/libm-test-ulps-name: Likewise.
7875         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7877         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7879         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7880         (test-xfail-check-execstack): New variable.
7882         * sysdeps/mips/localplt.data: New file.
7884 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7885             Steve Ellcey  <sellcey@caviumnetworks.com>
7887         * bits/wordsize.h: Add documentation.
7888         * sysdeps/aarch64/bits/wordsize.h : New file
7889         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7890         definitions.
7891         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7892         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7893         with #if instead of #ifdef.
7894         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7895         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7896         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7897         Add or change defines.
7898         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7899         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7900         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7901         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7902         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7903         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7904         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7905         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7906         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7908         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7909         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7910         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7911         * sysdeps/x86/bits/wordsize.h: Likewise.
7913 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7914             Kevin Petit  <kevin.petit@arm.com>
7916         * sysdeps/aarch64/memchr.S (__memchr): New file.
7918 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7920         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7922 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7924         [BZ #19398]
7925         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7926         $(linknamespace-symlists-tests).
7928 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7930         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7932 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7933             Carlos O'Donell  <carlos@redhat.com>
7935         [Bug #20729]
7936         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7937         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7938         for -Os related change.
7940 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7942         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7944 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7946         [BZ #19673]
7947         * manual/math.texi (Exponents and Logarithms): Correct description
7948         of clog10.
7950 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7952         [Bz #20729]
7953         * locale/weight.h: Include libc-internal.h.
7954         * locale/weightwc.h: Likewise.
7955         * nptl/nptl_dbP.h: Likewise.
7957 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7959         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7960         when it is MACH_PORT_NULL.
7962 2016-10-31  Andreas Schwab  <schwab@suse.de>
7964         [BZ #20707]
7965         * posix/glob.c (glob): Initialize pglob before checking for
7966         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7967         valid brace expression despite GLOB_BRACE.
7968         * posix/globtest.sh: Test it.
7970 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7972         [BZ #20729]
7973         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7974         Define.
7975         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7976         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7977         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7978         for seq2.back_us and seq1.back_us only for -Os compiles.
7979         * locale/weightwc.h (findix): Likewise.
7980         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7981         DB_GET_FIELD_ADDRESS only for -Os compiles.
7982         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7983         for slen only for -Os compiles.
7984         * string/strcoll_l.c (get_next_seq): Ignore
7985         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7986         for -Os compiles.
7988         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7989         * include/crypt.h: New file.
7991 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7993         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7994         from test-skeleton.c.
7995         (statclass): Replace calls to write with calls to write_message.
7997 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7999         * math/math.h
8000         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8001         New macro.
8002         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8003         Likewise.
8004         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8005         Likewise.
8006         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8007         SNANL.
8008         * math/test-double.h (snan_value_MACRO): New macro.
8009         * math/test-float.h (snan_value_MACRO): Likewise.
8010         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8011         * math/libm-test.inc (issignaling_test_data): Add tests of
8012         snan_value_MACRO.
8014 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8016         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8017         behavior when eliding a lock not held by the current thread.
8018         * sysdeps/powerpc/nptl/elide.h: Likewise.
8020 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8022         [BZ #20728]
8023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8024         branch to _exit() by a function call.
8026 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8028         * malloc/malloc.c: Update chunk layout comments.
8029         (chunk_main_arena): Update comment.
8031 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8033         * crypt/sha256.c, crypt/sha256-block.c,
8034         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8035         sha256_process_block to __sha256_process_block.
8036         * crypt/sha512.c, crypt/sha512-block.c,
8037         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8038         sha512_process_block to __sha512_process_block.
8040 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8042         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8044         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8046 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8048         [BZ #20019]
8049         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8050         definition in unrelocated shared library.
8051         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8053 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8055         [BZ #20729]
8056         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8057         * sysdeps/unix/sysv/linux/i386/Makefile
8058         (uses-6-syscall-arguments): Define.
8059         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8060         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8061         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8062         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8063         Likewise.
8064         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8065         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8066         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8067         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8068         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8069         (CFLAGS-fallocate64.os): Likewise.
8070         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8071         (CFLAGS-pthread_rwlock_timedrdlock.os)
8072         (CFLAGS-pthread_rwlock_timedwrlock.o)
8073         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8074         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8075         (CFLAGS-sem_timedwait.os): Likewise.
8077 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8079         * elf/tst-linkall-static.c: New file.
8080         * elf/Makefile (tests-static): Add tst-linkall-static.
8081         (tst-linkall-static): Link against static libraries.
8083 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8085         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8086         mmaped chunks.
8088 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8090         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8091         members to mchunk_prev_size, mchunk_size.
8092         (chunk_main_arena): Reverse sense and rename from
8093         chunk_non_main_arena.
8094         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8095         mchunk_size instead of size.
8096         (set_non_main_arena): Define.
8097         (chunksize): Use chunksize_nomask instead of direct member access.
8098         (chunksize_nomask): Define.
8099         (next_chunk): Use chunksize instead of direct member access.
8100         (prev_size, set_prev_size): Define.
8101         (prev_chunk): Use prev_size instead of direct member access.
8102         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8103         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8104         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8105         (mchunk_prev_size, mchunk_size): Poison tokens.
8106         (unlink): Use chunksize_nomask, prev_size accessors.
8107         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8108         (do_check_free_chunk): Use prev_size accessor.
8109         (sysmalloc): Use set_prev_size, set_head accessors.
8110         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8111         (__libc_free): Use chunksize_nomask accessor.
8112         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8113         chunk_main_arena accessors.
8114         (_int_free): Use chunksize_nomask, prev_size accessors.
8115         (malloc_consolidate): Use chunksize, prev_size accessors.
8116         (_int_realloc): Use chunksize_nomask accessor.
8117         (_int_memalign): Use set_prev_size accessor.
8118         (__malloc_info): Use chunksize_nomask accessor.
8119         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8120         accessors.
8121         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8122         (heap_trim): Use chunksize_nomask, prev_size accessors.
8124 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8126         [BZ #19380]
8127         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8128         for inexact results.
8129         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8130         of inexact result where mpfr_subnormalize is the only inexact
8131         step.
8132         * stdlib/tst-strtod-round-data.h: Regenerated.
8133         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8134         Define to 0.
8135         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8137 2016-10-27  David S. Miller  <davem@davemloft.net>
8139         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8141 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8143         * malloc/malloc.c (do_set_mallopt_check): New function.
8144         (do_set_mmap_threshold): Likewise.
8145         (do_set_mmaps_max): Likewise.
8146         (do_set_top_pad): Likewise.
8147         (do_set_perturb_byte): Likewise.
8148         (do_set_trim_threshold): Likewise.
8149         (do_set_arena_max): Likewise.
8150         (do_set_arena_test): Likewise.
8151         (__libc_mallopt): Use them.
8153 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8155         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8156         (canonicalize): New declaration.
8157         * math/Versions (canonicalize): New libm symbol at version
8158         GLIBC_2.25.
8159         (canonicalizef): Likewise.
8160         (canonicalizel): Likewise.
8161         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8162         * math/s_canonicalize_template.c: New file.
8163         * math/libm-test.inc: Update comment on functions tested and
8164         testing of NaN payloads.
8165         (TEST_NAN_PAYLOAD): New macro.
8166         (NO_TEST_INLINE): Update value.
8167         (XFAIL_TEST): Likewise.
8168         (ERRNO_UNCHANGED): Likewise.
8169         (ERRNO_EDOM): Likewise.
8170         (ERRNO_ERANGE): Likewise.
8171         (IGNORE_RESULT): Likewise.
8172         (NON_FINITE): Likewise.
8173         (TEST_SNAN): Likewise.
8174         (NO_TEST_MATHVEC): Likewise.
8175         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8176         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8177         (struct test_Ffp_b1_data): New type.
8178         (RUN_TEST_Ffp_b1): New macro.
8179         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8180         (canonicalize_test_data): New array.
8181         (canonicalize_test): New function.
8182         (main): Call canonicalize_test.
8183         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8184         canonicalizef and canonicalizel.
8185         * manual/libm-err-tab.pl: Update comment on interfaces without
8186         ulps tabulated.
8187         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8188         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8189         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8190         canonicalize.
8191         (CFLAGS-nldbl-canonicalize.c): New variable.
8192         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8193         to ...
8194         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8195         ... here.
8196         (do_test): Also test canonicalizel.
8197         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8198         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8199         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8200         file.
8201         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8202         Use libm_hidden_def.
8203         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8204         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8205         (do_test): Also test canonicalizel.
8206         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8207         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8208         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8209         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8210         libm_hidden_def.
8211         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8212         macro.
8213         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8214         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8215         * sysdeps/nacl/libm.abilist: Update.
8216         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8217         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8218         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8219         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8220         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8221         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8225         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8226         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8227         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8229         Likewise.
8230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8231         Likewise.
8232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8235         Likewise.
8236         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8242         Likewise.
8243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8244         Likewise.
8245         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8249         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8250         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8251         getpayload.
8252         (CFLAGS-nldbl-getpayload.c): New variable.
8254 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8256         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8257         integer from the format string.
8259 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8261         [BZ #19473]
8262         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8263         declarations.
8264         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8265         weak aliases.
8266         * malloc/hooks.c (__malloc_get_state): Remove definition.
8267         (malloc_get_state): New stub implementation as
8268         compatibility symbol.
8269         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8270         compat symbol.
8271         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8272         malloc_set_state.
8273         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8275 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8277         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8278         (names): Turn into concatenation of strings.
8279         (gconv_init): Adapt iteration over names.
8281 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8283         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8284         make const.
8285         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8286         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8287         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8288         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8289         character in sbconv.
8290         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8291         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8292         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8294 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8296         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8298         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8299         (M_TRIM_THRESHOLD): Likewise.
8301         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8302         (M_ARENA_MAX): Likewise.
8303         * malloc/malloc.c: Remove obsolete comment.
8305         * manual/memory.texi: Add environment variable alternatives to
8306         setting mallopt parameters.
8308 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8310         * include/atomic.h
8311         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8312         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8314 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8316         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8317         * stdlib/tst-strfrom.h: New file.
8318         * stdlib/tst-strfrom.c: New file.
8319         * stdlib/tst-strfrom-locale.c: New file.
8321         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8322         * stdlib/bug-strtod2.c: Likewise.
8323         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8324         * stdlib/tst-strtod6.c: Likewise.
8325         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8327 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8329         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8330         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8331         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8332         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8333         * stdlib/stdlib.h (strfromd): New declaration.
8334         (strfromf): Likewise.
8335         (strfroml): Likewise.
8336         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8337         strfrom.
8338         * stdlib/strfromd.c: New file.
8339         * stdlib/strfromf.c: Likewise.
8340         * stdlib/strfroml.c: Likewise.
8341         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8342         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8343         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8344         * sysdeps/arm/nacl/libc.abilist: Update.
8345         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8346         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8347         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8348         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8349         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8350         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8351         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8353         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8354         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8355         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8356         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8357         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8358         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8363         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8364         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8365         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8366         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8367         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8370         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8374 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8376         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8377         instead of cmpli.
8378         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8379         instead of cmpli.
8381 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8383         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8384         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8385         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8386         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8387         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8388         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8390 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8392         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8393         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8394         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8395         SYSCALL_LL64_PRW.
8396         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8397         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8398         __ASSUME_PRW_DUMMY_ARG.
8399         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8400         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8401         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8402         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8403         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8404         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8406 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8408         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8410 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8412         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8413         "C++", to override a potential extern "C" directive around the
8414         header file inclusion.
8416 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8418         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8420 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8422         * sysdeps/powerpc/fpu/fenv_private.h:
8423         (_FPU_MASK_ALL): Rename to...
8424         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8425         XE FPSCR bits.
8427         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8429         (_FPU_MASK_ROUNDING): Rename to...
8430         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8431         NI bits.
8433         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8434         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8435         bits and rounding bits.
8437         (__libc_feholdbits_ppc): New inline function to mask, set,
8438         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8439         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8440         (libc_feholdexcept_setround_ppc): Likewise.
8442         (__libc_femergeenv_ppc): New function to dynamically mask both
8443         old and new FP environments and merge.
8444         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8445         (libc_feresetround_ppc): Likewise.
8446         (libc_feupdateenv_test_ppc): Likewise.
8447         (libc_feupdateenv_ppc): Likewise.
8449         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8450         of ISA RN bits, and update macro names.
8451         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8452         effectively the same as the previously mentioned function.
8454         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8455         usage with fe_resetround_ppc.
8457         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8458         to be used.
8459         (libc_feholdexcept_setround_ctxf): Likewise.
8460         (libc_feholdexcept_setround_ctxl): Likewise.
8462 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8464         [BZ #20715]
8465         * math/math.h [__cplusplus] (iszero): Define as function template.
8466         * math/Makefile [CXX] (tests): Add test-math-iszero.
8467         (CFLAGS-test-math-iszero.cc): Set.
8468         * math/test-math-iszero.cc: New file.
8470 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8472         [BZ #20660]
8473         * sysdeps/arm/e_sqrt.c: New file.
8474         * sysdeps/arm/e_sqrtf.c: Likewise.
8476 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8478         [BZ #20718]
8479         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8480         not use floating-point comparisons to test sign.
8481         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8482         Likewise.
8484         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8485         (getpayload): New declaration.
8486         * math/Versions (getpayload): New libm symbol at version
8487         GLIBC_2.25.
8488         (getpayloadf): Likewise.
8489         (getpayloadl): Likewise.
8490         * math/Makefile (libm-calls): Add s_getpayloadF.
8491         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8492         (struct test_f_f_data): Add comment.
8493         (RUN_TEST_fp_f): New macro.
8494         (RUN_TEST_LOOP_fp_f): Likewise.
8495         (getpayload_test_data): New array.
8496         (getpayload_test): New function.
8497         (main): Call getpayload_test.
8498         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8499         descriptor.
8500         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8501         getpayloadf and getpayloadl.
8502         * manual/libm-err-tab.pl: Update comment on interfaces without
8503         ulps tabulated.
8504         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8505         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8506         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8507         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8508         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8509         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8510         * sysdeps/nacl/libm.abilist: Update.
8511         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8512         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8513         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8514         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8515         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8516         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8517         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8518         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8519         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8520         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8521         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8522         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8524         Likewise.
8525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8526         Likewise.
8527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8528         Likewise.
8529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8530         Likewise.
8531         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8532         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8533         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8534         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8535         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8537         Likewise.
8538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8541         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8542         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8544 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8546         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8547         tst-fallocate{64}.
8548         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8549         on syscall return.
8551 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8553         [BZ #20689]
8554         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8555         usable.
8557 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8559         * sysdeps/generic/nan-high-order-bit.h: New file.
8560         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8561         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8562         * sysdeps/hppa/math_private.h: Remove file.
8563         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8564         not define here.
8565         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8566         <nan-high-order-bit.h>.
8567         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8568         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8569         <nan-high-order-bit.h>.
8570         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8571         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8572         <nan-high-order-bit.h>.
8573         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8574         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8575         <nan-high-order-bit.h>.
8576         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8577         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8578         <nan-high-order-bit.h>.
8579         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8580         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8581         <nan-high-order-bit.h>.
8582         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8583         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8584         <nan-high-order-bit.h>.
8585         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8586         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8587         <nan-high-order-bit.h>.
8588         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8589         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8590         <nan-high-order-bit.h>.
8591         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8592         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8593         <nan-high-order-bit.h>.
8594         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8595         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8596         <nan-high-order-bit.h>.
8597         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8598         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8599         <nan-high-order-bit.h>.
8600         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8601         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8602         <nan-high-order-bit.h>.
8603         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8604         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8605         <nan-high-order-bit.h>.
8606         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8607         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8608         <nan-high-order-bit.h>.
8609         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8610         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8611         <nan-high-order-bit.h>.
8612         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8613         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8614         <nan-high-order-bit.h>.
8615         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8616         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8617         <nan-high-order-bit.h>.
8618         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8620 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8622         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8624 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8626         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8627         abort-instr.h.
8628         (EFAULT): Remove conditional define.
8629         (ENOSYS): Likewise.
8630         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8631         instead of conditional branch instructions.
8633 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8635         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8636         (totalordermag): New declaration.
8637         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8638         New macro.
8639         * math/Versions (totalordermag): New libm symbol at version
8640         GLIBC_2.25.
8641         (totalordermagf): Likewise.
8642         (totalordermagl): Likewise.
8643         * math/Makefile (libm-calls): Add s_totalordermagF.
8644         * math/libm-test.inc (totalordermag_test_data): New array.
8645         (totalordermag_test): New function.
8646         (main): Call totalordermag_test.
8647         * math/test-tgmath.c (NCALLS): Increase to 125.
8648         (F(compile_test)): Call totalordermag.
8649         (F(totalordermag)): New function.
8650         * manual/arith.texi (FP Comparison Functions): Document
8651         totalordermag, totalordermagf and totalordermagl.
8652         * manual/libm-err-tab.pl: Update comment on interfaces without
8653         ulps tabulated.
8654         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8655         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8656         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8657         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8658         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8659         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8660         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8661         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8662         totalordermag.
8663         (CFLAGS-nldbl-totalordermag.c): New variable.
8664         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8665         (do_test): Also test totalordermagl.
8666         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8667         Likewise.
8668         * sysdeps/nacl/libm.abilist: Update.
8669         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8670         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8671         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8672         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8673         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8674         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8675         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8680         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8684         Likewise.
8685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8686         Likewise.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8693         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8695         Likewise.
8696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8699         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8700         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8702 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8704         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8705         boolean.
8707 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8709         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8710         raising FE_INVALID with feraisexcept in case where part of
8711         argument is infinite, subtract that part of argument from itself.
8712         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8713         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8714         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8716 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8718         * math/libm-test.inc (totalorder_test_data): Add more tests.
8720 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8722         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8723         Undefine weak_alias and add a comment why mips64 require
8724         versioning.
8726 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8728         [BZ #20647]
8729         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8730         maximum CPUID level is less than 2.
8732 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8734         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8735         (totalorder): New declaration.
8736         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8737         New macro.
8738         * math/Versions (totalorder): New libm symbol at version
8739         GLIBC_2.25.
8740         (totalorderf): Likewise.
8741         (totalorderl): Likewise.
8742         * math/Makefile (libm-calls): Add s_totalorderF.
8743         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8744         string.
8745         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8746         (qnan_value_pl): Likewise.
8747         (snan_value_pl): Likewise.
8748         (qnan_value): Define using qnan_value_pl.
8749         (snan_value): Define using snan_value_pl.
8750         (struct test_ff_i_data): Add comment about which tests use this
8751         structure.
8752         (RUN_TEST_ff_b): New macro.
8753         (RUN_TEST_LOOP_ff_b): Likewise.
8754         (totalorder_test_data): New array.
8755         (totalorder_test): New function.
8756         (main): Call totalorder_test.
8757         * math/test-tgmath.c (NCALLS): Increase to 122.
8758         (F(compile_test)): Call totalorder.
8759         (F(totalorder)): New function.
8760         * manual/arith.texi (FP Comparison Functions): Document
8761         totalorder, totalorderf and totalorderl.
8762         * manual/libm-err-tab.pl: Update comment on interfaces without
8763         ulps tabulated.
8764         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8765         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8766         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8767         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8768         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8769         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8770         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8771         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8772         totalorder.
8773         (CFLAGS-nldbl-totalorder.c): New variable.
8774         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8775         file.
8776         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8777         Add test-totalorderl-ldbl-128ibm.
8778         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8779         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8780         test-totalorderl-ldbl-96.
8781         * sysdeps/nacl/libm.abilist: Update.
8782         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8783         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8784         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8785         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8786         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8787         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8788         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8789         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8790         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8791         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8792         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8793         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8795         Likewise.
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8797         Likewise.
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8801         Likewise.
8802         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8803         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8804         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8805         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8806         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8808         Likewise.
8809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8810         Likewise.
8811         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8812         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8813         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8815 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8817         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8818         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8819         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8820         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8821         remove ENOSYS implementation.
8822         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8823         Consolidate all Linux implementations.
8825 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8827         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8828         * resolv/herror.c (herror): Cast away const-ness.
8829         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8830         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8832 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8834         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8835         instead of M_NAN + M_NAN.
8836         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8838 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8840         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8841         unused variable 'p'.
8843 2016-10-09  Alan Modra  <amodra@gmail.com>
8844             Andreas Schwab  <schwab@linux-m68k.org>
8846         [BZ #20554]
8847         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8848         [PIC && !SHARED]: Set up PIC register for PLT call.
8850 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8852         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8853         conditional on value of [__FLT_EVAL_METHOD__].
8854         * math/test-iseqsig-excess-precision.c: New file.
8855         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8857 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8859         * math/s_iseqsig_template.c: Include math-private.h.
8861         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8862         * posix/tst-posix_fadvise.c: New file.
8863         * posix/tst-posix_fadvise64.c: Likewise.
8864         * posix/tst-posix_fadvise-common.c: Likewise.
8865         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8866         (__ASSUME_FADVISE64_64_6ARG): Define.
8867         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8868         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8870         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8871         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8872         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8873         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8874         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8875         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8876         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8877         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8878         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8881         Likewise.
8882         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8883         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8884         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8885         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8886         Alias to __posix_fadvise64_l32.
8887         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8888         Add compat definition to posix_fadvise64.
8889         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8890         Add versioned definition to posix_fadvise64.
8891         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8892         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8893         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8894         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8895         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8897         * io/Makefile (tests): Add tst-posix_fallocate and
8898         tst-posix_fallocate64.
8899         * io/tst-posix_fallocate-common.c: New file.
8900         * io/tst-posix_fallocate.c: Likewise.
8901         * io/tst-posix_fallocate64.c: Likewise.
8902         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8903         file.
8904         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8905         Likewise.
8906         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8907         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8908         Likewise.
8909         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8910         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8911         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8912         SYSCALL_LL to pass both offset and len arguments.
8913         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8914         Likewise.
8915         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8916         __libc_pwrite64 alias used by posix_fallocate64.
8918         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8919         tst-fallocate64.
8920         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8921         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8922         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8923         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8924         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8925         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8926         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8927         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8928         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8929         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8930         macro on offset argument.
8931         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8932         SYSCALL_LL64 on offset argument.
8934         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8935         tst-fallocate64.
8936         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8937         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8938         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8939         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8940         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8941         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8942         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8943         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8944         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8945         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8946         macro on offset argument.
8947         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8948         SYSCALL_LL64 on offset argument.
8949         * test-skeleton.c (FAIL_RET): Add macro.
8950         (FAIL_EXIT): Likewise.
8951         (FAIL_EXIT1): Likewise.
8952         (_FAIL): Likewise.
8954 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8956         [BZ #20629]
8957         resolv: Remove RES_USEBSTRING and its implementation.
8958         * resolv/resolv.h (RES_USEBSTRING): Remove.
8959         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8960         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8961         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8962         (labellen): Remove extended label types support.
8963         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8964         * resolv/res_init.c (res_setoptions): Likewise.
8965         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8967 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8969         resolv: Remove RES_NOIP6DOTINT and its implementation.
8970         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8971         (RES_NOIP6DOTINT): Remove.
8972         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8973         handling.
8974         * resolv/res_debug.c (p_option): Likewise.
8975         * resolv/res_init.c (res_setoptions): Likewise.
8976         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8978 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8980         resolv: Deprecate unimplemented flags.
8981         * misc/sys/cdefs.h (__glibc_macro_warning1)
8982         (__glibc_macro_warning): Define.
8983         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8984         (RES_KEEPTSIG): Mark as deprecated.
8985         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8986         RES_NOCHECKNAME, RES_KEEPTSIG.
8987         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8989 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8991         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8992         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8993         Use strong_alias to create symbols for glibc verison 2.19.
8995 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8997         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8999 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9001         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9003 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9005         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9007 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9009         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9010         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9011         in header for using it as type for ifunc function because __GI_* symbols
9012         for ppc32 do not target the ifunc symbols.
9013         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9015 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9017         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9018         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9019         libc_ifunc_hidden_def.
9020         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9021         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9022         Redirect ifunced function in header for using it as type of ifunc'ed
9023         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9024         function for __GI_* symbol.
9025         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9026         * include/libc-symbols.h
9027         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9029 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9031         [BZ #20478]
9032         * sysdeps/s390/multiarch/ifunc-resolve.h
9033         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9034         to create ifunc symbols.
9035         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9036         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9037         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9038         for using it as type for ifunc function.
9039         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9040         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9041         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9042         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9043         * sysdeps/s390/multiarch/strcat.c: Likewise.
9044         * sysdeps/s390/multiarch/strchr.c: Likewise.
9045         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9046         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9047         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9048         * sysdeps/s390/multiarch/strlen.c: Likewise.
9049         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9050         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9051         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9052         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9053         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9054         * sysdeps/s390/multiarch/strspn.c: Likewise.
9055         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9056         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9057         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9058         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9059         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9060         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9061         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9062         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9063         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9064         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9065         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9066         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9068 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9070         * include/libc-symbols.h (__ifunc_resolver):
9071         New macro is used by __ifunc* macros.
9072         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9073         depending on HAVE_GCC_IFUNC.
9074         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9075         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9077         Redirect ifunced function in header for using as type for ifunc function.
9078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9082         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9084         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9085         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9086         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9087         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9088         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9089         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9090         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9091         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9097         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9098         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9099         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9100         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9101         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9102         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9103         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9104         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9105         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9106         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9107         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9108         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9109         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9110         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9112         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9113         instead of libc_ifunc() macro.
9114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9115         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9117 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9119         * config.h.in (HAVE_GCC_IFUNC): New undef.
9120         * configure.ac: Add check if gcc supports attribute ifunc feature.
9121         * configure: Regenerated.
9122         * manual/install.texi: Add recommendation for gcc with
9123         indirect-function support.
9124         * INSTALL: Regenerated.
9126 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9128         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9129         macro.
9130         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9131         (__iseqsig): New declaration.
9132         * math/s_iseqsig_template.c: New file.
9133         * math/Versions (__iseqsigf): New libm symbol at version
9134         GLIBC_2.25.
9135         (__iseqsig): Likewise.
9136         (__iseqsigl): Likewise.
9137         * math/libm-test.inc (iseqsig_test_data): New array.
9138         (iseqsig_test): New function.
9139         (main): Call iseqsig_test.
9140         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9141         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9142         * manual/libm-err-tab.pl: Update comment on interfaces without
9143         ulps tabulated.
9144         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9145         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9146         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9147         * sysdeps/nacl/libm.abilist: Update.
9148         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9152         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9153         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9154         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9155         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9159         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9161         Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9163         Likewise.
9164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9165         Likewise.
9166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9167         Likewise.
9168         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9172         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9174         Likewise.
9175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9181 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9183         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9184         do_sincos_2, sloww, sloww1): Update comments.
9186         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9187         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9189         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9190         K boolean and rename it.
9191         (__sin): Adjust.
9192         (__cos): Adjust.
9194 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9195             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9197         * manual/nss.texi: Fix typos in the manual.
9199 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9201         * manual/contrib.texi: Fix typos in the manual.
9203         * manual/maint.texi: Fix typos in the manual.
9205         * manual/install.texi: Fix typos in the manual.
9206         * INSTALL: Regenerated.
9208         * manual/lang.texi: Fix typos in the manual.
9210         * manual/probes.texi: Fix typos in the manual.
9212         * manual/threads.texi: Fix typos in the manual.
9214         * manual/debug.texi: Fix typos in the manual.
9216         * manual/crypt.texi: Fix typos in the manual.
9218         * manual/conf.texi: Fix typos in the manual.
9220         * manual/sysinfo.texi: Fix typos in the manual.
9222         * manual/users.texi: Fix typos in the manual.
9224         * manual/job.texi: Fix typos in the manual.
9226         * manual/process.texi: Fix typos in the manual.
9228         * manual/argp.texi: Fix typos in the manual.
9229         * manual/getopt.texi: Likewise.
9230         * manual/startup.texi: Likewise.
9232         * manual/signal.texi: Fix typos in the manual.
9234         * manual/setjmp.texi: Fix typos in the manual.
9236         * manual/resource.texi: Fix typos in the manual.
9238         * manual/time.texi: Fix typos in the manual.
9240         * manual/arith.texi: Fix typos in the manual.
9242         * manual/math.texi: Fix typos in the manual.
9244         * manual/syslog.texi: Fix typos in the manual.
9246         * manual/terminal.texi: Fix typos in the manual.
9248         * manual/socket.texi: Fix typos in the manual.
9250         * manual/filesys.texi: Fix typos in the manual.
9252         * manual/llio.texi: Fix typos in the manual.
9254         * manual/stdio.text: Fix typos in the manual.
9256 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9258         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9259         instead of K1.
9261         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9262         SHIFT_QUADRANT and make it bool.
9263         (do_sincos_2): Likewise.
9264         (sloww): Likewise.
9265         (sloww1): Likewise.
9266         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9267         (__cos): Likewise.
9269 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9271         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9273 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9275         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9276         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9277         0x7fffffffL].
9278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9280 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9282         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9283         inline by __inline__.
9284         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9285         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9286         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9287         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9288         sigset_t from signal.h.
9289         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9290         which is already required.
9292 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9294         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9296 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9298         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9299         (struct tcp_repair_window): New type.
9301 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9303         * libio/tst-memstream3.c: Include string.h.
9305 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9307         [BZ #18241]
9308         [BZ #20181]
9309         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9310         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9311         write position is at the end the buffer.
9312         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9313         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9314         (_IO_str_seekoff): Set correct offset from negative displacement and
9315         set EINVAL for invalid ones.
9316         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9317         buffer length.
9318         (_IO_wstr_switch_to_get_mode): New function.
9319         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9320         set EINVAL for invalid ones.
9321         * libio/tst-memstream3.c: New file.
9322         * libio/tst-wmemstream3.c: Likewise.
9323         * manual/examples/memstrm.c: Remove warning when priting size_t.
9325 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9327         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9328         macro to use __builtin_fma.
9329         * sysdeps/x86_64/fpu/dla.h: Remove file.
9331         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9332         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9333         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9335 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9337         [BZ #20292]
9338         * elf/Makefile (routines): Add dl-addr-obj.
9339         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9340         tst-_dl_addr_inside_object.
9341         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9342         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9343         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9344         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9345         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9346         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9347         * elf/dl-open.c: Likewise.
9348         * elf/dl-addr-obj.c: New file.
9349         * elf/tst-_dl_addr_inside_object.c: New file.
9351 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9353         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9354         <bits/iscanonical.h>.
9355         * bits/iscanonical.h: New file.
9356         * math/s_iscanonicall.c: Likewise.
9357         * math/Versions (__iscanonicall): New libm symbol at version
9358         GLIBC_2.25.
9359         * math/libm-test.inc (iscanonical_test_data): New array.
9360         (iscanonical_test): New function.
9361         (main): Call iscanonical_test.
9362         * math/Makefile (headers): Add bits/iscanonical.h.
9363         (type-ldouble-routines): Add s_iscanonicall.
9364         * manual/arith.texi (Floating Point Classes): Document
9365         iscanonical.
9366         * manual/libm-err-tab.pl: Update comment on interfaces without
9367         ulps tabulated.
9368         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9369         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9370         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9371         Likewise.
9372         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9373         test-iscanonical-ldbl-128ibm.
9374         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9375         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9376         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9377         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9378         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9379         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9382         Likewise.
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9384         Likewise.
9385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9386         Likewise.
9387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9388         Likewise.
9389         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9392 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9394         * string/bits/string3.h: Remove C++ style comments.
9396 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9398         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9399         instead of ternary condition.
9400         (do_sincos_2): Likewise.
9401         (__sin): Likewise.
9402         (__cos): Likewise.
9403         (slow): Likewise.
9404         (sloww): Likewise.
9405         (sloww1): Likewise.
9406         (bsloww): Likewise.
9407         (bsloww1): Likewise.
9409         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9410         instead of ternary condition.
9411         (do_sin_slow): Likewise.
9412         (do_sincos_1): Likewise.
9413         (do_sincos_2): Likewise.
9414         (__cos): Likewise.
9415         (sloww): Likewise.
9416         (sloww1): Likewise.
9417         (sloww2): Likewise.
9418         (bsloww): Likewise.
9419         (bsloww1): Likewise.
9420         (bsloww2): Likewise.
9422         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9423         check from here...
9424         (slow2): ... and here...
9425         (__sin): ... to here.
9427 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9429         * math/math.h
9430         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9431         Cast argument to its own type.
9432         * math/test-iszero-excess-precision.c: New file.
9433         * math/Makefile (tests): Add test-iszero-excess-precision.
9434         (CFLAGS-test-iszero-excess-precision.c): New variable.
9436 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9438         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9439         field, add err field.
9440         (__spawni_child): Report error through err member instead of pipe.
9441         (__spawnix): Likewise.
9443 2016-09-28  Zack Weinberg  <zackw@panix.com>
9445         * scripts/check-installed-headers.sh: Generalize treatment of
9446         sys/elf.h to all target architectures.
9448         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9449         deleted typedef ucontext_t.
9451 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9453         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9454         (__INTERNAL_SYSCALL1): Likewise.
9455         (__INTERNAL_SYSCALL2): Likewise.
9456         (__INTERNAL_SYSCALL3): Likewise.
9457         (__INTERNAL_SYSCALL4): Likewise.
9458         (__INTERNAL_SYSCALL5): Likewise.
9459         (__INTERNAL_SYSCALL6): Likewise.
9460         (__INTERNAL_SYSCALL7): Likewise.
9461         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9462         (__INTERNAL_SYSCALL_NARGS): Likewise.
9463         (__INTERNAL_SYSCALL_DISP): Likewise.
9464         (INTERNAL_SYSCALL_CALL): Likewise.
9465         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9466         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9467         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9468         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9469         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9470         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9471         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9472         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9473         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9474         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9475         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9476         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9477         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9479 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9481         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9482         macro.
9483         * math/libm-test.inc (iszero_test_data): New array.
9484         (iszero_test): New function.
9485         (main): Call iszero_test.
9486         * manual/arith.texi (Floating Point Classes): Document iszero.
9487         * manual/libm-err-tab.pl: Update comment on interfaces without
9488         ulps tabulated.
9490 2016-09-23  Zack Weinberg  <zackw@panix.com>
9492         * scripts/check-installed-headers.sh: New script.
9493         * Rules: In each directory that defines header files to be installed,
9494         run check-installed-headers.sh on them as a special test.
9495         * Makefile: Likewise for the headers installed at top level.
9497         * include/aliases.h, include/alloca.h, include/argz.h
9498         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9499         * include/elf.h, include/envz.h, include/err.h
9500         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9501         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9502         * include/link.h, include/malloc.h, include/mcheck.h
9503         * include/mntent.h, include/netinet/ether.h
9504         * include/nss.h, include/obstack.h, include/printf.h
9505         * include/pty.h, include/resolv.h, include/rpc/auth.h
9506         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9507         * include/rpc/clnt.h, include/rpc/des_crypt.h
9508         * include/rpc/key_prot.h, include/rpc/netdb.h
9509         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9510         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9511         * include/rpc/rpc_msg.h, include/rpc/svc.h
9512         * include/rpc/svc_auth.h, include/rpc/xdr.h
9513         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9514         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9515         * include/rpcsvc/ypupd.h, include/shadow.h
9516         * include/stdio_ext.h, include/sys/epoll.h
9517         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9518         * include/sys/prctl.h, include/sys/profil.h
9519         * include/sys/statfs.h, include/sys/sysctl.h
9520         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9521         * sysdeps/arm/nacl/include/bits/setjmp.h
9522         * sysdeps/mips/include/sys/asm.h
9523         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9524         * sysdeps/unix/sysv/linux/include/sys/timex.h
9525         * sysdeps/x86/fpu/include/bits/fenv.h:
9526         Add #ifndef _ISOMAC guard around internal declarations.
9527         Add multiple-inclusion guard if not already present.
9529 2016-09-23  Zack Weinberg  <zackw@panix.com>
9531         * sysdeps/generic/sys/ucontext.h
9532         * sysdeps/arm/sys/ucontext.h
9533         * sysdeps/i386/sys/ucontext.h
9534         * sysdeps/m68k/sys/ucontext.h
9535         * sysdeps/mips/sys/ucontext.h
9536         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9537         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9538         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9539         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9540         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9541         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9542         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9543         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9544         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9545         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9546         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9547         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9548         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9549         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9550         Include both bits/sigcontext.h and bits/sigstack.h.
9551         Fix grammar error in comment, if present.
9553         * bits/sigstack.h
9554         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9555         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9556         * sysdeps/unix/sysv/linux/bits/sigstack.h
9557         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9558         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9559         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9560         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9561         * bits/sigcontext.h
9562         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9563         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9564         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9565         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9566         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9567         as well as signal.h, if this was not already allowed.  Request
9568         definition of size_t if necessary.  Minimize semantically-null
9569         differences across files.
9571 2016-09-23  Zack Weinberg  <zackw@panix.com>
9573         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9574         Remove all logic conditional on __need macros.  Move all the
9575         conditionally defined types to their own headers...
9576         * time/bits/types/clock_t.h: Define clock_t here.
9577         * time/bits/types/clockid_t.h: Define clockid_t here.
9578         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9579         * time/bits/types/struct_timespec.h: Define struct timespec here.
9580         * time/bits/types/struct_timeval.h: Define struct timeval here.
9581         * time/bits/types/struct_tm.h: Define struct tm here.
9582         * time/bits/types/time_t.h: Define time_t here.
9583         * time/bits/types/timer_t.h: Define timer_t here.
9584         * time/Makefile: Install the new headers.
9586         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9587         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9588         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9589         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9590         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9591         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9592         * sysdeps/unix/sysv/linux/bits/resource.h
9593         * sysdeps/unix/sysv/linux/bits/timex.h
9594         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9595         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9596         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9597         * sysdeps/unix/sysv/linux/sys/acct.h
9598         * sysdeps/unix/sysv/linux/sys/timerfd.h
9599         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9600         * time/sys/time.h, time/sys/timeb.h
9601         Use the new bits/types headers.
9603         * include/time.h: Remove __need logic.
9604         * include/bits/time.h
9605         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9606         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9607         * include/bits/types/struct_itimerspec.h
9608         * include/bits/types/struct_timespec.h
9609         * include/bits/types/struct_timeval.h
9610         * include/bits/types/struct_tm.h:
9611         New wrapper headers.
9613 2016-09-23  Zack Weinberg  <zackw@panix.com>
9615         * sysdeps/mach/hurd/net/if_ppp.h
9616         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9617         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9618         if __USE_MISC is defined, to ensure struct ifreq is declared.
9620         * inet/netinet/ether.h: Condition all function prototypes
9621         on __USE_MISC, to ensure struct ether_addr is declared.
9623         * socket/bits/types/struct_osockaddr.h: New header.
9624         * include/bits/types/struct_osockaddr.h: New wrapper.
9625         * socket/Makefile: Install the new header.
9626         * socket/sys/socket.h, inet/protocols/talkd.h:
9627         Refer to bits/types/struct_osockaddr.h for the definition of
9628         struct osockaddr.
9630 2016-09-23  Zack Weinberg  <zackw@panix.com>
9632         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9633         * inet/protocols/routed.h, inet/protocols/talkd.h
9634         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9635         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9636         * sysdeps/generic/netinet/if_ether.h
9637         * sysdeps/generic/netinet/in_systm.h
9638         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9639         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9640         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9641         * sysdeps/mach/hurd/net/if_arp.h
9642         * sysdeps/mach/hurd/net/if_ppp.h
9643         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9644         * sysdeps/unix/sysv/linux/bits/in.h
9645         * sysdeps/unix/sysv/linux/net/ethernet.h
9646         * sysdeps/unix/sysv/linux/net/if_arp.h
9647         * sysdeps/unix/sysv/linux/net/if_ppp.h
9648         * sysdeps/unix/sysv/linux/net/if_shaper.h
9649         * sysdeps/unix/sysv/linux/net/route.h
9650         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9651         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9652         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9653         * sysdeps/unix/sysv/linux/netipx/ipx.h
9654         * sysdeps/unix/sysv/linux/sys/acct.h
9655         * include/arpa/nameser.h, include/resolv.h:
9656         Change all uses of u_char to unsigned char,
9657         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9658         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9659         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9660         and u_int64_t and u_quad_t to uint64_t.
9662         * mach/sys/reboot.h: Remove two casts of integer literals
9663         to the types they already have.
9665         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9666         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9667         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9668         from referring to 'unsigned char' to 'uint8_t' for consistency with
9669         the macro definition below.
9671         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9672         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9673         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9674         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9675         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9676         * sysdeps/unix/sysv/linux/sys/acct.h
9677         * include/arpa/nameser.h, include/resolv.h:
9678         Fix indentation disrupted by mechanical edits.
9680         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9681         * sysdeps/generic/netinet/in_systm.h
9682         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9683         * sysdeps/gnu/netinet/udp.h
9684         * sysdeps/unix/sysv/linux/net/ethernet.h
9685         * sysdeps/unix/sysv/linux/net/if_arp.h
9686         * sysdeps/unix/sysv/linux/net/if_ppp.h
9687         * sysdeps/unix/sysv/linux/net/if_shaper.h
9688         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9689         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9690         * sysdeps/unix/sysv/linux/netipx/ipx.h
9691         * sysdeps/unix/sysv/linux/sys/acct.h
9692         Include stdint.h for uintNN_t definitions.
9693         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9695 2016-09-23  Zack Weinberg  <zackw@panix.com>
9697         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9698         * sysdeps/unix/sysv/linux/netrose/rose.h:
9699         Include sys/socket.h and netax25/ax25.h.
9701         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9702         * resolv/arpa/nameser_compat.h:
9703         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9705         * sysdeps/unix/sysv/linux/sys/quota.h:
9706         Use __caddr_t instead of caddr_t.
9707         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9708         Use __clockid_t instead of clockid_t.
9710         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9712         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9713         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9714         expanding it.
9716         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9717         Define __glibc_c99_flexarr_available to 1 when the compiler
9718         supports C99-compatible flexible array members, 0 otherwise.
9719         * sysdeps/unix/sysv/linux/bits/socket.h
9720         * sysdeps/mach/hurd/bits/socket.h
9721         * bits/socket.h: Use __glibc_c99_flexarr_available in
9722         definitions of struct cmsghdr and CMSG_DATA.
9724 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9726         * manual/nss.texi (NSS Modules Interface): Adjust function return
9727         type to enum nss_status.  Document errnop argument.  Clarify
9728         h_errnop semantics.  Fix cross-reference formatting.
9729         (NSS Module Function Internals): Mention that *errnop needs to be
9730         set on failure, but not to zero.
9732 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9734         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9735         (get_random_name): New functions.
9736         (check_wrapper_flags_mode): Use linkat to give the new file a name
9737         determined by get_random_name.
9738         (do_test): Add calls to test open64 and openat64.
9740 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9742         * test-skeleton.c: Remove #include <stdarg.h>.
9744 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9746         [BZ #19826]
9747         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9748         initialization of static TLS entries.
9749         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9750         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9752 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9754         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9755         _hurd_malloc_fork_prepare.
9756         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9757         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9758         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9759         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9760         (_hurd_fork_child_hook): Drop malloc_fork_child.
9761         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9762         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9763         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9764         after locking locks (notably hurd_dtable_lock). Call
9765         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9766         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9767         __malloc_fork_unlock_child.
9768         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9770 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9772         * soft-fp/extendhftf2.c: New.
9773         * soft-fp/fixhfti.c: Likewise.
9774         * soft-fp/fixunshfti.c: Likewise.
9775         * soft-fp/floattihf.c: Likewise.
9776         * soft-fp/floatuntihf.c: Likewise.
9777         * soft-fp/half.h: Likewise.
9778         * soft-fp/trunctfhf2.c: Likewise.
9780 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9782         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9783         macro.
9784         * math/libm-test.inc (issubnormal_test_data): New array.
9785         (issubnormal_test): New function.
9786         * manual/arith.texi (Floating Point Classes): Document
9787         issubnormal.
9788         * manual/libm-err-tab.pl: Update comment on interfaces without
9789         ulps tabulated.
9791         * sysdeps/generic/stdint.h: Define
9792         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9793         <bits/libc-header-start.h> instead of including <features.h>.
9794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9827         * manual/arith.texi (Integers): Document these macros for types
9828         specified by width properties.
9829         * manual/lang.texi (Width of Type): Document these macros for
9830         other standard typedefs.
9831         * stdlib/tst-width-stdint.c: New file.
9832         * stdlib/Makefile (tests): Add tst-width-stdint.
9834 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9836         [BZ #20016]
9837         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9838         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9839         Move ...
9840         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9841         ... here, as compatibility symbols in a new file.
9842         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9843         * resolv/res_init.c (__res_vinit): Adjust member names.
9844         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9845         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9846         (res_send_rhook): Remove.
9847         (struct __res_state): Rename qhook, rhook members.
9849 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9851         malloc: Use __libc_lock wrappers.
9852         * malloc/arena.c (list_lock, free_list_lock): Define using
9853         __libc_lock_define_initialized.
9854         (arena_lock): Adjust formatting.
9855         * malloc/malloc.c (struct malloc_state): Define mutex using
9856         __libc_lock_define.
9857         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9858         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9859         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9860         (mutex_unlock, mutex_trylock): Remove.
9861         (__pthread_initialize): Remove unused macro.
9862         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9863         (mutex_unlock, mutex_trylock): Remove.
9865 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9867         [BZ #20592]
9868         Remove RR type classification macros.
9869         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9870         (ns_t_udp_p, ns_t_xfr_p): Remove.
9872 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9874         Remove misleading version information.
9875         * resolv/arpa/nameser.h (__NAMESER): Remove.
9876         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9878 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9880         Remove the always-defined BIND_4_COMPAT macro.
9881         * resolv/arpa/nameser.h: Unconditionally include
9882         <arpa/nameser_compat.h>.
9883         (BIND_4_COMPAT): Remove.
9884         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9886 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9888         [BZ #20591]
9889         Remove obsolete DNSSEC support.
9890         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9891         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9892         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9893         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9894         (ns_cert_types): Add comment.
9895         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9896         separately.
9897         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9898         (dst_s_dns_key_id): Remove.
9899         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9900         variables.
9902 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9904         [BZ #20524]
9905         * manual/string.texi (String/Array Comparison): Clarify the
9906         strverscmp behavior.
9908 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9910         * test-skeleton.c (xasprintf): Add function.
9911         * io/tst-open-tmpfile.c: New test.
9912         * io/Makefile (tests): Add it.
9914 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9916         Avoid running $(CXX) during build to obtain header file paths.
9917         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9918         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9919         * Makerules (cstdlib, cmath): Remove variables.  Use
9920         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9921         * configure: Regenerate.
9923 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9925         * Makeconfig (all-object-suffixes): Include .op only if
9926         $(build-profile).
9928 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9930         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9931         conditionals.  Do not define PATH_MAX.
9933 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9935         * posix/Makefile (tests): Add tst-spawn3.
9936         * posix/tst-spawn3.c: New file.
9937         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9938         if it is already opened for open action.
9940         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9941         all signals when executing the clone vfork child.
9942         (SIGALL_SET): Remove macro.
9944         * nptl/Makefile (tests): Add tst-exec5.
9945         * nptl/tst-exec5.c: New file.
9946         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9947         asynchronous cancellation.
9949 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9951         * hurd/exc2signal.c: #include <hurd/signal.h>
9952         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9953         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9954         accordingly.
9955         * mach/mach_error.c (mach_error): Fix old-style function definition.
9956         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9958 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9960         * math/Makefile (libm-calls): Remove s_nanF.
9961         (gen-libm-calls): Add s_nanF.
9963         * math/s_nan.c: Refactor into ...
9964         * math/s_nan_template.c: New file.
9966         * math/s_nanf.c: Removed.
9967         * math/s_nanl.c: Removed.
9968         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9969         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9971         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9972         (LDOUBLE_nanl_libm_version): New macro.
9974         * sysdeps/generic/math-type-macros-double.h:
9975         (M_STRTO_NAN): New macro.
9976         * sysdeps/generic/math-type-macros-float.h: Likewise.
9977         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9979         * sysdeps/generic/math-type-macros.h: Document
9980         M_STRTO_NAN.
9982 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9984         * math/s_nanf.c: Remove __nanf undef.
9985         * math/s_nan.c: Remove __nan undef.
9986         * math/s_nanl.c: Remove __nanl undef.
9988         * sysdeps/generic/math_private.h (__nan): Remove macro
9989         override.
9990         (__nanf): Likewise.
9991         (__nanl): Likewise.
9993 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9995         * math/Makefile (gen-all-calls): New variable.
9996         (generated): Replace gen-libm-calls with gen-all-calls.
9997         (gen-libm-templates.stmp): Likewise.  Also, ensure
9998         the output directory exists or is created and add
9999         dependency on the Makefile.
10000         (calls): Move s_ldexpF into gen-calls.
10001         (gen-calls): New variable.
10003         * math/s_ldexpf.c: Removed.
10004         * math/s_ldexpl.c: Removed.
10005         * math/s_ldexp.c: Refactored into ...
10006         * math/s_ldexp_template.c: New file.
10008         * sysdeps/generic/math-type-macros-double.h: Remove
10009         redundant fall-through definition of declare_mgen_alias.
10010         (declare_mgen_alias_2): New macro.
10012         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10013         New macro for function aliased to two exported symbols.
10015         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10016         new template file.
10017         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10019 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10021         * Makeconfig (all-object-suffixes): Remove .og.
10022         * Makerules (elide-routines.og): Remove.
10023         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10024         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10025         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10027 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10029         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10030         .os objects.
10032 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10034         [BZ #20615]
10035         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10036         fpu directory by non-fpu.
10037         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10038         on non-fpu directory from a fpu directory.
10040 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10042         * include/limits.h: Define
10043         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10044         <bits/libc-header-start.h> instead of including <features.h>.
10045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10056         * manual/lang.texi (Width of Type): Document these macros.
10057         * stdlib/tst-width.c: New file.
10058         * stdlib/Makefile (tests): Add tst-width.
10060 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10062         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10063         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10065 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10067         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10068         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10069         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10071 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10073         [BZ #18243]
10074         * rt/Makefile (test): Add tst-shm-cancel.
10075         * rt/tst-shm-cancel.c: New file.
10076         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10078         [BZ #18243]
10079         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10080         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10081         definition.
10082         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10083         uncontended case.
10084         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10085         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10086         (tf): Fix check for uncontended case.
10087         (do_test): Likewise.
10088         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10089         (tf): Fix check for uncontended case.
10090         (do_test): Likewise.
10091         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10092         (tf): Fix check for uncontended case.
10093         (do_test): Likewise.
10094         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10095         (tf): Fix check for uncontended case.
10096         (do_test): Likewise.
10098         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10099         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10101         [BZ #15765]
10102         * nptl/Makefile (tests): Add tst-sem16.
10103         * nptl/tst-sem16.c: New file.
10104         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10106         * nptl/sem_open.c (sem_open): Init pad value to 0.
10107         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10108         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10110 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10112         [BZ #20611]
10113         * inet/Makefile (routines): Add inet6_scopeid_pton.
10114         (tests): Add tst-inet6_scopeid_pton.
10115         * inet/inet6_scopeid_pton.c: New file.
10116         * inet/net-internal.h: Likewise.
10117         * inet/tst-inet6_scopeid_pton.c: New test.
10118         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10119         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10122 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10124         Remove support for compiling wrappers with PTW.
10125         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10126         * nptl/Makefile (pthread-compat-wrappers): Define.
10127         (libpthread-routines): Use pthread-compat-wrappers.
10128         * sysdeps/unix/sysv/linux/alpha/Makefile
10129         (libpthread-routines, libpthread-shared-only-routines): Remove
10130         ptw- prefix.
10131         * sysdeps/s390/nptl/Makefile
10132         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10133         * sysdeps/ia64/nptl/Makefile
10134         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10135         * sysdeps/nacl/Makefile (libpthread-routines): Use
10136         pthread-compat-wrappers to filter the routines list instead of the
10137         ptw- prefix.
10139 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10141         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10142         with L() and remove explicit suffix, convert real literals
10143         which can be equivalentally substituted with integers, and
10144         transform -L(x) to L(-x).
10146         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10191         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10192         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10194         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10197 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10199         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10201 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10203         * malloc/Makefile (tests): Remove individual static test names
10204         and just add all of tests-static.
10206         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10208 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10210         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10211         file.
10213         * sysdeps/sparc/fpu/fegetmode.c: New file.
10214         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10216         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10217         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10219         * sysdeps/s390/fpu/fegetmode.c: New file.
10220         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10222         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10223         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10224         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10225         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10226         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10227         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10229         * sysdeps/mips/fpu/fegetmode.c: New file.
10230         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10232         * sysdeps/m68k/fpu/fegetmode.c: New file.
10233         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10235         * sysdeps/ia64/fpu/fegetmode.c: New file.
10236         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10238         * sysdeps/hppa/fpu/fegetmode.c: New file.
10239         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10241         * sysdeps/arm/fegetmode.c: New file.
10242         * sysdeps/arm/fesetmode.c: Likewise.
10244         * sysdeps/alpha/fpu/fegetmode.c: New file.
10245         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10247         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10248         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10250         * math/fegetmode.c: New file.
10251         * math/fesetmode.c: Likewise.
10252         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10253         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10254         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10255         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10256         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10258         declaration.
10259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10260         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10261         typedef.
10262         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10263         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10264         (femode_t): New typedef.
10265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10266         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10267         (femode_t): New typedef.
10268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10269         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10270         (femode_t): New typedef.
10271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10272         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10273         (femode_t): New typedef.
10274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10275         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10276         (femode_t): New typedef.
10277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10278         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10279         (femode_t): New typedef.
10280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10281         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10282         (femode_t): New typedef.
10283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10284         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10285         (femode_t): New typedef.
10286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10287         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10288         (femode_t): New typedef.
10289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10290         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10291         (femode_t): New typedef.
10292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10293         declaration.
10294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10295         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10296         (femode_t): New typedef.
10297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10298         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10299         (femode_t): New typedef.
10300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10301         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10302         (femode_t): New typedef.
10303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10304         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10305         (femode_t): New typedef.
10306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10307         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10308         (femode_t): New typedef.
10309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10310         * manual/arith.texi (FE_DFL_MODE): Document macro.
10311         (fegetmode): Document function.
10312         (fesetmode): Likewise.
10313         * math/Versions (fegetmode): New libm symbol at version
10314         GLIBC_2.25.
10315         (fesetmode): Likewise.
10316         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10317         (tests): Add test-femode and test-femode-traps.
10318         * math/test-femode-traps.c: New file.
10319         * math/test-femode.c: Likewise.
10320         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10321         alias for __fe_dfl_env.
10322         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10323         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10324         (__fe_dfl_mode): Likewise.
10325         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10326         version GLIBC_2.25.
10327         * sysdeps/nacl/libm.abilist: Update.
10328         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10338         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10339         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10341         Likewise.
10342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10345         Likewise.
10346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10354         Likewise.
10355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10358         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10359         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10361 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10363         [BZ #20495]
10364         [BZ #20508]
10365         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10366         processors, set Use_dl_runtime_resolve_slow and set
10367         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10368         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10369         New.
10370         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10371         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10372         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10373         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10374         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10375         if Use_dl_runtime_resolve_opt is set.  Use
10376         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10377         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10378         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10379         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10380         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10381         New.
10382         (_dl_runtime_resolve_opt): Likewise.
10383         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10384         defined.
10386 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10388         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10389         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10391 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10393         Convert malloc to __libc_lock.  Automated part, using this Perl
10394         s/// command:
10395           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10396             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10397         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10398         conversion.
10400 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10402         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10403         (linknamespace-symlists-tests): Likewise.
10404         (linknamespace-header-tests): Likewise.
10406 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10408         [BZ #19810]
10409         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10410         * elf/tst-noload.c: New test case.
10411         * elf/Makefile (tests): Add tst-noload.
10413 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10415         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10417         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10418         not any more.
10420         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10422 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10424         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10425         (do_cos_slow): Likewise.
10426         (do_sin): Likewise.
10427         (do_sin_slow): Likewise.
10428         (slow): Likewise.
10429         (slow1): Likewise.
10430         (slow2): Likewise.
10431         (sloww): Likewise.
10432         (sloww1): Likewise.
10433         (sloww2): Likewise.
10434         (bsloww): Likewise.
10435         (bsloww1): Likewise.
10436         (bsloww2): Likewise.
10437         (cslow2): Likewise.
10439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10441         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10442         arguments.  Consolidate input partitioning from callers here.
10443         (do_cos_slow): Likewise.
10444         (do_sin): Likewise.
10445         (do_sin_slow): Likewise.
10446         (do_sincos_1): Remove the no longer necessary input partitioning.
10447         (do_sincos_2): Likewise.
10448         (__sin): Likewise.
10449         (__cos): Likewise.
10450         (slow1): Likewise.
10451         (slow2): Likewise.
10452         (sloww1): Likewise.
10453         (sloww2): Likewise.
10454         (bsloww1): Likewise.
10455         (bsloww2): Likewise.
10456         (cslow2): Likewise.
10458 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10460         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10461         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10462         outside of allocated array.
10464 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10466         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10467         instead of MB_CUR_MAX to avoid variable-length array.
10469 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10471         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10472         (type-double-routines): Add k_rem_pio2.
10473         (type-float-routines): Add k_rem_pio2f.
10475         * sysdeps/generic/math_private.h:
10476         (__kernel_rem_pio2l): Removed.
10478         * math/k_rem_pio2l.c: Removed.
10479         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10480         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10481         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10482         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10484 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10486         * math/Makefile (gen-libm-calls): Add s_fmin
10487         (libm-calls): Remove above.
10489         * math/s_fmin.c: Refactor into ...
10490         * math/s_fmin_template.c: New file.
10492         * math/s_fminf.c: Removed.
10493         * math/s_fminl.c: Removed.
10494         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10495         (LDOUBLE_fmin_libm_version): New macro.
10497         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10498         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10500 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10502         * math/Makefile: (gen-libm-calls): Add s_fmax.
10503         (libm-calls): Remove above.
10505         * math/s_fmax.c: Refactor into ...
10506         * math/s_fmax_template.c: New file.
10507         * math/s_fmaxf.c: Removed.
10508         * math/s_fmaxl.c: Removed.
10510         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10511         (LDOUBLE_fmaxl_libm_version): New macro.
10513         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10514         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10516         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10517         s_fmin.c to pick the aarch64 version of the file.
10518         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10519         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10521 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10523         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10524         (libm-calls): Remove above.
10526         * math/s_nextdown.c: Refactor into ...
10527         * math/s_nextdown_template.c: New file.
10528         * math/s_nextdownf.c: Removed.
10529         * math/s_nextdownl.c: Removed.
10531         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10533 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10535         * math/Makefile (gen-libm-calls): Add s_fdim.
10536         (libm-calls): Move to above.
10538         * math/s_fdim.c: Renamed and refactored into to ...
10539         * math/s_fdim_template.c: New file.
10540         * math/s_fdiml.c: Removed.
10541         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10542         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10544         * sysdeps/generic/math-type-macros-double.h:
10545         (declare_mgen_alias): Don't declare if already declared.
10546         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10547         Likewise.
10549         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10550         (declare_mgen_alias): Don't declare if already declared.
10551         (M_LIBM_NEED_COMPAT): Likewise.
10552         (declare_mgen_libm_compat): Likewise.
10553         (LDOUBLE_fdiml_libm_version): New macro.
10555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10556         Include math/s_fdim.c now that ldbl-opt version is not needed.
10557         (declare_mgen_alias): New macro to disable aliasing.
10559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10560         (declare_mgen_alias): Likewise.
10561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10562         (declare_mgen_alias): Likewise.
10563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10564         (declare_mgen_alias): Likewise.
10565         (M_LIBM_NEED_COMPAT): Likewise.
10567 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10569         [BZ #20525]
10570         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10571         Include <linux/quota.h>.
10572         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10573         and btodb.
10574         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10575         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10576         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10577         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10578         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10579         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10580         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10581         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10582         types.
10583         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10584         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10586 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10588         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10589         (gammal_positive): Fix spacing.
10590         (__ieee754_gammal_r): Likewise.
10592 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10594         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10595         (_Float128): Define as long double, always.
10596         (L): Apply long double type suffix, always.
10598         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10599         _Float128, excepting comments.
10601         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10602         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10603         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10604         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10605         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10606         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10607         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10608         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10609         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10610         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10611         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10613         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10614         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10615         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10616         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10617         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10618         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10620         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10621         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10622         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10623         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10624         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10625         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10626         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10627         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10628         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10629         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10630         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10631         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10632         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10633         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10634         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10636         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10637         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10638         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10639         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10640         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10641         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10642         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10643         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10644         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10645         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10646         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10647         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10648         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10649         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10650         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10651         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10652         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10653         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10654         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10655         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10656         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10657         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10658         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10659         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10660         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10661         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10662         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10663         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10664         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10665         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10666         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10667         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10668         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10670         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10671         _Float128, and include math_private.h.
10672         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10675         long double semantics.
10676         (_Float128): Likewise.
10677         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10678         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10679         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10680         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10682 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10684         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10685         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10686         * sysdeps/s390/configure: Regenerated.
10687         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10688         instruction for raising over-/underflow if z196 zarch is supported
10689         by default.
10690         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10692 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10694         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10695         it point to a dumb buffer for RPC to fill it.
10697 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10699         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10700         instead of if/else.
10701         (do_sin_slow): Likewise.
10702         (do_sincos_1): Use fabs instead of if/else.
10703         (do_sincos_2): Likewise.
10704         (__sin): Likewise.
10705         (__cos): Likewise.
10706         (slow2): Likewise.
10707         (sloww): Likewise.
10708         (sloww1): Likewise.  Drop argument M.
10709         (sloww2): Use fabs instead of if/else.
10710         (bsloww): Likewise.
10711         (bsloww1): Likewise.
10712         (bsloww2): Likewise.
10714         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10715         fall through comment.
10716         (do_sincos_1): Likewise.
10718         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10719         Consolidate switch cases 0 and 2.
10721 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10723         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10724         (libm-calls): Remove the above.
10726         * math/s_cexp_template.c: Update using type-generic macros.
10727         * math/s_clog10_template.c: Likewise.
10728         * math/s_cpow_template.c: Likewise.
10729         * math/s_clog_template.c: Likewise.
10730         * math/s_cproj_template.c: Likewise.
10731         * math/s_csqrt_template.c: Likewise.
10733         * math/s_cexp.c: Removed.
10734         * math/s_cexpf.c: Removed.
10735         * math/s_cexpl.c: Removed.
10736         * math/s_clog10.c: Removed.
10737         * math/s_clog10f.c: Removed.
10738         * math/s_clog10l.c: Removed.
10739         * math/s_cpow.c: Removed.
10740         * math/s_cpowf.c: Removed.
10741         * math/s_cpowl.c: Removed.
10742         * math/s_clog.c: Removed.
10743         * math/s_clogf.c: Removed.
10744         * math/s_clogl.c: Removed.
10745         * math/s_cproj.c: Removed.
10746         * math/s_cprojf.c: Removed.
10747         * math/s_cprojl.c: Removed.
10748         * math/s_csqrt.c: Removed.
10749         * math/s_csqrtf.c: Removed.
10750         * math/s_csqrtl.c: Removed.
10752         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10753         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10754         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10755         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10756         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10757         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10759         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10760         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10761         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10762         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10763         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10764         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10765         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10766         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10767         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10768         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10769         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10771         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10772         version.
10774         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10775         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10776         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10777         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10779 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10781         * s_cexp_template.c: Copy of s_cexp.c.
10782         * s_clog_template.c: Copy of s_clog.c.
10783         * s_clog10_template.c: Copy of s_clog10.c.
10784         * s_cpow_template.c: Copy of s_cpow.c.
10785         * s_cproj_template.c: Copy of s_cproj.c.
10786         * s_csqrt_template.c: Copy of s_csqrt.c.
10788 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10790         [BZ #20517]
10791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10792         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10793         exported.
10795 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10797         * math/fetestexceptflag.c: New file.
10798         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10799         Stefan Liebler.
10800         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10801         (fetestexceptflag): New function declaration.
10802         * manual/arith.texi (fetestexceptflag): Document function.
10803         * math/Versions (fetestexceptflag): New libm symbol at version
10804         GLIBC_2.25.
10805         * math/Makefile (libm-support): Add fetestexceptflag.
10806         (tests): Add test-fetestexceptflag.
10807         * math/test-fetestexceptflag.c: New file.
10808         * sysdeps/nacl/libm.abilist: Update.
10809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10810         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10811         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10812         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10813         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10815         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10816         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10817         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10818         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10819         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10820         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10822         Likewise.
10823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10824         Likewise.
10825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10826         Likewise.
10827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10828         Likewise.
10829         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10830         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10831         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10832         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10833         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10835         Likewise.
10836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10837         Likewise.
10838         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10839         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10840         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10842 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10844         [BZ #20432]
10845         Avoid strong references to malloc-internal symbols when linking
10846         statically, to support statically interposed mallocs.
10847         * include/libc-symbols.h (call_function_static_weak): New macro.
10848         * malloc/Makefile (tests): Add tst-interpose-nothread,
10849         tst-interpose-thread, tst-interpose-static-nothread,
10850         tst-interpose-static-thread.
10851         (tests-static): Add tst-interpose-static-nothread,
10852         tst-interpose-static-thread.
10853         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10854         tst-interpose-aux-thread.o.
10855         (test-extras): Add tst-interpose-aux-nothread,
10856         tst-interpose-aux-thread.
10857         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10858         tst-interpose-aux-nothread.o.
10859         (tst-interpose-thread, tst-interpose-static-thread): Link with
10860         tst-interpose-aux-thread.o and libthread.
10861         * malloc/tst-interpose-aux-nothread.c: New file.
10862         * malloc/tst-interpose-aux-thread.c: Likewise.
10863         * malloc/tst-interpose-aux.c: Likewise.
10864         * malloc/tst-interpose-aux.h: Likewise.
10865         * malloc/tst-interpose-nothread.c: Likewise.
10866         * malloc/tst-interpose-skeleton.c: Likewise.
10867         * malloc/tst-interpose-static-nothread.c: Likewise.
10868         * malloc/tst-interpose-static-thread.c: Likewise.
10869         * malloc/tst-interpose-thread.c: Likewise.
10870         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10871         * sysdeps/mach/hurd/fork.c (__fork): Only call
10872         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10873         __malloc_fork_unlock_child if defined.
10874         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10876 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10878         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10879         timespec C99 designated initialization.
10881 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10883         [BZ #19946]
10884         Avoid expected SIGALRM signals.
10885         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10886         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10887         (xpthread_create, xpthread_detach, xpthread_join)
10888         (delayed_exit_thread, delayed_exit): New functions.
10889         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10890         (tf): Use xpthread_cond_wait.
10891         (do_test): Likewise.  Replace alarm with delayed_exit.
10892         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10893         (do_test): Call delayed_exit.  Report failure.
10894         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10895         (do_test): Call delayed_exit.
10896         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10897         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10898         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10899         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10900         error.
10901         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10902         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10903         error.
10904         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10905         (do_test): Call delayed_exit.
10906         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10907         (do_test): Call delayed_exit.
10908         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10909         (do_test): Call delayed_exit instead of alarm.  Use
10910         xpthread_mutex_lock.
10911         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10912         (do_test): Call delayed_exit instead of alarm.  Use
10913         xpthread_mutex_lock.
10914         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10915         (do_test): Call delayed_exit instead of alarm.
10916         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10917         (do_test): Call delayed_exit instead of alarm.  Use
10918         xpthread_spin_lock.
10919         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10920         (do_test): Call delayed_exit instead of alarm.  Use
10921         xpthread_join.
10923 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10925         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10926         adjust CFA when allocating register save area on re-aligned
10927         stack.
10929 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10931         * string/tst-cmp.c: New test.
10932         * string/Makefile (tests): Add it.
10934 2016-08-25  Mark Wielaard  <mark@klomp.org>
10936         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10937         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10938         (check_tree_recurse): Use newly defined accessors.
10939         (check_tree): Likewise.
10940         (maybe_split_for_insert): Likewise.
10941         (__tfind): Likewise.
10942         (__tdelete): Likewise.
10943         (trecurse): Likewise.
10944         (tdestroy_recurse): Likewise.
10945         (__tsearch): Likewise. And add asserts for malloc alignment.
10946         (__twalk): Cast root to node in case CHECK_TREE is defined.
10948 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10950         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10952 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10954         * math/Makefile (libm-gen-calls): Add
10955         catan, catanh, ctan, ctanh.
10956         (libm-calls): Remove the above.
10958         * math/s_catan_template.c: Update using type-generic macros.
10959         * math/s_catanh_template.c: Likewise.
10960         * math/s_ctan_template.c: Likewise.
10961         * math/s_ctanh_template.c: Likewise.
10963         * math/s_catanf.c: Removed.
10964         * math/s_catan.c: Removed.
10965         * math/s_catanl.c: Removed.
10966         * math/s_catanhf.c: Removed.
10967         * math/s_catanh.c: Removed.
10968         * math/s_catanhl.c: Removed.
10969         * math/s_ctanf.c: Removed.
10970         * math/s_ctan.c: Removed.
10971         * math/s_ctanl.c: Removed.
10972         * math/s_ctanhf.c: Removed.
10973         * math/s_ctanh.c: Removed.
10974         * math/s_ctanhl.c: Removed.
10976         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10977         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10978         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10979         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10980         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10981         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10983         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10984         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10985         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10986         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10988 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10990         * s_catan_template.c: Copy of s_catan.c.
10991         * s_catanh_template.c: Copy of s_catanh.c.
10992         * s_ctan_template.c: Copy of s_ctan.c.
10993         * s_ctanh_template.c: Copy of s_ctanh.c.
10995 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10997         * math/Makefile (gen-libm-calls): Move
10998         casin, casinh, csin, csinh here.
10999         (libm-calls): Remove the above.
11001         * math/s_casin_template.c: Update using type-generic macros.
11002         * math/s_casinh_template.c: Likewise.
11003         * math/s_csin_template.c: Likewise.
11004         * math/s_csinh_template.c: Likewise.
11005         * math/k_casinh_template.c: Likewise.
11007         * math/s_casinf.c: Removed.
11008         * math/s_casin.c: Removed.
11009         * math/s_casinl.c: Removed.
11010         * math/s_casinh.c: Removed.
11011         * math/s_casinhf.c: Removed.
11012         * math/s_casinhl.c: Removed.
11013         * math/s_csin.c: Removed.
11014         * math/s_csinf.c: Removed.
11015         * math/s_csinl.c: Removed.
11016         * math/s_csinh.c: Removed.
11017         * math/s_csinhf.c: Removed.
11018         * math/s_csinhl.c: Removed.
11019         * math/k_casinh.c: Removed.
11020         * math/k_casinhf.c: Removed.
11021         * math/k_casinhl.c: Removed.
11023         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11024         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11025         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11026         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11028         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11029         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11030         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11031         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11032         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11033         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11034         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11035         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11037         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11038         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11039         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11040         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11042         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11043         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11044         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11045         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11047 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11049         * s_casin_template.c: Copy of s_casin.c.
11050         * s_casinh_template.c: Copy of s_casinh.c.
11051         * s_csin_template.c: Copy of s_csin.c.
11052         * s_csinh_template.c: Copy of s_csinh.c.
11053         * k_casinh_template.c: Copy of k_casinh.c.
11055 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11057         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11059 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11061         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11062         (mul_split) Remove, rename as mul_splitl, remove
11063         redundant float.h include, and include via mul_splitl.h
11065         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11067         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11068         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11069         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11071         * math/mul_splitl.h: New file.
11073         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11074         Move into mul_split.h, and remove redundant float.h include.
11076         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11077         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11078         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11079         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11081         * math/mul_split.h: New file.
11083 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11085         * math/Makefile (libm-gen-calls): Move
11086         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11087         (libm-calls): Remove above.
11089         * math/s_cacos_template.c: Update using type-generic macros.
11090         * math/s_cacosh_template.c: Likewise.
11091         * math/s_ccos_template.c: Likewise.
11092         * math/s_ccosh_template.c: Likewise.
11094         * math/s_cacosf.c: Removed.
11095         * math/s_cacos.c: Removed.
11096         * math/s_cacosl.c: Removed.
11097         * math/s_cacoshf.c: Removed.
11098         * math/s_cacosh.c: Removed.
11099         * math/s_cacoshl.c: Removed.
11100         * math/s_ccosf.c: Removed.
11101         * math/s_ccos.c: Removed.
11102         * math/s_ccosl.c: Removed.
11103         * math/s_ccoshf.c: Removed.
11104         * math/s_ccosh.c: Removed.
11105         * math/s_ccoshl.c: Removed.
11107         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11108         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11109         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11110         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11111         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11112         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11114         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11115         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11116         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11117         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11119         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11120         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11121         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11122         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11124 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11126         * s_cacos_template.c: Copy of s_cacos.c.
11127         * s_cacosh_template.c: Copy of s_cacosh.c.
11128         * s_ccos_template.c: Copy of s_ccos.c.
11129         * s_ccosh_template.c: Copy of s_ccosh.c.
11131 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11133         * stdlib/tst-strtod-round-skeleton.c:
11134         Refactored from tst-strtod-round.c.
11136         (L_): New macro to apply literal modifier.
11137         (FNPFX): New macro to select str or wcs prefix.
11138         (CHAR): New macro to choose wchar_t or char.
11139         (STRM): New macro to choose printf for tested character type.
11141         (STRTO): New macro to choose appropriate string -> real function.
11142         (FNPFXS): Stringitized version of FNPFX.
11143         (STR): Support for above macro.
11144         (STRX): Likewise.
11146         (TEST): Update with above macros.
11147         (test): Likewise.
11148         (GEN_ONE_TEST): Likewise.
11149         (test_in_one_mode): Likewise.
11151         * stdlib/tst-strtod-round.c: New file.
11152         * wcsmbs/tst-wcstod-round.c: New file.
11154         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11155         (tst-wcstod-round): Add libm depencency for fesetround.
11157 2016-08-19  Zack Weinberg  <zackw@panix.com>
11159         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11161 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11163         [BZ #20477]
11164         * resolv/res_hconf.c (do_init): Use atomic access.
11165         * resolv/res_hconf.h: Add comments.
11166         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11167         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11170 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11172         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11173         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11174         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11175         Likewise.
11177 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11179         [BZ #16907]
11180         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11181         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11182         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11183         (__attribute__): Remove definition.
11185 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11187         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11188         Remove unused sqrtl declaration.
11190 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11192         * math/Makefile: (gen-libm-templates.stmp): New rule.
11193         (libm-calls): Move carg conj cimag and cabs into ...
11194         (gen-libm-calls): New variable.
11195         (generated): Inform Make objects from gen-libm-calls
11196         may be generated.
11198         * sysdeps/generic/math-type-macros.h: New file.
11199         * sysdeps/generic/math-type-macros-float.h: Likewise.
11200         * sysdeps/generic/math-type-macros-double.h: Likewise.
11201         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11202         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11203         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11205         * math/cabs.c: Refactor into
11206         * math/cabs_template.c: new file.
11207         * math/cabsf.c: Removed.
11208         * math/cabsl.c: Removed.
11209         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11210         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11212         * math/carg.c: Refactor into
11213         * math/carg_template.c: new file.
11214         * math/cargf.c: Removed.
11215         * math/cargl.c: Removed.
11216         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11217         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11219         * math/conj.c: Refactor into
11220         * math/conj_template.c: new file.
11221         * math/conjf.c: Removed.
11222         * math/conjl.c: Removed.
11223         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11224         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11226         * math/cimag.c: Refactor into
11227         * math/cimag_template.c: new file.
11228         * math/cimagf.c: Removed.
11229         * math/cimagl.c: Removed.
11230         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11231         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11233         * math/cimag.c: Refactor into
11234         * math/cimag_template.c: new file.
11235         * math/cimagf.c: Removed.
11236         * math/cimagl.c: Removed.
11237         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11238         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11240 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11242         Reduce time to expected nptl/tst-once5 failure.
11243         * nptl/tst-once5.cc (TIMEOUT): Define.
11245 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11247         [BZ #20452]
11248         Avoid additional copies of objects in libc.a in static libraries.
11249         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11250         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11251         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11252         rt-sysdep.
11253         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11254         Add nptl-sysdep.
11255         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11256         Add ptw-sysdep.
11257         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11258         rt-sysdep.
11259         * sysdeps/unix/sysv/linux/alpha/Makefile
11260         (libpthread-shared-only-routines): Add ptw-sysdep,
11261         ptw-sigprocmask, ptw-rt_sigaction.
11262         * sysdeps/unix/sysv/linux/ia64/Makefile
11263         (librt-shared-only-routines): Add rt-sysdep.
11264         * sysdeps/unix/sysv/linux/i386/Makefile
11265         (libpthread-shared-only-routines): Add libc-do-syscall.
11266         * sysdeps/unix/sysv/linux/microblaze/Makefile
11267         (libpthread-shared-only-routines): Add sysdep.
11268         * sysdeps/unix/sysv/linux/powerpc/Makefile
11269         (librt-shared-only-routines): Add rt-sysdep.
11270         (libpthread-shared-only-routines): Add sysdep.
11271         * sysdeps/unix/sysv/linux/s390/Makefile
11272         (librt-shared-only-routines): Add rt-sysdep.
11273         * sysdeps/unix/sysv/linux/sparc/Makefile
11274         (librt-shared-only-routines): Add rt-sysdep.
11275         (libpthread-shared-only-routines): Add sysdep.
11276         * sysdeps/unix/sysv/linux/tile/Makefile
11277         (libpthread-shared-only-routines): Likewise.
11279 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11281         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11282         Mask implicit bit out of unpacked value.
11283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11284         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11287         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11289         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11291         * sysdeps/s390/fpu/fesetexcept.c: New file.
11293         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11294         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11295         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11297         * sysdeps/mips/fpu/fesetexcept.c: New file.
11299         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11301         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11303         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11305         * sysdeps/arm/fesetexcept.c: New file.
11307         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11309         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11311         * math/fesetexcept.c: New file.
11312         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11313         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11314         * math/fenv.h: Define
11315         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11316         <bits/libc-header-start.h> instead of including <features.h>.
11317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11318         declaration.
11319         * manual/arith.texi (fesetexcept): Document function.
11320         * math/Versions (fesetexcept): New libm symbol at version
11321         GLIBC_2.25.
11322         * math/Makefile (libm-support): Add fesetexcept.
11323         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11324         * math/test-fesetexcept.c: New file.
11325         * math/test-fesetexcept-traps.c: Likewise.
11326         * sysdeps/nacl/libm.abilist: Update.
11327         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11328         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11329         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11330         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11331         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11332         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11333         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11334         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11335         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11336         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11337         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11338         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11340         Likewise.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11342         Likewise.
11343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11344         Likewise.
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11346         Likewise.
11347         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11348         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11349         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11350         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11351         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11353         Likewise.
11354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11355         Likewise.
11356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11357         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11358         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11360 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11362         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11363         New.
11364         (do_test): Apply default_stack_size_in_mb if not set.
11365         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11367 2016-08-15  Andreas Schwab  <schwab@suse.de>
11369         [BZ #20435]
11370         CVE-2016-6323
11371         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11372         as .cantunwind.
11374 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11376         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11377         comment from fraiseexcpt.c.
11379         * math/test-fexcept.c (feraiseexcept_exact): New function.
11380         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11381         (test_except): Likewise.
11383 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11385         [BZ #20455]
11386         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11387         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11388         to be restored.
11390         * math/test-fexcept-traps.c: New file.
11391         * math/test-fexcept.c: Likewise.
11392         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11393         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11394         macro.
11395         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11396         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11398 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11400         * include/atomic.h (atomic_fetch_and_relaxed,
11401         atomic_fetch_and_release, atomic_fetch_or_release,
11402         atomic_fetch_xor_release): New.
11404 2016-08-06  Christian Seiler  <christian@iwakd.de>
11406         [BZ #20444]
11407         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11408         MACH_PORT_NULL.
11410 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11412         * math/s_fdim.c: Avoid alias renamed.
11413         * math/s_fdimf.c: Likewise.
11414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11415         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11416         Add s_fdimf-vis3, s_fdim-vis3.
11417         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11418         (CFLAGS-s_fdim-vis3.c): Likewise.
11419         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11420         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11422 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11425         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11426         Remove s_fdimf-vis3, s_fdim-vis3.
11427         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11428         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11435         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11436         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11438 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11440         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11441         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11442         -Wa,-Av9a -mvis.
11444 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11446         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11447         LIT() to individual constants in simple expressions
11448         after splitting on spaces.
11449         (_apply_lit): Rename replaced version, and use it to
11450         apply to what appears to be a token.
11452         * math/libm-test.inc: Fix many, many issues with
11453         spacing.
11455 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11457         * math/math.h: Move comment about <bits/mathdef.h> definitions
11458         above inclusion of <bits/mathdef.h>.  Do not mention
11459         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11461 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11463         * include/atomic.h (atomic_exchange_relaxed): New.
11465 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11467         * math/e_scalb.c: Do not include <fenv.h>.
11468         (invalid_fn): Do calculation resulting in NaN instead of raising
11469         FE_INVALID and returning a NaN explicitly.
11470         * math/e_scalbf.c: Do not include <fenv.h>.
11471         (invalid_fn): Do calculation resulting in NaN instead of raising
11472         FE_INVALID and returning a NaN explicitly.
11473         * math/e_scalbl.c: Do not include <fenv.h>.
11474         (invalid_fn): Do calculation resulting in NaN instead of raising
11475         FE_INVALID and returning a NaN explicitly.
11477 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11479         * po/de.po: Updated from Translation Project.
11480         * po/fi.po: Likewise.
11481         * po/sv.po: Likewise.
11483 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11485         [BZ #20452]
11486         Use sysdep.o from libc.a in static libraries.
11487         * sysdeps/unix/sysv/linux/i386/Makefile
11488         (libpthread-shared-only-routines): Add sysdep.
11489         (librt-shared-only-routines): Likewise.
11491 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11493         * math/tgmath.h (nextdown): Define if
11494         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11495         (nextup): Likewise.
11497         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11498         macro.
11499         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11500         Document.
11501         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11502         Document macro.
11503         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11504         (exp10f): Likewise.
11505         (exp10l): Likewise.
11506         * math/bits/mathcalls.h (exp10): Declare if
11507         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11509         * manual/arith.texi (nextup): Fix typo in last change.
11511 2016-08-03  Zack Weinberg  <zackw@panix.com>
11513         [BZ #19239]
11514         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11515         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11516         define major, minor, and makedev to issue deprecation warnings on use.
11517         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11518         previously-activated deprecation warnings for these macros and prevent
11519         subsequent inclusions of this header from having any effect.
11520         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11521         including <sys/sysmacros.h>, and undefine it again afterward.
11523 2016-08-03  Zack Weinberg  <zackw@panix.com>
11525         * sysdeps/generic/sys/sysmacros.h: Delete file.
11526         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11527         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11528         * bits/sysmacros.h: ... here; this encoding is now the generic
11529         encoding.  Now defines only the following macros:
11530         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11531         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11532         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11534         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11535         bits/sysmacros.h and the above new macros to generate the
11536         public implementations of major, minor, and makedev.
11537         * misc/tst-makedev.c: New test.
11538         * include/sys/sysmacros.h: New wrapper.
11540         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11541         (routines): Add makedev.
11542         (tests): Add tst-makedev.
11543         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11544         gnu_dev_makedev.
11545         * posix/Makefile (headers): Remove sys/sysmacros.h.
11546         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11548         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11549         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11550         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11551         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11552         * sysdeps/unix/sysv/linux/arm/libc.abilist
11553         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11554         * sysdeps/unix/sysv/linux/i386/libc.abilist
11555         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11556         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11557         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11558         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11559         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11561         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11562         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11563         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11568         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11569         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11570         * sysdeps/unix/sysv/linux/sh/libc.abilist
11571         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11572         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11575         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11576         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11577         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11578         Add GLIBC_2.25.
11580         * include/features.h (__glibc_clang_prereq): New macro.
11581         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11582         (__attribute_deprecated_msg__): New macros.
11584 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11586         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11587         macro.
11588         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11589         * manual/arith.texi (issignaling): Document as ISO from TS
11590         18661-1:2014.
11591         (nextup): Likewise.
11592         (nextupf): Likewise.
11593         (nextupl): Likewise.
11594         (nextdown): Likewise.
11595         (nextdownf): Likewise.
11596         (nextdownl): Likewise.
11597         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11598         macro.
11599         * math/math.h: Define
11600         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11601         <bits/libc-header-start.h> instead of including <features.h>.
11602         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11603         [__USE_GNU].
11604         * math/bits/mathcalls.h (nextdown): Declare if
11605         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11606         (nextup): Likewise.
11607         (__issignaling): Likewise.
11609 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11611         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11612         check, and remove __glibc_likely hint
11613         from FP_INFINITE check.
11614         * s_csinhf.c (__csinhf): Likewise.
11616         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11617         hint from FP_INFINITE check.
11618         * s_csinhl.c (__csinhl): Likewise.
11620 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11622         * math/Makefile (libm-calls): Insert F placeholder into
11623         object names.  Move w_lgamma_compat* routines into
11624         (libm-compat-calls): New variable.
11625         (libm-compat-calls-ldouble-yes): New variable.
11626         (calls): Insert F placeholder.
11627         (generated): Redefine using new type-foreach macro call.
11628         (routines): Likewise.
11630         (types): New variable to hold a list of symbolic names
11631         for each type supported by the target machine.
11632         (libm-routines): Redefine using new types variable.
11633         (type-foreach): macro to replace fooF with the
11634         appropriately suffixed foo for each types.
11636         (type-ldouble-suffix): New variable.
11637         (type-ldouble-routines): Likewise.
11638         (type-ldouble-yes): Likewise.
11639         (type-double-suffix): Likewise.
11640         (type-double-routines): Likewise.
11641         (type-float-suffix): Likewise.
11642         (type-float-routines): Likewise.
11644         (dbl-only-routines): Remove.
11645         (long-c-yes): Likewise.
11646         (long-m-routines): Likewise.
11647         (long-m-support): Likewise.
11648         (long-m-yes): Likewise.
11649         (test-longdouble-yes): Likewise.
11651         (test-float.o): Simplify by increasing the scope of the
11652         recipe which adds libm-test.stmp to the vector types.
11653         (test-ifloat.o): Likewise.
11654         (test-float-finite.o): Likewise.
11655         (test-double.o): Likewise
11656         (test-idouble.o): Likewise.
11657         (test-double-finite.o): Likewise.
11658         (test-ldouble.o): Likewise
11659         (test-ildoubl.o): Likewise.
11660         (test-ldouble-finite.o): Likewise.
11662         (libm-tests): Redefine type tests using foreach and the
11663         list of types in types.
11665         (CPPFLAGS-test-ildoubl.c): Rename to
11666         (CPPFLAGS-test-ildouble.c): New variable
11668         * math/test-ildoubl.c: Rename to
11669         * math/test-ildouble.c: New file.
11671 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11673         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11674         Use fabsl instead of fabs.
11675         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11676         Likewise.
11677         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11678         Add long double suffix to constant to ensure proper
11679         promotion to long double.
11681 2016-08-03  Tom Tromey  <tom@tromey.com>
11683         [BZ #20311]
11684         * nptl_db/Makefile (headers): Add proc_service.h.
11685         * nptl_db/proc_service.h: Add include guard.  Use
11686         __BEGIN/__END_DECLS.
11687         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11688         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11689         arguments.
11692 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11694         [BZ #17730]
11695         Avoid using memalign for TCB allocations.
11696         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11697         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11698         Avoid alignment gap in the TLS_DTV_AT_TP case.
11699         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11700         determine the pointer to free.
11701         * nptl/tst-tls3-malloc.c: New test.
11702         * nptl/Makefile (tests): Add it.
11703         (tst-tls3-malloc): Link with libdl, libpthread.
11704         (LDFLAGS-tst-tls3-malloc): Set.
11705         (tst-tls3-malloc.out): Depend on DSO used in test.
11707 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11709         [BZ #17730]
11710         Avoid using memalign for TLS allocations.
11711         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11712         is_static member with to_free member.
11713         (union dtv): Use struct dtv_pointer.
11714         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11715         dtv_pointer instead of is_static.
11716         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11717         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11718         instead of val.
11719         (allocate_dtv_entry): New function.
11720         (allocate_and_init): Return struct dtv_pointer.  Call
11721         allocate_dtv_entry instead of __libc_memalign.
11722         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11723         instead of val.
11724         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11725         instead of is_static.  Adjust call to allocate_and_init.
11726         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11727         struct dtv_pointer instead of val.
11729 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11731         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11732         (MALLOC_ALIGN_MASK): Move ...
11733         * malloc/malloc-internal.h: ... to here.
11734         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11736 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11738         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11739         (UDP_ENCAP_GTP1U): Likewise.
11741         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11742         (PF_MAX): Update value.
11743         (AF_QIPCRTR): New macro.
11745 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11747         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11748         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11749         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11751         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11752         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11753         s_truncf-vis3, s_trunc-vis3.
11754         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11755         (CFLAGS-s_ceil-vis3.c): Likewise.
11756         (CFLAGS-s_floorf-vis3.c): Likewise.
11757         (CFLAGS-s_floor-vis3.c): Likewise.
11758         (CFLAGS-s_truncf-vis3.c): Likewise.
11759         (CFLAGS-s_trunc-vis3.c): Likewise.
11760         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11768         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11769         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11770         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11771         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11773 2016-08-02  David S. Miller  <davem@davemloft.net>
11775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11776         (__nearbyint_vis3): Don't check for sNaN before float register is
11777         loaded with the incoming argument.
11778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11779         (__nearbyintf_vis3): Likewise.
11780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11781         Likewise.
11782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11783         Likewise.
11785         * string/test-strncmp.c (do_test_limit): Make sure the test data
11786         stream is aligned as required for the type "CHAR".
11787         (do_test): Likewise.
11789 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11791         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11792         by beq instructions jumping to the end of the function.
11793         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11794         clobber list. Use "i" constraint instead of "X".
11795         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11796         of "X".
11798 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11800         * bits/libc-header-start.h: New file.
11801         * Makefile (headers): Add bits/libc-header-start.h.
11802         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11803         (__GLIBC_USE): New macro.
11804         * libio/stdio.h: Define
11805         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11806         <bits/libc-header-start.h> instead of including <features.h>.
11807         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11808         (open_memstream): Likewise.
11809         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11810         (__asprintf): Likewise.
11811         (asprintf): Likewise.
11812         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11813         (getdelim): Likewise.
11814         (getline): Likewise.
11815         * string/string.h: Define
11816         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11817         <bits/libc-header-start.h> instead of including <features.h>.
11818         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11819         (strndup): Likewise.
11820         * wcsmbs/wchar.h: Define
11821         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11822         <bits/libc-header-start.h> instead of including <features.h>.
11823         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11824         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11826 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11828         Support linking against compatibility symbols, for use in tests.
11829         * include/libc-symbols.h (symbol_version_reference): New macro.
11830         (symbol_version): Use it.
11831         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11832         (compat_symbol): Use compat_symbol_reference.
11833         (compat_symbol_1, compat_symbol_2): Remove.
11834         (compat_symbol_reference, compat_symbol_reference_1)
11835         (compat_symbol_reference_2): New macro.  Use
11836         symbol_version_reference.
11838 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11840         [BZ #19469]
11841         * malloc/Makefile (CPPFLAGS): Compile tests with
11842         -DTEST_NO_MALLOPT.
11843         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11845 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11847         [BZ #20033]
11848         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11849         finite version.
11850         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11851         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11852         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11853         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11854         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11855         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11856         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11859         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11860         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11861         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11862         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11863         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11864         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11865         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11866         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11867         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11868         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11869         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11870         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11871         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11872         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11873         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11874         in zero power.
11876 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11878         [BZ #20370]
11879         * malloc/arena.c (get_free_list): Update comment.  Assert that
11880         arenas on the free list have no attached threads.
11881         (remove_from_free_list): New function.
11882         (reused_arena): Call it.
11884 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11886         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11887         when it is a NaN.
11888         [_IEEE_FP_INEXACT] Remove.
11889         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11890         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11891         when it is a NaN.
11892         [_IEEE_FP_INEXACT] Remove.
11893         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11894         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11895         when it is a NaN.
11896         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11897         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11898         when its absolute value is greater than 0x1.0p52.
11899         [_IEEE_FP_INEXACT] Remove.
11900         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11901         when its absolute value is greater than 0x1.0p23.
11902         [_IEEE_FP_INEXACT] Remove.
11904 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11906         * version.h (RELEASE): Set to "development"
11907         (VERSION): Set to 2.24.90.
11908         * NEWS: Add 2.25 section.
11910         * version.h (RELEASE): Set to "stable"
11911         (VERSION): Set to 2.24.
11912         * include/features.h (__GLIBC_MINOR__): Set to 24.
11914         * NEWS: Add 2.24 fixed bugs.
11915         * po/libc.pot: Regenerate.
11917 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11920         [$(subdir) = math] (libm-sysdep_routines): Remove.
11921         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11922         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11923         s_truncf-vis3, s_trunc-vis3.
11924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11926         file.
11927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11960         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11961         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11962         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11963         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11964         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11965         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11966         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11967         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11968         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11969         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11971 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11973         [BZ #20384]
11974         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11975         test-double-libmvec-sincos-avx-main.o,
11976         test-double-libmvec-sincos-avx2-main.o,
11977         test-double-libmvec-sincos-main.o,
11978         test-float-libmvec-sincosf-avx-main.o,
11979         test-float-libmvec-sincosf-avx2-main.o and
11980         test-float-libmvec-sincosf-main.o.
11981         test-float-libmvec-sincosf-avx512-main.o.
11982         ($(objpfx)test-double-libmvec-sincos): Also link with
11983         $(objpfx)test-double-libmvec-sincos-main.o.
11984         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11985         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11986         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11987         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11988         ($(objpfx)test-float-libmvec-sincosf): Also link with
11989         $(objpfx)test-float-libmvec-sincosf-main.o.
11990         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11991         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11992         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11993         test-double-libmvec-sincos-avx512-main.o and
11994         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11995         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11996         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11997         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11998         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11999         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12000         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12001         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12002         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12003         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12004         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12005         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12006         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12007         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12008         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12009         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12010         -DREQUIRE_AVX2.
12011         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12012         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12013         -DREQUIRE_AVX512F.
12014         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12015         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12016         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12017         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12018         file.
12019         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12020         Likewise.
12021         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12022         Likewise.
12023         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12024         Likewise.
12025         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12026         Likewise.
12027         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12028         Likewise.
12029         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12030         Likewise.
12031         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12032         Likewise.
12034 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12036         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12038 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12040         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12041         and typo in a comment about AT_HWCAP entry.
12043 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12045         * sysdeps/aarch64/libm-test-ulps: Updated.
12047 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12049         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12050         of r13 as it is not restored in mvcle case.
12052 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12054         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12055         Rename "ret" to "__ret".
12056         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12057         inline_syscall5, inline_syscall6): Likewise.
12059 2016-07-19   Will Newton  <will.newton@gmail.com>
12061         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12062         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12063         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12064         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12065         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12067 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12069         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12070         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12071         -mfpmath=387 with $(rtld-CFLAGS).
12072         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12073         $(rtld-CFLAGS).
12075 2016-07-18   Ross Burton  <ross.burton@intel.com>
12076              Khem Raj  <raj.khem@gmail.com>
12078         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12079         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12080         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12081         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12082         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12083         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12084         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12085         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12086         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12087         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12088         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12089         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12090         R_METAG_TLS_DTPOFF): New.
12092 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12093             Matt Clay  <mclay@lycos.com>
12095         [BZ #20357]
12096         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12097         to call __mpsin/__mpcos and to negate values.
12098         * math/auto-libm-test-in: Add test.
12099         * math/auto-libm-test-out: Regenerate.
12101 2016-07-18  Zack Weinberg  <zackw@panix.com>
12103         * grp/Makefile: Don't install the internal header grp-merge.h.
12105 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12107         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12109 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12111         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12113 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12115         [BZ #15368]
12116         * sysdeps/unix/sysv/linux/nptl-signals.h
12117         (__nptl_clear_internal_signals): New function.
12118         (__libc_signal_block_all): Likewise.
12119         (__libc_signal_block_app): Likewise.
12120         (__libc_signal_restore_set): Likewise.
12121         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12122         implementation.
12123         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12124         the cached pid/tid value in pthread structure.
12126 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12128         [BZ #20347]
12129         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12131 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12133         [BZ #20348]
12134         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12135         preadv64, pwrite64 and pwritev64.
12137 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12139         [BZ #20350]
12140         * posix/tst-preadwrite.c: Renamed to ...
12141         * posix/tst-preadwrite-common.c: This.
12142         (PREAD): Removed.
12143         (PWRITE): Likewise.
12144         (STRINGIFY): Likewise.
12145         (STRINGIFY2): Likewise.
12146         (do_prepare): Make it static and remove function arguments.
12147         (do_test): Likewise.
12148         (PREPARE): Updated.
12149         (TEST_FUNCTION): New.
12150         (name): Make it static.
12151         (fd): Likewise.
12152         (do_prepare): Use create_temp_file.
12153         (do_test): Renamed to ...
12154         (do_test_with_offset): This.  Make it static and accept offset.
12155         Properly check return value of PWRITE and PREAD.  Return bytes
12156         read.  Don't close fd nor unlink name.
12157         * posix/tst-preadwrite.c: Rewrite.
12158         * posix/tst-preadwrite64.c: Likewise.
12160 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12162         [BZ #20309]
12163         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12164         -mtls-dialect=gnu2 works.
12165         * configure: Regenerated.
12166         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12167         (tests): Add tst-gnu2-tls1.
12168         (modules-names): Add tst-gnu2-tls1mod.
12169         ($(objpfx)tst-gnu2-tls1): New.
12170         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12171         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12172         * elf/tst-gnu2-tls1.c: New file.
12173         * elf/tst-gnu2-tls1mod.c: Likewise.
12174         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12175         bytes for push in the PLT entry to align the stack.
12177 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12179         [BZ #20349]
12180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12182 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12184         [BZ #18707]
12185         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12186         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12188 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12190         * sysdeps/unix/sysv/linux/sysdep.h
12191         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12192         guards.
12193         * misc/tst-preadvwritev-common.c: New file.
12194         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12195         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12196         a check for files larger than 2GB.
12198         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12199         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12200         * sysdeps/unix/sysv/linux/pread.c
12201         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12202         __OFF_T_MATCHES_OFF64_T.
12203         * sysdeps/unix/sysv/linux/pread64.c
12204         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12205         * sysdeps/unix/sysv/linux/preadv.c
12206         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12207         * sysdeps/unix/sysv/linux/preadv64.c
12208         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12209         * sysdeps/unix/sysv/linux/pwrite.c
12210         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12211         * sysdeps/unix/sysv/linux/pwrite64.c
12212         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12213         * sysdeps/unix/sysv/linux/pwritev.c
12214         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12215         * sysdeps/unix/sysv/linux/pwritev64.c
12216         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12218 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12220         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12221         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12223 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12225         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12227 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12229         [BZ #20240]
12230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12231         (CFLAGS-s_modf-ppc32.c): New variable.
12232         (CFLAGS-s_modff-ppc32.c): Likewise.
12233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12234         (CFLAGS-s_modf-ppc64.c): Likewise.
12235         (CFLAGS-s_modff-ppc64.c): Likewise.
12237 2016-07-07  Andreas Schwab  <schwab@suse.de>
12239         [BZ #20263]
12240         * nptl/tst-robust10.c: New test.
12241         * nptl/Makefile (tests): Add tst-robust10.
12243 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12245         [BZ #20263]
12246         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12248 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12250         * sysdeps/s390/linkmap.h (struct link_map_machine):
12251         Remove member gotplt and add member jmprel.
12252         * sysdeps/s390/s390-32/dl-machine.h
12253         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12254         instead of gotplt with &got[3].
12255         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12256         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12258 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12260         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12262 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12264         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12265         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12266         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12267         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12268         * libio/vtables.c (_IO_vtable_check)
12269         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12270         * libio/libioP.h (IO_set_accept_foreign_vtables)
12271         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12273 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12275         [BZ #20314]
12276         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12277         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12278         $(common-objpfx)cmath.
12279         ($(common-objpfx)cstdlib): New target.
12280         ($(common-objpfx)cmath): Likewise.
12282 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12284         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12286 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12288         [BZ #20327]
12289         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12290         are not part of the string.
12292 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12294         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12295         * nptl/tst-cancel4-common.h (fifoname): New variable.
12296         (fifofd): Likewise.
12297         (cl_fifo): New function.
12298         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12299         SIGINT.
12300         (tf_open): Add early cancel test.
12302 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12304         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12306 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12308         * sysdeps/generic/ldsodefs.h
12309         (dl_symbol_visibility_binds_local_p): New inline function.
12310         * elf/dl-addr.c (determine_info): Treat hidden and internal
12311         symbols as local.
12312         * elf/dl-lookup.c (do_lookup_x): Likewise.
12313         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12315 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12317         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12318         invalid exception for a sNaN input.
12319         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12320         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12321         (__nearbyint_vis3): Likewise
12322         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12323         (__nearbyintf_vis3): Likewise
12324         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12325         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12326         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12327         Likewise.
12328         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12329         Likewise.
12331 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12333         [BZ #20139]
12334         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12335         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12336         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12337         2.24 or above.
12338         (HAVE_AVX512_ASM_SUPPORT): Removed.
12339         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12340         * sysdeps/x86_64/configure: Regenerated.
12341         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12342         check unconditional.
12343         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12344         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12345         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12346         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12347         Likewise.
12348         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12349         Likewise.
12350         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12351         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12352         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12353         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12354         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12355         Likewise.
12356         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12357         Likewise.
12358         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12359         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12361         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12362         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12363         Likewise.
12364         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12365         Likewise.
12366         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12367         Likewise.
12368         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12369         Likewise.
12370         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12371         Likewise.
12372         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12373         Likewise.
12374         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12375         Likewise.
12376         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12377         Likewise.
12378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12379         Likewise.
12380         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12381         Likewise.
12382         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12383         Likewise.
12385 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12387         [BZ #20024]
12388         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12389         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12390         of this implementation of vector function.
12391         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12394         Likewise.
12395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12396         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12397         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12398         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12399         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12400         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12401         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12402         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12403         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12404         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12406         for testing vector sincos with fixed ABI.
12407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12408         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12409         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12410         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12411         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12413         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12414         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12415         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12416         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12417         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12418         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12419         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12420         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12421         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12422         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12424 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12426         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12428 2016-06-30  Anton Blanchard  <anton@samba.org>
12430         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12431         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12432         s_sinf-ppc64.
12433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12436         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12438 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12442         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12443         e_expf-ppc64.
12444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12445         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12446         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12447         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12449 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12451         [BZ #20277]
12452         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12453         when SHARED is defined.
12455 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12457         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12458         (index_arch_Prefer_ERMS): Likewise.
12459         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12460         __memcpy_erms for Prefer_ERMS.
12461         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12462         (__memmove_erms): Enabled for libc.a.
12463         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12464         __memmove_erms or Prefer_ERMS.
12465         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12466         __mempcpy_erms for Prefer_ERMS.
12467         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12468         __memset_erms for Prefer_ERMS.
12470 2016-06-30  Andreas Schwab  <schwab@suse.de>
12472         [BZ #20262]
12473         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12474         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12475         of memory.
12477 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12479         [BZ #18645]
12480         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12481         (test-extras): Add tst-cleanupx4aux.
12482         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12483         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12484         tst-cleanupx4aux.o.
12485         * nptl/tst-cleanupx4aux.c: New file.
12487 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12489         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12491 2016-06-29  Andreas Schwab  <schwab@suse.de>
12493         [BZ #20260]
12494         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12495         address before the beginning of the string as an integer to avoid
12496         array-bounds warning.
12498 2016-06-28  Richard Henderson  <rth@redhat.com>
12500         * elf/elf.h (EM_BPF): New.
12501         (EM_NUM): Update.
12502         (R_BPF_NONE, R_BPF_MAP_FD): New.
12504         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12505         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12506         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12507         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12508         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12509         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12510         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12511         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12512         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12513         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12514         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12515         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12516         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12517         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12518         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12519         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12520         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12521         (EM_NUM): Update.
12523 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12525         [BZ #18960]
12526         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12527         Set _nl_current_LC_CATEGORY_used to two instead of one.
12529 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12531         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12532         (do_test): ... this.
12533         (TEST_FUNCTION): New macro.
12534          Include test-skeleton.c.
12535         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12536         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12538 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12540         [BZ #15479]
12541         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12542         floating-point environment rather than just control word.
12543         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12544         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12545         floating-point environment, with "invalid" exceptions merged in,
12546         rather than just control word.
12547         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12548         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12549         "inexact" exceptions.
12551         [BZ #15479]
12552         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12553         floating-point environment rather than just control word.
12554         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12555         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12556         floating-point environment, with "invalid" exceptions merged in,
12557         rather than just control word.
12558         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12559         * math/libm-test.inc (floor_test_data): Do not allow spurious
12560         "inexact" exceptions.
12562         [BZ #15479]
12563         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12564         floating-point environment rather than just control word.
12565         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12566         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12567         floating-point environment, with "invalid" exceptions merged in,
12568         rather than just control word.
12569         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12570         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12571         "inexact" exceptions.
12573 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12575         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12576         __libc_vfork.
12577         (__vfork) [IS_IN (libc)]: Remove alias.
12578         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12579         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12580         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12582 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12584         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12585         of atomic_compare_and_exchange_bool_rel.
12586         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12587         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12588         catomic_compare_and_exchange_bool_rel): Remove.
12589         * sysdeps/aarch64/atomic-machine.h
12590         (atomic_compare_and_exchange_bool_rel): Likewise.
12591         * sysdeps/alpha/atomic-machine.h
12592         (atomic_compare_and_exchange_bool_rel): Likewise.
12593         * sysdeps/arm/atomic-machine.h
12594         (atomic_compare_and_exchange_bool_rel): Likewise.
12595         * sysdeps/mips/atomic-machine.h
12596         (atomic_compare_and_exchange_bool_rel): Likewise.
12597         * sysdeps/microblaze/atomic-machine.h
12598         ( __arch_compare_and_exchange_bool_8_rel,
12599         __arch_compare_and_exchange_bool_16_rel): Likewise.
12600         * sysdeps/powerpc/atomic-machine.h
12601         ( __arch_compare_and_exchange_bool_8_rel,
12602         __arch_compare_and_exchange_bool_16_rel): Likewise.
12603         * sysdeps/powerpc/powerpc32/atomic-machine.h
12604         ( __arch_compare_and_exchange_bool_32_rel,
12605         __arch_compare_and_exchange_bool_64_rel): Likewise.
12606         * sysdeps/powerpc/powerpc64/atomic-machine.h
12607         ( __arch_compare_and_exchange_bool_32_rel,
12608         __arch_compare_and_exchange_bool_64_rel): Likewise.
12609         * sysdeps/tile/atomic-machine.h
12610         (atomic_compare_and_exchange_bool_rel): Likewise.
12612 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12614         [BZ #20296]
12615         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12616         when either argument is a NaN.
12617         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12618         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12620         * math/libm-test.inc (snan_value_ld): New macro.
12621         (isgreater_test_data): Add sNaN tests.
12622         (isgreaterequal_test_data): Likewise.
12623         (isless_test_data): Likewise.
12624         (islessequal_test_data): Likewise.
12625         (islessgreater_test_data): Likewise.
12626         (isunordered_test_data): Likewise.
12627         (nextafter_test_data): Likewise.
12628         (nexttoward_test_data): Likewise.
12629         (remainder_test_data): Likewise.
12630         (remquo_test_data): Likewise.
12631         (significand_test_data): Likewise.
12632         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12634 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12636         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12637         environment macros are defined.
12638         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12640 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12642         [BZ #20191]
12643         Implement vtable verification in libio.
12644         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12645         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12646         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12647         _IO_new_file_init_internal instead of _IO_file_init.
12648         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12649         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12650         * libio/Makefile (routines): Add vtables.
12651         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12652         (_IO_init): Remove, not for internal use.
12653         (_IO_init_internal): Declare, internal replacement for _IO_init.
12654         (_IO_file_init): Remove, not for internal use.
12655         (_IO_new_file_init): Remove, not for internal use.
12656         (_IO_new_file_init_internal): Declare, internal replacement for
12657         _IO_new_file_init.
12658         (_IO_old_file_init): Remove, not for internal use.
12659         (_IO_old_file_init_internal): Declare, internal replacement for
12660         _IO_old_file_init.
12661         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12662         internal use.
12663         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12664         Declare.
12665         (libio_vtable): New macro.
12666         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12667         functions.
12668         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12669         _IO_new_file_init.
12670         (_IO_new_file_init): New externally visible wrapper which disables
12671         vtable verification.
12672         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12673         Define as vtables.
12674         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12675         (_IO_init): New externally visible wrapper which disables
12676         vtable verification.
12677         * libio/iofdopen.c (_IO_new_fdopen): Call
12678         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12679         comment.
12680         * libio/iofopen.c (__fopen_internal): Call
12681         _IO_new_file_init_internal instead of _IO_file_init.
12682         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12683         Define as vtables.
12684         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12685         _IO_new_file_init_internal instead of _IO_file_init.
12686         * libio/iopopen.c (_IO_new_popen): Likewise.
12687         (_IO_proc_jumps): Define as vtable.
12688         * libio/iovdprintf.c (_IO_vdprintf): Call
12689         _IO_new_file_init_internal instead of _IO_file_init.
12690         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12691         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12692         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12693         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12694         _IO_old_file_init.
12695         (_IO_old_file_init): New externally visible wrapper which disables
12696         vtable verification.
12697         (_IO_old_file_jumps): Define as vtable.
12698         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12699         _IO_old_file_init_internal instead of _IO_old_file_init.
12700         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12701         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12702         (_IO_old_proc_jumps): Define as vtable.
12703         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12704         Define as vtables.
12705         * libio/vtables.c: New file.
12706         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12707         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12708         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12709         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12710         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12711         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12712         instead of _IO_init.
12714 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12716         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12718 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12720         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12721         potentially unused.
12723 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12725         * test-skeleton.c (write_message): New function.
12726         * malloc/tst-mallocfork2.c (write_message): Remove.
12727         * debug/tst-longjmp_chk2.c (write_indented): New function.
12728         (write_message): Remove.
12729         (stackoverflow_handler): Call write_indented.
12731 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12733         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12734         "inexact" exceptions after fnstenv.
12735         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12736         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12737         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12739 2015-06-22  Zack Weinberg  <zackw@panix.com>
12741         * sysdeps/generic/bits/hwcap.h: Moved to ...
12742         * bits/hwcap.h: Here.
12744 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12746         * sysdeps/aarch64/memcpy.S (memcpy):
12747         Further tuning for performance.
12749 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12751         [BZ #20284]
12752         * malloc/arena.c (reused_arena): Do not return NULL if we start
12753         out with a non-corrupted arena.
12755 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12757         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12758         * misc/tst-preadvwritev.c: New file.
12759         * misc/tst-preadvwritev64.c: Likewise.
12760         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12761         usage.
12762         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12763         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12764         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12765         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12767 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12769         [BZ #19654]
12770         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12771         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12772         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12773         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12774         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12775         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12776         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12777         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12778         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12779         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12780         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12781         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12782         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12783         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12784         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12785         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12786         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12787         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12788         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12789         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12790         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12791         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12792         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12793         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12794         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12795         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12797 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12799         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12800         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12802 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12804         * sysdeps/aarch64/memcpy.S (memcpy):
12805         Rewrite of optimized memcpy and memmove.
12806         * sysdeps/aarch64/memmove.S (memmove): Remove
12807         memmove code (merged into memcpy.S).
12809 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12811         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12812         * sysdeps/generic/dl-dtv.h: New file.
12813         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12814         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12815         (dtv_t): Remove.
12816         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12817         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12818         (dtv_t): Remove.
12819         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12820         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12821         (dtv_t): Remove.
12822         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12823         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12824         (dtv_t): Remove.
12825         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12826         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12827         (dtv_t): Remove.
12828         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12829         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12830         (dtv_t): Remove.
12831         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12832         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12833         (dtv_t): Remove.
12834         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12835         (dtv_t): Remove.
12836         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12837         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12838         (dtv_t): Remove.
12839         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12840         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12841         (dtv_t): Remove.
12842         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12843         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12844         (dtv_t): Remove.
12845         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12846         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12847         (dtv_t): Remove.
12848         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12849         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12850         (dtv_t): Remove.
12851         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12852         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12853         (dtv_t): Remove.
12854         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12855         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12856         (dtv_t): Remove.
12857         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12858         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12859         (dtv_t): Remove.
12861 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12863         Revert symbol poisoning of  __malloc_initialize_hook.
12864         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12865         poisoning.
12866         * malloc/Makefile: Remove un-poisoning.
12867         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12868         instead of old__malloc_initialize_hook.
12869         * malloc/malloc-hooks.h: Likewise.
12870         * malloc/malloc.c: Likewise.
12871         * malloc/mcheck-init.c: Likewise.
12873 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12875         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12877 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12879         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12880         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12881         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12882         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12884 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12886         * NEWS: Mention addition of nextup and nextdown.
12887         * manual/arith.texi: Document nextup and nextdown.
12888         * manual/libm-err-tab.pl: Add nextup and nextdown.
12889         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12890         * math/Versions (libm): Add GLIBC_2.24.
12891         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12892         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12893         Add new test.
12894         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12895         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12896         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12897         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12898         (nextup_test_data): Likewise.
12899         (nextdown_test_data): Likewise.
12900         * math/s_nextdown.c: New file.
12901         * math/s_nextdownf.c: Likewise.
12902         * math/s_nextdownl.c: Likewise.
12903         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12904         F(nextup): New function.
12905         F(nextdown): Likewise.
12906         * math/tgmath.h: Add nextup and nextdown.
12907         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12908         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12909         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12910         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12911         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12912         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12913         Add nextup and nextdown.
12914         (CFLAGS-nldbl-nextup.c): New variable.
12915         (CFLAGS-nldbl-nextdown.c): Likewise.
12916         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12917         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12918         * sysdeps/nacl/libm.abilist: Update.
12919         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12920         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12921         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12922         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12923         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12924         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12925         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12926         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12927         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12928         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12929         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12930         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12933         Likewise.
12934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12936         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12937         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12938         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12939         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12940         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12943         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12944         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12945         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12946         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12948 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12950         * manual/pattern.texi: Fix typos & grammar errors.
12952 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12954         * manual/search.texi: Fix typos & grammar errors.
12956 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12958         * manual/message.texi: Fix typos & grammar errors.
12960 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12962         * manual/contrib.texi: Fix spelling typos.
12963         * manual/crypt.texi: Likewise.
12964         * manual/filesys.texi: Likewise.
12965         * manual/locale.texi: Likewise.
12966         * manual/message.texi: Likewise.
12967         * manual/nss.texi: Likewise.
12968         * manual/string.texi: Likewise.
12970 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12972         * manual/locale.texi: Fix typos & grammar errors.
12974 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12976         * manual/charset.texi: Fix typos & grammar errors.
12978 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12980         * manual/string.texi: Fix typos.
12982 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12984         * manual/ctype.texi: Fix typos.
12986 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12988         * manual/memory.texi: Fix various typos & grammar errors.
12990 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12992         [BZ #20255]
12993         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12994         * math/libm-test.inc (fdim_test_data): Add another test.
12996         [BZ #6796]
12997         [BZ #20255]
12998         [BZ #20256]
12999         * math/s_fdim.c: Include <math_private.h>.
13000         (__fdim): Use math_narrow_eval on result.
13001         * math/s_fdimf.c: Include <math_private.h>.
13002         (__fdimf): Use math_narrow_eval on result.
13003         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13004         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13005         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13006         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13007         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13008         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13009         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13010         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13011         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13012         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13013         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13014         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13015         overflow.  Add sNaN tests.
13017         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13018         fpclassify.
13019         * math/s_fdimf.c (__fdimf): Likewise.
13020         * math/s_fdiml.c (__fdiml): Likewise.
13022 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13024         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13025         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13027         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13028         ifunc'ed strcasecmp/strncasecmp.
13029         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13030         [EALIGN]: Removed.
13031         [END]: Likewise.
13032         [__strcasecmp]: Define instead of the above to control symbol name.
13033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13034         for __strcasecmp_power8.
13035         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13036         for __strncasecmp_power8.
13037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13038         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13039         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13040         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13041         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13042         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13044 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #20252]
13047         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13048         arguments when second argument is a NaN.
13049         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13050         qNaN tests.
13052         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13053         (conj_test_data): Likewise.
13054         (copysign_test_data): Likewise.
13055         (creal_test_data): Likewise.
13056         (fma_test_data): Likewise.
13057         (fmod_test_data): Likewise.
13059         [BZ #20250]
13060         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13061         itself.
13062         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13063         zero input to itself.
13064         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13065         Likewise.
13066         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13067         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13068         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13069         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13070         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13072 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13074         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13075         * nptl/tst-cancel4-common.c: New file.
13076         * nptl/tst-cancel4-common.h: Likewise.
13077         * nptl/tst-cancel4.c: Move common definitions to
13078         tst-cancel4-common.{c,h} file.
13079         * nptl/tst-cancel4_1.c: New test.
13080         * nptl/tst-cancel4_2.c: New test.
13082 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13084         [BZ #20248]
13085         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13086         (write_message): New function.
13087         (stackoverflow_handler): Call it instead of printf, to avoid
13088         excessive stack usage by printf.
13089         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13091 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13093         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13094         (prio_inherit_missing): Remove define.
13095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13096         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13098         Likewise.
13099         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13100         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13101         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13102         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13103         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13104         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13106 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13108         [BZ #19670]
13109         [BZ #19672]
13111         * io/test-lfs.c (do_prepare): Use xmalloc.
13112         * io/tst-fcntl.c (do_prepare): Likewise.
13113         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13114         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13115         * login/tst-utmp.c (do_prepare): Likewise.
13116         * posix/tst-exec.c (do_prepare): Likewise.
13117         * posix/tst-pathconf.c (prepare): Likewise.
13118         * posix/tst-spawn.c (do_prepare): Likewise.
13119         * posix/tst-truncate.c (do_prepare): Likewise.
13120         * rt/tst-aio.c (do_prepare): Likewise.
13121         * rt/tst-aio64.c (do_prepare): Likewise.
13123 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13125         [BZ #20237]
13126         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13127         (get*ent): Set entidx to NULL during initialization.  If entidx is
13128         NULL, start iteration from the beginning.
13130 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13132         * malloc/malloc.c (musable): Return correct size for dumped fake
13133         mmapped chunk.
13135 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13137         [BZ #20222]
13138         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13139         (_IO_cookie_write): Likewise.
13140         (_IO_cookie_seek): Likewise.
13141         (_IO_cookie_close): Likewise.
13142         (_IO_old_cookie_seek): Likewise.
13143         (set_callbacks): New function.
13144         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13146 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13148         * locale/programs/localedef.c (oldstyle_tables): Remove.
13149         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13151 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13153         [BZ #20240]
13154         * math/Makefile (CFLAGS-s_modf.c): New variable.
13155         (CFLAGS-s_modff.c): Likewise.
13156         (CFLAGS-s_modfl.c): Likewise.
13157         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13159 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13161         [BZ #20215]
13162         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13163         [!__GNUC_PREREQ (3,2)]: Likewise.
13165 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13167         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13168         (msghdr.msg_controllen): Likewise.
13169         (cmsghdr.cmsg_len): Likewise.
13170         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13171         ptw-oldsendmsg.
13172         (CFLAGS-oldrecvmsg.c): Remove rule.
13173         (CFLAGS-oldsendmsg.c): Likewise.
13174         (CFLAGS-recvmsg.c): Add rule.
13175         (CFLAGS-sendmsg.c): Likewise.
13176         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13177         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13178         (CFLAGS-recvmsg.c): Remove rule.
13179         (CFLAGS-sendmsg.c): Likewise.
13180         (CFLAGS-oldrecvmsg.c): Likewise.
13181         (CFLAGS-oldsendmsg.c): Likewise.
13182         (CFLAGS-recvmmsg.c): Likewise.
13183         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13184         to kernel defined interfaces.
13185         (msghdr.msg_controllen): Likewise.
13186         (cmsghdr.cmsg_len): Likewise.
13187         (msghdr.__glibc_reserved1): Remove member.
13188         (msghdr.__glibc_reserved2): Likewise.
13189         (cmsghdr.__glibc_reserved1): Likewise.
13190         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13191         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13192         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13193         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13194         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13195         version.
13196         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13197         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13198         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13199         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13200         Remove recvmsg and sendmsg.
13201         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13202         Likewise.
13203         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13206         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13207         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13210         Likewise.
13211         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13212         [libc] (GLIBC_2.24): Likewise.
13213         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13214         Likewise.
13215         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13216         Likewise.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13218         [libc] (GLIBC_2.24): Likewise.
13219         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13220         Likewise.
13221         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13222         Likewise.
13223         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13224         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13225         Likewise.
13226         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13227         Likewise.
13228         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13229         Likewise.
13230         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13231         Likewise.
13232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13233         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13234         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13235         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13236         version for {recv,send,recm,sendm}msg.
13237         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13238         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13239         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13240         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13241         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13242         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13243         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13244         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13246         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13247         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13248         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13250         Likewise.
13251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13252         Likewise.
13253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13255         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13256         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13257         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13258         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13260         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13263         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13264         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13265         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13267 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13269         [BZ #19564]
13270         Remove __malloc_initialize_hook from the API.
13271         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13272         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13273         #pragma GCC poison.
13274         * malloc/malloc-hooks.h: New file.
13275         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13276         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13277         (old__malloc_initialize_hook): Rename from
13278         __malloc_initialize_hook to evade poisoning.  Turn into compat
13279         symbol.
13280         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13281         __malloc_initialize_hook.
13282         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13283         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13284         * manual/memory.texi (Hooks for Malloc): Remove
13285         __malloc_initialize_hook.  Adjust hook example.
13287 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13289         [BZ #20235]
13290         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13291         itself.
13292         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13293         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13295         [BZ #20234]
13296         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13297         infinity or NaN input to itself.
13299         [BZ #20233]
13300         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13301         to itself.
13303         [BZ #20232]
13304         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13305         itself.
13307 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13309         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13310         __libc_start_main via GOT.
13312 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13314         * sysdeps/x86_64/memcopy.h: New file.
13315         * sysdeps/x86_64/wordcopy.c: Likewise.
13317 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13319         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13320         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13321         <cstdlib>.
13322         (optimization_barrier): New.
13323         (do_test): Use it.  Call quick_exit in the global namespace.
13324         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13325         instead of <cstdlib>, <thread>.
13326         (optimization_barrier): New.
13327         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13328         Call quick_exit in the global namespace.
13329         (do_test): Call optimization_barrier.  Use pthread_create,
13330         pthread_join instead of std::thread.
13332 2016-06-09  Andreas Schwab  <schwab@suse.de>
13334         [BZ #19755]
13335         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13336         new entries in auto-propagate mode.
13337         * nscd/grpcache.c (cache_addgr): Likewise.
13339 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13341         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13342         New functions.
13343         (add_temp_file): Use them.
13345 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13347         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13349 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13351         [BZ #20229]
13352         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13353         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13354         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13356         [BZ #20228]
13357         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13358         itself.
13359         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13360         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13362         [BZ #20227]
13363         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13364         itself.
13365         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13366         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13367         * math/libm-test.inc (log_test_data): Add sNaN tests.
13369         [BZ #20226]
13370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13371         itself.
13372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13373         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13374         (exp10_test_data): Likewise.
13375         (expm1_test_data): Likewise.
13377         [BZ #20225]
13378         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13379         itself.
13380         * math/s_ldexpf.c (__ldexpf): Likewise.
13381         * math/s_ldexpl.c (__ldexpl): Likewise.
13382         * math/w_scalbln.c (__w_scalbln): Likewise.
13383         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13384         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13385         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13386         (scalbln_test_data): Likewise.
13388         [BZ #20224]
13389         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13390         argument to itself.
13391         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13393 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13395         [BZ #19776]
13396         * sysdeps/x86_64/memcpy.S: Make it dummy.
13397         * sysdeps/x86_64/mempcpy.S: Likewise.
13398         * sysdeps/x86_64/memmove.S: New file.
13399         * sysdeps/x86_64/memmove_chk.S: Likewise.
13400         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13401         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13402         * sysdeps/x86_64/memmove.c: Removed.
13403         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13404         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13405         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13406         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13407         Likewise.
13408         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13409         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13411         memcpy-sse2-unaligned, memmove-avx-unaligned,
13412         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13414         (__libc_ifunc_impl_list): Replace
13415         __memmove_chk_avx512_unaligned_2 with
13416         __memmove_chk_avx512_unaligned.  Remove
13417         __memmove_chk_avx_unaligned_2.  Replace
13418         __memmove_chk_sse2_unaligned_2 with
13419         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13420         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13421         with __memmove_avx512_unaligned.  Replace
13422         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13423         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13424         with __memcpy_chk_avx512_unaligned.  Remove
13425         __memcpy_chk_avx_unaligned_2.  Replace
13426         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13427         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13428         Replace __memcpy_avx512_unaligned_2 with
13429         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13430         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13431         with __mempcpy_chk_avx512_unaligned.  Remove
13432         __mempcpy_chk_avx_unaligned_2.  Replace
13433         __mempcpy_chk_sse2_unaligned_2 with
13434         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13435         Replace __mempcpy_avx512_unaligned_2 with
13436         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13437         Replace __mempcpy_sse2_unaligned_2 with
13438         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13439         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13440         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13441         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13442         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13443         (ENTRY): Removed.
13444         (END): Likewise.
13445         (ENTRY_CHK): Likewise.
13446         (libc_hidden_builtin_def): Likewise.
13447         Don't include ../memcpy.S.
13448         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13449         __memcpy_chk_avx512_unaligned_erms and
13450         __memcpy_chk_avx512_unaligned.  Use
13451         __memcpy_chk_avx_unaligned_erms and
13452         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13453         Default to __memcpy_chk_sse2_unaligned.
13454         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13455         Change function suffix from unaligned_2 to unaligned.
13456         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13457         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13458         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13459         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13460         (ENTRY): Removed.
13461         (END): Likewise.
13462         (ENTRY_CHK): Likewise.
13463         (libc_hidden_builtin_def): Likewise.
13464         Don't include ../mempcpy.S.
13465         (mempcpy): New.  Add a weak alias.
13466         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13467         __mempcpy_chk_avx512_unaligned_erms and
13468         __mempcpy_chk_avx512_unaligned.  Use
13469         __mempcpy_chk_avx_unaligned_erms and
13470         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13471         Default to __mempcpy_chk_sse2_unaligned.
13473 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13475         [BZ #19881]
13476         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13477         into ...
13478         * sysdeps/x86_64/memset.S: This.
13479         (__bzero): Removed.
13480         (__memset_tail): Likewise.
13481         (__memset_chk): Likewise.
13482         (memset): Likewise.
13483         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13484         defined.
13485         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13486         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13487         (__memset_zero_constant_len_parameter): Check SHARED instead of
13488         PIC.
13489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13490         memset-avx2 and memset-sse2-unaligned-erms.
13491         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13492         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13493         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13494         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13495         (__bzero): Enabled.
13496         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13497         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13498         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13499         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13500         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13501         (memset): Removed.
13502         (__memset_chk): Likewise.
13503         (MEMSET_SYMBOL): New.
13504         (libc_hidden_builtin_def): Replace __memset_sse2 with
13505         __memset_sse2_unaligned.
13506         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13507         __memset_chk_sse2 and __memset_chk_avx2 with
13508         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13509         Use __memset_chk_sse2_unaligned_erms or
13510         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13511         __memset_chk_avx512_unaligned_erms and
13512         __memset_chk_avx512_unaligned.
13514 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13516         * math/gen-auto-libm-test.c (fp_format_desc): remove
13517         suffix member.
13518         (output_generic_value): Remove usage of suffix member,
13519         and the resulting unuse of the fp_format argument.
13520         (output_for_one_input_case): Remove unused fp_format
13521         parameter.
13523         * math/auto-libm-test-out: Regenerate.
13525         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13526         usage with TEST_COND_ibm128.
13527         (TEST_COND_flt_32): Remove.
13528         (TEST_COND_dbl_64): Remove.
13529         (TEST_COND_ldbl_96_intel): Remove.
13530         (TEST_COND_ldbl_96_m68k): Remove.
13531         (TEST_COND_ldbl_128): Remove.
13533 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13535         * auto-libm-test-in:
13536         Replace flt-32 usage with binary32.
13537         Replace dbl-64 usage with binary64.
13538         Replace ldbl-intel-96 usage with intel96.
13539         Replace ldbl-m68k-96 usage with m68k96.
13540         Replace ldbl-128ibm usage with ibm128.
13541         Replace ldbl-128 usage with binary128.
13543         * auto-libm-test-out: Regenerate.
13545 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13547         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13548         (parse_ulps): Dynamically generate type name matching
13549         string from all_floats.
13550         (get_ulps): Generate the ulps as an array instead.
13551         (output_ulps): Dynamically compose the type based
13552         on the number of supported formats, and print
13553         the indices as type specific helper macros.
13555         * math/libm-test.inc: Remove comment about CHOOSE.
13556         (ulp_data): Generate the type in libm-test-ulps.h.
13557         (ULP_IDX): New macro.
13558         (find_ulps): Update usage of max_ulp.
13560         * math/test-double-vlen2.h (CHOOSE): Remove.
13561         * math/test-double-vlen4.h (CHOOSE): Likewise.
13562         * math/test-double-vlen8.h (CHOOSE): Likewise.
13563         * math/test-float.c (CHOOSE): Likewise.
13564         * math/test-float-finite.c (CHOOSE): Likewise.
13565         * math/test-double.c (CHOOSE): Likewise.
13566         * math/test-double-finite.c (CHOOSE): Likewise.
13567         * math/test-idouble.c (CHOOSE): Likewise.
13568         * math/test-ifloat.c (CHOOSE): Likewise.
13569         * math/test-ildoubl.c (CHOOSE): Likewise.
13570         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13571         * math/test-ldouble.c (CHOOSE): Likewise.
13573         * math/test-float.h (TEST_FLOAT): Remove.
13574         * math/test-double.h (TEST_DOUBLE): Likewise.
13575         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13577 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13579         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13580         (parse_args): Strip C suffix from floating point literals
13581         typed with 'f' and wrap them with LIT().
13583         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13584         (test_ff_f_data_nexttoward): Rename to
13585         (test_fj_f_data): New struct.
13586         (nexttoward_test_data): Relabel tests as
13587         TEST_fj_f instead of TEST_ff_f.
13589 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13591         Emacs bug 23726.
13592         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13593         (__libc_realloc): Correct size computation for dumped fake mmapped
13594         chunks.
13596 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13598         [BZ #20219]
13599         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13600         to itself.
13601         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13603         [BZ #20218]
13604         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13605         to itself.
13606         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13608 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13610         [BZ #20195]
13611         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13612         check to ...
13613         (init_cpu_features): Here.
13615 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13617         [BZ #20214]
13618         * sysdeps/unix/sysv/linux/bits/in.h
13619         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13620          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13621         Define to 1.
13622         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13623          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13624         Define to 0.
13625         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13626         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13628 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13630         [BZ #20198]
13631         * stdlib/Makefile (tests): Add tst-quick_exit, and
13632         tst-thread-quick_exit.
13633         [ifeq ($(have-cxx-thread_local),yes)]
13634         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13635         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13636         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13637         (LDLIBS-tst-thread-quick_exit): Likewise.
13638         [ifneq ($(have-cxx-thread_local),yes)]
13639         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13640         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13641         If run_dtors is true call __call_tls_dtors.
13642         (exit): Call __run_exit_handlers with run_dtors set to true.
13643         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13644         definition.
13645         * stdlib/quick_exit.c (quick_exit): Remove function.
13646         (__new_quick_exit): New function.
13647         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13648         function.
13649         * stdlib/tst-quick_exit.cc: New file.
13650         * stdlib/tst-thread-quick_exit.cc: New file.
13651         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13652         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13653         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13654         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13655         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13656         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13657         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13658         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13659         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13660         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13661         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13662         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13663         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13664         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13665         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13666         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13671         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13672         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13673         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13674         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13675         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13678         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13679         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13680         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13682 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13684         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13685         a typo in comments.
13687 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13689         [BZ #20213]
13690         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13691         argument to itself.
13692         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13694 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13696         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13697         required flags.
13698         (CFLAGS-pwritev64.c): Likewise.
13699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13701         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13702         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13703         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13704         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13705         syscall from auto-generation.
13706         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13707         [WORDSIZE == 64] (pwritev64): Remove macro.
13708         [!PWRITEV] (PWRITEV): Likewise.
13709         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13710         [!PWRITEV] (PWRITE): Likewise.
13711         [!PWRITEV] (OFF_T): Likewise.
13712         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13713         (LO_HI_LONG): Remove macro.
13714         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13715         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13716         (PWRITEV): Remove macro.
13717         (PWRITEV_REPLACEMENTE): Likewise.
13718         (PWRITE): Likewise.
13719         (OFF_T): Likewise.
13720         (pwritev64): New function.
13721         * nptl/tst-cancel4.c (tf_writev): Add test.
13723         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13724         required flags.
13725         (CFLAGS-preadv64.c): Likewise.
13726         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13727         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13728         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13729         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13730         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13731         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13732         syscall from auto-generation.
13733         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13734         [WORDSIZE == 64] (preadv64): Remove macro.
13735         [!PREADV] (PREADV): Likewise.
13736         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13737         [!PREADV] (PREAD): Likewise.
13738         [!PREADV] (OFF_T): Likewise.
13739         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13740         (LO_HI_LONG): Remove macro.
13741         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13742         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13743         (PREADV): Remove macro.
13744         (PREADV_REPLACEMENTE): Likewise.
13745         (PREAD): Likewise.
13746         (OFF_T): Likewise.
13747         (preadv64): New function.
13748         * nptl/tst-cancel4.c (tf_preadv): Add test.
13750 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13752         [BZ #20212]
13753         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13754         argument to itself.
13755         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13757 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13759         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13760         New symbol defined as libc_hidden_def.
13761         (strcasestr): Became a weak alias to __strcasestr.
13762         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13763         according to multi-arch support.  Move __stpncpy hidden
13764         definition from here to...
13765         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13766         symbol stpncpy.
13767         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13768         libc_hidden_builtin_def.
13769         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13770         memset symbol to use when multi-arch support is available.
13772 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13774         * dlfcn/tst-rec-dlopen.c: Include string.h.
13776 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13778         * manual/install.texi: Remove mention of --without-tls
13779         * INSTALL: Regenerate.
13781 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13783         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13784         Remove.
13785         (call_function, interposed_malloc_called): New variables.
13786         (malloc): New function.
13787         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13788         and clear call_function as needed.
13790 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13792         * include/wchar.h (__wmemset): Use __typeof.
13794 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13796         * include/wchar.h (__wmemset): Declare function without typeof.
13798 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13800         [BZ #20205]
13801         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13802         exponent when incrementing negative subnormal with low mantissa
13803         word zero.
13804         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13805         Add another test.
13807 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13809         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13810         __wmemset instead of wmemset.
13812 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13814         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13815         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13816         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13817         __USE_KERNEL_IPV6_DEFS to 0.
13818         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13819         Update comment.
13821 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13823         [BZ #19861]
13824         Do not use IFUNC resolver with potentially unrelocated symbol.
13825         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13826         (DEFINE_FORK): Remove macro and inline definition.
13827         (fork_alias): Renamed from fork_ifunc.
13828         (__fork_alias): Renamed from __fork_ifunc.
13830 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13832         [BZ 19653]
13833         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13834         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13836 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13838         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13839         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13840         i386-linux-gnu).
13841         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13842         Set to no.
13843         * sysdeps/mach/hurd/configure: Refresh.
13845 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13847         [BZ #20178]
13848         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13849         on failure instead of exit.
13851 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13853         [BZ #3629]
13854         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13855         of POSIX.1-2008.
13857 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13859         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13860           Use PLT entry for calling _hurd_self_sigstate.
13862 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13864         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13865         available logical processors with SMT level type sharing L2
13866         cache for Intel processors.
13868 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #20160]
13871         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13872         argument to itself before returning the result.
13873         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13874         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13875         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13877         Likewise.
13878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13879         Likewise.
13880         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13881         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13882         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13883         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13884         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13885         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13887         [BZ #20160]
13888         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13889         argument to itself before returning the result.
13890         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13891         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13892         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13893         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13894         Likewise.
13895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13896         Likewise.
13897         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13898         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13899         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13900         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13901         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13902         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13904 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13906         * libm-test.inc: Replace usage of M_El with
13907         (lit_e): New macro.
13909 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13911         * libm-test.inc: Replace usage of M_PI_4l with
13912         (lit_pi_4_d): New macro.
13914 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13916         * libm-test.inc: Replace usage of M_PIl with
13917         (lit_pi): New macro.
13919 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13921         * libm-test.inc: Replace usage of M_PI2l with
13922         (lit_pi_2_d): New macro.
13924         * math/test-double.h (LITM): New macro.
13925         * math/test-float.h (LITM): Likewise.
13926         * math/test-ldouble.h (LITM): Likewise.
13928 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13930         * libm-test.inc (M_PI_34l): Rename to
13931         (lit_pi_3_m_4_d): New Macro.
13932         (M_PI_34_LOG10El): Rename to
13933         (lit_pi_3_m_4_ln10_m_d): New Macro.
13934         (M_PI2_LOG10El): Rename to
13935         (lit_pi_2_ln10_m_d):  New Macro.
13936         (M_PI4_LOG10El): Rename to
13937         (lit_pi_4_ln10_m_d):  New Macro.
13938         (M_PI_LOG10El): Rename to
13939         (lit_pi_ln10_d):  New Macro.
13941 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13943         [BZ #20157]
13944         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13945         determine whether to negate low half if [_ARCH_PPCGR], and integer
13946         comparison otherwise.
13947         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13948         determine whether to negate low half.
13950         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13951         (NO_TEST_INLINE_DOUBLE): Likewise.
13952         (TEST_COND_x86_64): Likewise.
13953         (TEST_COND_x86): Likewise.
13954         (M_PI_6l): Likewise.
13956 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13958         * math/libm-test.inc:
13959         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13960         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13961         (TEST_LDOUBLE): Update usage to evaluate as true if
13962         the guarded tests match the property being tested.
13963         (LDBL_MAX_EXP): Change to MAX_EXP.
13964         (LDBL_MIN_EXP): Change to MIN_EXP.
13965         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13966         nexttoward tests.
13968 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13970         * math/libm-test.inc:
13971         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13972         (TYPE_MIN): Likewise.
13973         (TYPE_TRUE_MIN): Likewise.
13974         (TYPE_MAX): Likewise.
13975         (MIN_EXP): Likewise.
13976         (MAX_EXP): Likewise.
13977         (MANT_DIG): Likewise.
13979         (FSTR_MAX): New macro.
13980         (__CONCATX): Likewise.
13981         (QTYPE_STR): Likewise.
13982         (TEST_COND_binary32): Likewise.
13983         (TEST_COND_binary64): Likewise.
13984         (TEST_COND_binary128): Likewise.
13985         (TEST_COND_ibm128): Likewise.
13986         (TEST_COND_intel96): Likewise.
13987         (TEST_COND_m68k96): Likewise.
13989         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13990         (TEST_COND_dbl_64): Likewise.
13991         (TEST_COND_ldbl_96_intel): Likewise.
13992         (TEST_COND_ldbl_96_m68k): Likewise.
13993         (TEST_COND_ldbl_128): Likewise.
13994         (TEST_COND_ldbl_128ibm): Likewise.
13996         (plus_zero): Redefine using LIT macro.
13997         (minus_zero): Likewise.
13998         (plus_infty): Redefine as (INF).
13999         (minux_infty): Redefine as (-INF).
14000         (max_value): Redefine as TYPE_MAX.
14001         (min_value): Redefine as TYPE_MIN.
14002         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14004         (print_float): Refactor to use snprintf to convert FLOAT values
14005         to string. This brings it closer to dropin replacement of strtof
14006         for the TS 18661 defined types.
14007         (update_stats): Likewise.
14008         (print_complex_function_ulps): Likewise.
14009         (print_max_error): Likewise.
14010         (print_complex_max_error): Likewise.
14011         (check_float_internal): Likewise.
14013         * math/test-float.h (PREFIX): New macro.
14014         (LIT): Likewise.
14015         (TYPE_STR): Likewise.
14016         (FTOSTR): Likewise.
14018         * math/test-double.h (PREFIX): New macro.
14019         (LIT): Likewise.
14020         (TYPE_STR): Likewise.
14021         (FTOSTR): Likewise.
14023         * math/test-ldouble.h (PREFIX): New macro.
14024         (LIT): Likewise.
14025         (TYPE_STR): Likewise.
14026         (FTOSTR): Likewise.
14028 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14030         [BZ #20156]
14031         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14032         to itself when zero or not finite.
14033         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14034         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14035         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14036         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14038 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14040         [BZ #20153]
14041         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14042         x * x + x for infinities and NaNs.
14044         [BZ #20151]
14045         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14046         argument to itself before returning result.
14047         (__ieee754_y0l): Likewise.
14048         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14049         (__ieee754_y1l).
14051         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14052         (atan_test_data): Likewise.
14053         (ceil_test_data): Likewise.
14054         (cos_test_data): Likewise.
14055         (cosh_test_data): Likewise.
14056         (erf_test_data): Likewise.
14057         (exp2_test_data): Likewise.
14058         (fabs_test_data): Likewise.
14059         (floor_test_data): Likewise.
14060         (ilogb_test_data): Likewise.
14061         (j0_test_data): Likewise.
14062         (j1_test_data): Likewise.
14063         (jn_test_data): Likewise.
14064         (lgamma_test_data): Likewise.
14065         (lrint_test_data): Likewise.
14066         (llrint_test_data): Likewise.
14067         (logb_test_data): Likewise.
14068         (lround_test_data): Likewise.
14069         (llround_test_data): Likewise.
14070         (nearbyint_test_data): Likewise.
14071         (rint_test_data): Likewise.
14072         (round_test_data): Likewise.
14073         (sin_test_data): Likewise.
14074         (sincos_test_data): Likewise.
14075         (sinh_test_data): Likewise.
14076         (sqrt_test_data): Likewise.
14077         (tan_test_data): Likewise.
14078         (tanh_test_data): Likewise.
14079         (tgamma_test_data): Likewise.
14080         (trunc_test_data): Likewise.
14081         (y0_test_data): Likewise.
14082         (y1_test_data): Likewise.
14083         (yn_test_data): Likewise.
14085         * math/libm-test.inc: Update comment about NaN testing.
14086         (TEST_SNAN): New macro.
14087         (snan_value): Likewise.
14088         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14089         (fpclassify_test_data): Add sNaN tests.
14090         (isfinite_test_data): Likewise.
14091         (isinf_test_data): Likewise.
14092         (isnan_test_data): Likewise.
14093         (isnormal_test_data): Likewise.
14094         (issignaling_test_data): Likewise.
14095         (signbit_test_data): Likewise.
14096         * math/gen-libm-test.pl (%beautify): Add snan_value.
14097         (show_exceptions): Add argument $test_snan.
14098         (parse_args): Handle snan_value as non-finite.  Update call to
14099         show_exceptions.
14100         * math/Makefile (libm-test-no-inline-cflags): Add
14101         -fsignaling-nans.
14103 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14105         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14106         (CFLAGS-oldsendmsg.c): Add rule.
14107         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14108         Correct recvmsg symbol name.
14109         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14110         Likewise.
14112 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14114         * sysdeps/unix/sysv/linux/Makefile
14115         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14116         oldsendmmsg.
14117         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14118         sendmmsg.
14119         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14120         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14121         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14122         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14124         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14125         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14127         Likewise.
14128         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14129         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14130         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14131         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14132         iovlen and controllen fields to adjust to POSIX specification.
14133         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14135         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14136         and change to correct expected type.
14137         (msghdr.msg_controllen): Likewise.
14138         (cmsghdr.cmsg_len): Likewise.
14139         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14140         expected POSIX assumption about the size.
14141         (msghdr.msg_controllen): Likewise.
14142         (msghdr.__glibc_reserved1): Likewise.
14143         (msghdr.__glibc_reserved2): Likewise.
14144         (cmsghdr.cmsg_len): Likewise.
14145         (cmsghdr.__glibc_reserved1): Likewise.
14146         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14147         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14148         (CFLAGS-sendmsg.c): Remove rule.
14149         (CFLAGS-recvmsg.c): Likewise.
14150         (CFLAGS-oldsendmsg.c): Add rule.
14151         (CFLAGS-oldrecvmsg.c): Likewise.
14152         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14153         recvmsg and sendmsg.
14154         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14155         Likewise.
14156         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14157         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14158         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14159         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14160         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14161         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14162         Likewise.
14163         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14164         Likewise.
14165         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14166         Likewise.
14167         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14168         Likewise.
14169         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14170         Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14174         (GLIBC_2.24): Likewise.
14175         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14176         Likewise.
14177         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14178         Likewise.
14179         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14180         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14181         Likewise.
14182         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14183         Likewise.
14184         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14185         Likewise.
14186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14187         (GLIBC_2.24): Likewise.
14188         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14189         Likewise.
14190         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14191         Likewise.
14192         * sysdeps/unix/sysv/linux/Makefile
14193         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14194         (CFLAGS-sendmsg.c): Add rule.
14195         (CFLAGS-recvmsg.c): Likewise.
14196         (CFLAGS-oldsendmsg.c): Likewise.
14197         (CFLAGS-oldrecvmsg.c): Likewise.
14198         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14199         initialization.
14200         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14201         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14202         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14203         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14204         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14205         iovlen and controllen fields to adjust to POSIX specification.
14206         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14207         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14208         added recvmsg and sendmsg.
14209         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14210         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14211         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14212         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14213         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14214         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14215         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14216         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14217         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14218         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14219         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14220         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14222         Likewise.
14223         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14225         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14226         Likewise.
14227         Likewise.
14228         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14229         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14230         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14231         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14232         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14233         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14235         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14237         Likewise.
14238         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14239         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14241         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14242         from auto-generation.
14243         (sendmsg): Likewise.
14244         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14245         (sendmsg): Likewise.
14246         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14247         (sendmsg): Likewise.
14248         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14249         (sendmsg): Likewise.
14250         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14251         (sendmsg): Likewise.
14252         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14253         (sendmsg): Likewise.
14254         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14255         Likewise.
14256         (sendmsg): Likewise.
14257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14258         (sendmsg): Likewise.
14259         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14261         Remove.
14262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14263         Likewise.
14264         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14265         Undefine.
14266         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14267         Likewise.
14268         * sysdeps/unix/sysv/linux/kernel-features.h
14269         (__ASSUME_SENDMSG_SYSCALL): Define.
14270         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14271         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14273         Remove.
14274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14275         Likewise.
14276         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14277         Undefine.
14278         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14279         Likewise.
14280         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14282         Remove.
14283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14284         Likewise.
14285         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14286         Undefine.
14287         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14288         Likewise.
14289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14290         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14291         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14292         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14293         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14294         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14295         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14296         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14297         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14299 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14301         * stdlib/gen-tst-strtod-round.c: Add backslash to
14302         compile command in comment.
14303         (printfp): Remove the literal suffix, and define an infinite
14304         value as INF to avoid expansion clash with INFINITY.
14305         (round_str): Remove the literal suffix.
14306         (round_for_all): Likewise, remove the now duplicate ldbl-64
14307         entry, and remove some magic constants.
14309         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14310         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14311         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14312         (_CONCAT): New macro.
14313         (CONCAT): Likewise.
14314         (CHOOSE_ld): Likewise.
14315         (CHOOSE_f): Likewise.
14316         (CHOOSE_d): Likewise.
14317         (FTYPE_MEMBER): Likewise.
14318         (BOOL_MEMBER): Likewise.
14319         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14320         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14321         (_XNTRY): Likewise.
14322         (XNTRY): Likewise.
14323         (_ENTRY): Likewise.
14324         (ENTRY): Likewise.
14325         (test_exactness): Generate members via macro.
14326         (test_results): Likewise.
14327         (test): Update members.
14328         (TEST): Redefine using new macros.
14329         (INF): New macro.
14330         (fetestmodes): New structure.
14331         (do_test): Refactor to be type generic.
14332         (test_in_one_mode): Refactor duplicate code into
14333         (GEN_ONE_TEST): New macro.
14335         * stdlib/tst-strtod-round-data.h: Regenerate.
14337         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14338         Extend to pass additional arbitrary parameters to
14339         generators.
14341 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14343         [BZ #15479]
14344         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14345         floating-point state after first floating-point operation on
14346         input.  Restore full floating-point state instead of just rounding
14347         mode.
14348         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14349         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14350         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14351         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14352         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14354         [BZ #15479]
14355         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14356         floating-point state after first floating-point operation on
14357         input.  Restore full floating-point state instead of just rounding
14358         mode.
14359         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14360         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14361         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14362         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14363         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14365 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14367         [BZ #19727]
14368         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14369         valid high surrogate.
14370         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14371         of an utf16 surrogate.
14372         * iconv/gconv_simple.c (BODY): Likewise.
14373         * iconvdata/bug-iconv12.c: New file.
14374         * iconvdata/Makefile (tests): Add bug-iconv12.
14376 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14378         [BZ #19726]
14379         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14380         outptrp in case of an illegal input.
14381         * iconv/tst-iconv6.c: New file.
14382         * iconv/Makefile (tests): Add tst-iconv6.
14384 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14386         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14387         an error in case of a value in range of an utf16 low surrogate.
14389 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14391         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14392         an error in case of a value in range of an utf16 low surrogate.
14394 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14396         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14397         Move to ...
14398         * sysdeps/s390/Makefile: ... here.
14399         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14400         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14401         (BRANCH_ON_COUNT): New define.
14402         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14403         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14404         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14405         run on s390-32, too.
14406         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14407         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14408         run on s390-32, too.
14409         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14410         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14411         run on s390-32, too.
14413 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14415         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14416         etf3eh or new vector loop-variant.
14418 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14420         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14421         etf3eh or new vector loop-variant.
14423 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14425         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14426         or new vector loop-variant.
14428 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14430         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14431         Rename to TR_LOOP and usage of tr instead of troo instruction.
14433 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14435         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14438 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14440         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14441         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14442         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14443         New override define.
14444         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14446 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14448         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14449         * sysdeps/s390/configure.ac: Add test for S390 vector register
14450         support in gcc.
14451         * sysdeps/s390/configure: Regenerated.
14453 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14455         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14456         Install file from $(objpfx)gconv-modules.
14457         ($(objpfx)gconv-modules): Concatenate architecture specific file
14458         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14459         * sysdeps/s390/gconv-modules: New file.
14460         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14461         Deleted.
14462         ($(objpfx)gconv-modules-s390): Deleted.
14463         (sysdeps-gconv-modules): New variable.
14465 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14467         [BZ #15479]
14468         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14469         of immediate operand to rounding instruction.
14470         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14471         Likewise.
14472         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14473         Likewise.
14474         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14475         Likewise.
14477 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14479         * math/libm-test.inc (MIN_EXP): Directly define as
14480         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14482 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14484         * math/libm-test.inc (MANT_DIG): Directly define as
14485         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14487 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14489         * stdlib/gen-tst-strtod-round.c (main):
14490           Change usage to more closely match the generated
14491           output.  Add usage and compilation instructions.
14492           (string_to_fp): Add and use FILE* parameter as
14493           output target.
14494           (print_fp): Likewise.
14495           (round_str): Likewise.
14496           (round_for_all): Likewise.
14497         * stdlib/tst-strtod-round.c (tests): Move into
14498         * stdlib/tst-strtod-round-data.h: New file.
14500 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14502         [BZ #15479]
14503         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14504         (__round): Do not force "inexact" exception.
14505         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14506         variable.
14507         (__round): Do not force "inexact" exception.
14508         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14509         (__roundf): Do not force "inexact" exception.
14510         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14511         (__roundl): Do not force "inexact" exception.
14512         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14513         (__roundl): Do not force "inexact" exception.
14514         * math/libm-test.inc (round_test_data): Do not allow spurious
14515         "inexact" exceptions.
14517         [BZ #15479]
14518         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14519         exception in comment.
14520         (huge): Remove variable.
14521         (__floor): Do not force "inexact" exception.
14522         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14523         "inexact" exception in comment.
14524         (huge): Remove variable.
14525         (__floor): Do not force "inexact" exception.
14526         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14527         exception in comment.
14528         (huge): Remove variable.
14529         (__floorf): Do not force "inexact" exception.
14530         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14531         exception in comment.
14532         (huge): Remove variable.
14533         (__floorl): Do not force "inexact" exception.
14535         [BZ #15479]
14536         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14537         exception in comment.
14538         (huge): Remove variable.
14539         (__ceil): Do not force "inexact" exception.
14540         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14541         "inexact" exception in comment.
14542         (huge): Remove variable.
14543         (__ceil): Do not force "inexact" exception.
14544         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14545         (__ceilf): Do not force "inexact" exception.
14546         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14547         exception in comment.
14548         (huge): Remove variable.
14549         (__ceill): Do not force "inexact" exception.
14551 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14553         * config.h.in (BIND_NOW): New.
14554         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14555         * configure: Regenerated.
14556         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14557         indirect branch via the GOT slot.
14559 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14561         [BZ #19765]
14562         * sysdeps/s390/mempcpy.S: New File.
14563         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14565         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14566         Add mempcpy variants.
14567         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14568         (memcpy): Adjust to be usable from mempcpy entry point.
14569         (__memcpy_mvcle): Likewise.
14570         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14571         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14572         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14573         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14574         (__memcpy_z10): Likewise.
14575         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14577 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14579         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14580         Remove __GI_ symbol.
14581         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14582         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14583         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14584         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14585         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14586         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14588 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14590         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14591         Use cghi instead of chi to compare 64bit value.
14593 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14595         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14596         Jump to 1MB check before executing mvc-loop.
14598 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14600         [BZ #6527]
14601         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14602         unconditionally.
14603         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14605 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14607         * stdlib/tst-strtod6.c (do_test): Use new type generic
14608         invocation of the test function.
14609         (test): Refactor into ...
14610         (TEST_STRTOD): New macro base function.
14612 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14614         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14615         (TEST_STRTOD): New macro.
14616         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14618 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14620         * stdlib/tst-strtod6.c (do_test): Use new type generic
14621         invocation of the test function.
14622         (test): Refactor into ...
14623         (TEST_STRTOD): New macro base function.
14625 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14627         CVE-2016-4429
14628         [BZ #20112]
14629         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14630         payload.
14632 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14634         [BZ #20111]
14635         * bits/sockaddr.h (_SS_SIZE): Define.
14636         * bits/socket.h (_SS_SIZE): Remove.
14637         (_SS_PADSIZE): Adjust to account for all padding.
14638         (struct sockaddr_storage): Update comment.  Avoid implicit
14639         padding.
14640         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14641         (_SS_PADSIZE): Adjust to account for all padding.
14642         (struct sockaddr_storage): Update comment.  Avoid implicit
14643         padding.
14644         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14645         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14646         (_SS_PADSIZE): Adjust to account for all padding.
14647         (struct sockaddr_storage): Update comment.  Avoid implicit
14648         padding.
14649         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14650         __SS_SIZE is 126 in this version.
14651         * inet/tst-sockaddr.c: New file.
14652         * inet/Makefile (tests): Add tst-sockaddr.c
14653         (tst-sockaddr.c): Compile with non-strict aliasing.
14655 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14657         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14658         [XPG3 || XPG4].
14659         (NL_ARGMAX): Also expect for [XPG3].
14660         (NL_LANGMAX): Likewise.
14661         (NL_MSGMAX): Likewise.
14662         (NL_NMAX): Likewise.
14663         (NL_SETMAX): Likewise.
14664         (NL_TEXTMAX): Likewise.
14665         (NZERO): Likewise.
14666         (TMP_MAX): Likewise.
14667         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14668         variable.
14670         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14671         (PF_MAX): Update value.
14672         (AF_KCM): New macro.
14673         (SOL_NETBEUI): Likewise.
14674         (SOL_LLC): Likewise.
14675         (SOL_DCCP): Likewise.
14676         (SOL_NETLINK): Likewise.
14677         (SOL_TIPC): Likewise.
14678         (SOL_RXRPC): Likewise.
14679         (SOL_PPPOL2TP): Likewise.
14680         (SOL_BLUETOOTH): Likewise.
14681         (SOL_PNPIPE): Likewise.
14682         (SOL_RDS): Likewise.
14683         (SOL_IUCV): Likewise.
14684         (SOL_CAIF): Likewise.
14685         (SOL_ALG): Likewise.
14686         (SOL_NFC): Likewise.
14687         (SOL_KCM): Likewise.
14688         (MSG_BATCH): New enum value and macro.
14690 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14692         [BZ #18185]
14693         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14694         sharing L2 cache to 2 for Knights Landing.
14696 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14698         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14699         (FTW_DP): Do not expect for [XPG3 || XPG4].
14700         (FTW_SL): Do not expect for [XPG3].
14701         (FTW_SLN): Likewise.
14702         (FTW_PHYS): Likewise.
14703         (FTW_MOUNT): Likewise.
14704         (FTW_DEPTH): Likewise.
14705         (FTW_CHDIR): Likewise.
14706         (nftw): Likewise.
14707         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14708         variable.
14710 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14712         * manual/errno.texi: Fix various typos & grammar errors.
14714 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14716         * manual/intro.texi: Fix duplicated typo.
14718 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14720         [BZ #13304]
14721         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14722         <float.h>, <math_private.h> and <stdlib.h>.
14723         (add_split): New function.
14724         (mul_split): Likewise.
14725         (ext_val): New typedef.
14726         (store_ext_val): New function.
14727         (mul_ext_val): New function.
14728         (compare): New function.
14729         (add_split_ext): New function.
14730         (__fmal): After checking for Inf, NaN and zero, compute result as
14731         an exact sum of scaled double values in round-to-nearest before
14732         adding those up and adjusting for other rounding modes.
14733         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14734         tests of fma.
14735         * math/auto-libm-test-out: Regenerated.
14737 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14739         [BZ #20119]
14740         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14741         processor level type mask for CPUID with EAX == 11.
14743 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14745         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14746         logical threads if the HTT bit is 0.
14747         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14748         (index_cpu_HTT): Likewise.
14749         (reg_HTT): Likewise.
14751 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14753         [BZ #20115]
14754         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14755         Remove alignments on jump targets.
14757 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14759         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14760         (getpwent): Likewise.
14761         (setpwent): Likewise.
14762         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14763         variable.
14765         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14766         (remque): Likewise.
14767         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14768         variable.
14770 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14772         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14773         not being tested.
14775 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14777         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14778         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14779         call.
14780         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14781         (__condvar_cleanup1): Likewise.
14783 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14785         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14786         New
14787         (__pthread_unwind): Renamed to ...
14788         (PTHREAD_UNWIND): This.
14789         (__pthread_enable_asynccancel): Replace
14790         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14792 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14794         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14795         (CLONE_NEWCGROUP): New macro.
14797         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14798         (Q_GETNEXTQUOTA): New macro.
14800 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14802         [BZ #19907]
14803         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14804         buffer updated by the previous run.
14805         * string/test-memcpy.c (do_one_test): Likewise.
14806         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14807         * string/test-memmove.c (do_one_test): Likewise.
14809 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14811         [BZ #20094]
14812         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14813         not [__USE_XOPEN].
14814         (unlockpt): Likewise.
14815         (ptsname): Likewise.
14816         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14817         variable.
14819         [BZ #20076]
14820         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14821         instead of [__USE_UNIX98].
14822         (S_ISSOCK): Likewise.
14823         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14824         variable.
14826         [BZ #20074]
14827         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14828         [__USE_POSIX].
14829         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14830         variable.
14832         [BZ #20051]
14833         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14834         (ttyslot): Do not declare.
14835         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14836         (ttyslot): New prototype.
14837         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14838         variable.
14839         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14841 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14843         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14845 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14847         Fix race condition in tst-mallocfork2, use fewer resources.
14848         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14849         to current process group.
14850         (signal_sender): Yield in the non-sleeping case.
14852 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14854         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14855         (ecvt): Likewise.
14856         (fcvt): Likewise.
14857         (gcvt): Likewise.
14858         (getsubopt): Likewise.
14859         (grantpt): Likewise.
14860         (initstate): Likewise.
14861         (l64a): Likewise.
14862         (mktemp): Likewise.
14863         (mkstemp): Likewise.
14864         (ptsname): Likewise.
14865         (random): Likewise.
14866         (realpath): Likewise.
14867         (setstate): Likewise.
14868         (srandom): Likewise.
14869         (ttyslot): Likewise.
14870         (unlockpt): Likewise.
14871         (valloc): Likewise.
14873         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14874         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14875         variable.
14877 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14879         [BZ #20072]
14880         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14881         init_cpu_features only if SHARED is defined.
14882         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14884 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14886         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14887         non-inclusive caches on Intel processors.
14889 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14891         * malloc/malloc.c (dumped_main_arena_start)
14892         (dumped_main_arena_end): New variables.
14893         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14894         (do_check_chunk): Skip dumped fake mmapped chunks.
14895         (munmap_chunk): Likewise.
14896         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14897         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14898         mmapped chunks.
14899         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14900         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14901         and dumped_main_arena_end to cover the dumped heap.
14903 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14905         * conform/data/time.h-data (getdate_err): Do not expect for
14906         [XPG3].
14907         (getdate): Likewise.
14908         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14909         variable.
14911         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14912         (F_ULOCK): Likewise.
14913         (F_TEST): Likewise.
14914         (F_TLOCK): Likewise.
14915         (useconds_t): Likewise.
14916         (intptr_t): Do not expect for [XPG3] or [XPG4].
14917         (brk): Do not expect for [XPG3]
14918         (fchown): Likewise.
14919         (fchdir): Likewise.
14920         (ftruncate): Likewise.
14921         (getdtablesize): Likewise.
14922         (gethostid): Likewise.
14923         (getpagesize): Likewise.
14924         (getpgid): Likewise.
14925         (getsid): Likewise.
14926         (getwd): Likewise.
14927         (lchown): Likewise.
14928         (lockf): Likewise.
14929         (readlink): Likewise.
14930         (sbrk): Likewise.
14931         (setpgrp): Likewise.
14932         (setregid): Likewise.
14933         (setreuid): Likewise.
14934         (symlink): Likewise.
14935         (sync): Likewise.
14936         (truncate): Likewise.
14937         (ualarm): Likewise.
14938         (usleep): Likewise.
14939         (vfork): Likewise.
14940         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14941         variable.
14943         [BZ #20054]
14944         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14945         not [__USE_UNIX98].
14946         * conform/data/unistd.h-data (gethostname): Do not expect for
14947         [XPG3].
14949         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14950         [!POSIX] (S_IFBLK): Likewise.
14951         [!POSIX] (S_IFCHR): Likewise.
14952         [!POSIX] (S_IFIFO): Likewise.
14953         [!POSIX] (S_IFREG): Likewise.
14954         [!POSIX] (S_IFDIR): Likewise.
14955         [!POSIX] (S_IFLNK): Likewise.
14956         [!POSIX] (S_IFSOCK): Likewise.
14957         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14958         variable.
14959         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14961 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14963         * sysdeps/aarch64/memset.S (__memset):
14964         Rewrite of optimized memset.
14966 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14968         [BZ #19703]
14969         Partially async-signal-safe fork for single-threaded processes.
14970         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14971         variable.  Do not acquire and reset/release malloc and libio locks
14972         in single-threaded processes.
14973         * malloc/tst-mallocfork2.c: New file.
14974         * malloc/Makefile (tests): Add it.
14976 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14978         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14979         argument.  Use scratch buffer instead of extend_alloca.
14980         (gethosts): Use scratch buffer instead of extend_alloca.
14981         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14982         extend_alloca.
14983         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14985 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14987         [BZ #20055]
14988         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14989         instead of [__USE_UNIX98].
14990         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14991         [__USE_UNIX98].
14992         * conform/data/termios.h-data (tcgetsid): Do not expect for
14993         [XPG3].
14994         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14995         variable.
14996         (test-xfail-XPG4/termios.h/conform): Likewise.
14998 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15000         Do not use mcheck in localedef.
15001         * locale/programs/localedef.c (turn_on_mcheck)
15002         (__malloc_initialize_hook): Remove.
15004 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15006         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15007         * sysdeps/s390/s390-64/Makefile: Likewise.
15009 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15011         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15012         Remove ifunc-defines.sym.
15013         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15014         Likewise.
15015         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15016         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15017         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15018         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15019         rtld-global-offsets.sym.
15020         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15021         * sysdeps/x86/cpu-features-offsets.sym: This.
15022         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15023         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15025 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15027         [BZ #20073]
15028         * io/sys/stat.h (fchmod): Declare for
15029         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15030         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15031         variable.
15033         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15034         [XPG3] (S_IFSOCK): Likewise.
15035         [XPG3] (S_ISVTX): Likewise.
15036         [XPG3] (S_ISLNK): Likewise.
15037         [XPG3] (S_ISSOCK): Likewise.
15038         [XPG3] (fchmod): Likewise.
15039         [XPG3] (lstat): Likewise.
15040         [XPG3] (mknod): Likewise.
15042         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15043         [XPG3].  Expect type long and XFAIL for [XPG4].
15044         (st_blocks): Likewise.
15046         [BZ #20044]
15047         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15048         (pthread_atfork): New prototype.
15049         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15050         variable.
15052         [BZ #20043]
15053         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15054         prototype.
15056 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15058         [BZ #20017]
15059         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15060         gmtime.
15062 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15064         [BZ #19994]
15065         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15066         flag in _res.options.
15068 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15070         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15071         [XPG3 || XPG4].
15072         (blksize_t): Likewise.
15073         (clockid_t): Likewise.
15074         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15075         variable.
15076         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15078 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15080         * sysdeps/unix/sysv/linux/s390/init-first.c:
15081         Add VDSO_SYMBOL(getcpu).
15082         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15083         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15084         Add VDSO_SYMBOL(getcpu).
15085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15086         New define HAVE_GETCPU_VSYSCALL.
15087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15089 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15091         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15092         instead of <sysdeps/x86_64/cacheinfo.c>.
15093         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15094         * sysdeps/x86/cacheinfo.c: Here.
15096 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15098         * malloc/malloc-internal.h: Adjust header file guard.
15100 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15102         [BZ #19787]
15103         * inet/getnameinfo.c (check_sprintf_result): New function.
15104         (CHECKED_SNPRINTF): New macro.
15105         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15106         to the host buffer.
15107         (gni_host_local): Use checked_copy to copy the host name.
15108         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15109         (gni_serv_local): Use checked_copy to copy the service name.
15110         (getnameinfo): Remove unnecessary truncation of result buffers.
15112 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15114         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15115         in case of inet_ntop failure.
15117 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15119         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15120         avoid long lines.
15121         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15122         variables.
15123         (gni_host_inet, gni_host_local): Add comment.
15124         (gni_host): Add comment.  Use temporary to avoid long lines.
15126 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15128         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15129         registers specifiers where general purpose registers specifiers should
15130         have been used.
15132 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15134         [BZ #19779]
15135         CVE-2016-1234
15136         Avoid copying names of directory entries.
15137         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15138         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15139         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15140         (struct readdir_result): New type.
15141         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15142         (GL_READDIR): New macros.
15143         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15144         (convert_dirent, convert_dirent64): New functions.
15145         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15146         convert_dirent64.  Adjust references to the readdir result.
15147         * sysdeps/unix/sysv/linux/i386/glob64.c:
15148         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15149         * posix/bug-glob2.c (LONG_NAME): Define.
15150         (filesystem): Add LONG_NAME.
15151         (my_DIR): Increase the size of room_for_dirent.
15153 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15155         [BZ #20041]
15156         * misc/sys/select.h (__need_timespec): Only define if
15157         [__USE_XOPEN2K].
15158         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15159         variable.
15160         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15161         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15162         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15164 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15165             Segher Boessenkool  <segher@gcc.gnu.org>
15167         [BZ #20004]
15168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15169         (__novec_swapcontext): Add missing load.
15171 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15173         [BZ #20023]
15174         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15175         <time.h>.
15176         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15177         variable.
15178         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15180 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15183         flags CLONE_VM compare.
15185 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15187         [BZ #20031]
15188         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15189         completely empty.
15191 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15193         [BZ #19573]
15194         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15195         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15196         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15197         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15198         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15199         (hesiod_free_list): Mark as hidden.
15200         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15201         res_set, res_get.
15202         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15203         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15204         (hesiod_init): Remove obsolete res_ninit call.
15205         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15206         (hesiod_bind): Do not call init.
15207         (get_txt_records): Use res_mkquery, res_send instead of
15208         res_nmkquery, res_nsend.
15209         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15210         instead of _nss_hesiod_init.
15211         (_nss_hesiod_initgroups_dyn): Likewise.
15212         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15213         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15214         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15216 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15218         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15219         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15221 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15223         * hesiod/hesiod.h: Remove RCS keyword.
15224         * hesiod/hesiod_p.h: Likewise.
15226         * hesiod/hesiod.c: Likewise.
15228 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15230         [BZ #12450]
15231         * locale/iso-639.def: Add Samogitian/sgs.
15233 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15235         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15237         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15239 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15240             Carlos O'Donell  <carlos@redhat.com>
15242         [BZ #19072]
15243         * grp/Makefile (headers): Add grp-merge.h
15244         (routines): Add grp-merge.
15245         * grp/getgrgid_r.c: Include grp-merge.h.
15246         (DEEPCOPY_FN): Define.
15247         (MERGE_FN): Define.
15248         * grp/getgrname_r.c: Include grp-merge.h.
15249         (DEEPCOPY_FN): Define.
15250         (MERGE_FN): Define.
15251         * grp/grp-merge.c: New file.
15252         * grp/grp-merge.h: New file.
15253         * include/grp-merge.h: New file.
15254         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15255         __copy_grp@GLIBC_PRIVATE.
15256         * manual/nss.texi (Actions in the NSS configuration): Describe
15257         return, continue, and merge.
15258         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15259         (DEEPCOPY_FN): Define.
15260         (MERGE_FN): Define.
15261         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15262         (DEEPCOPY_FN): Define.
15263         (MERGE_FN): Define.
15264         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15265         [!MERGE_FN]: Define __merge_einval.
15266         (CHECK_MERGE): Define.
15267         (REENTRANT_NAME): Process merge if do_merge is true.
15268         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15269         (__nss_getent_r): Likewise.
15270         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15271         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15273 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15275         [BZ #20012]
15276         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15277         length to calculate the buffer to read.
15278         (fmemopen_write): Set the buffer position based on bytes written.
15279         (fmemopen_seek): Return EINVAL for invalid whence modes.
15281         [BZ #19957]
15282         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15283         tst-getpid2.
15284         (test): Add tst-clone2.
15285         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15286         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15287         pid/tid fields for CLONE_VM.
15288         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15289         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15290         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15291         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15292         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15293         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15294         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15295         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15297         Likewise.
15298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15299         Likewise.
15300         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15301         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15302         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15303         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15304         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15305         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15306         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15307         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15309 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15311         [BZ #19642]
15312         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15313         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15314         (gni_serv_local, gni_serv): New functions extracted from
15315         getnameinfo.
15316         (getnameinfo): Call gni_host and gni_serv to perform the
15317         processing.  Always free scratch buffer.
15319 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15321         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15322         remaining bytes in the dest string, with zeros.
15324 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15326         [BZ #20010]
15327         CVE-2016-3706
15328         * sysdeps/posix/getaddrinfo.c
15329         (convert_hostent_to_gaih_addrtuple): New function.
15330         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15331         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15332         AF_INET data.
15334 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15336         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15337         callback function gl_readdir.
15338         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15339         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15340         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15341         memcpy to copy the name.
15342         * manual/pattern.texi (Calling Glob): Document requirements for
15343         implementations of the gl_readdir callback function.
15344         * manual/examples/mkdirent.c: New example.
15345         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15346         per the manual guidance.
15347         * posix/tst-gnuglob.c (my_readdir): Likewise.
15349 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15351         [BZ #20014]
15352         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15353         not [__USE_POSIX].
15354         (getchar_unlocked): Likewise.
15355         (putc_unlocked): Likewise.
15356         (putchar_unlocked): Likewise.
15357         (flockfile): Likewise.
15358         (ftrylockfile): Likewise.
15359         (funlockfile): Likewise.
15360         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15361         variable.
15362         (test-xfail-XPG4/stdio.h/conform): Likewise.
15364         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15365         Expect constant.
15366         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15367         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15368         variable.
15369         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15370         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15372         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15373         [__USE_LARGEFILE64] (off64_t): Likewise.
15374         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15375         variable.
15377 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15379         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15381 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15383         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15384         * resolv/res_init.c: Likewise.
15385         * resolv/res_mkquery.c: Likewise.
15387 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15389         * resolv/res_init.c (isascii): Do not define.  Use definition in
15390         <ctype.h>.
15391         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15392         (LOG_AUTH): Remove.
15393         (SPRINTF): Remove, adjust caller.
15394         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15396 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15398         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15399         SUNSECURITY conditional.
15400         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15404         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15405         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15406         Remove BSD-related preprocessor conditionals.
15407         * conf/portability.h: Remove.
15409 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15411         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15412         * resolv/res_data.c: Likewise.
15414 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15416         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15417         * resolv/res_data.c: Remove code conditional on ultrix.
15419 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15421         * resolv/res_init.c (RFC1535): Do not define.  Remove
15422         RFC1535 preprocessor conditionals.
15423         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15424         because there configuration options which make the resolver
15425         behavior different.
15427 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15429         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15430         RESOLVSORT preprocessor conditionals.
15431         * resolv/nss_dns/dns-host.c: Likewise.
15432         * resolv/res_init.c: Likewise.
15434 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15436         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15437         is never defined.
15439 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15441         * inet/inet_lnaof.c: Remove SCSS keyword.
15442         * inet/inet_mkadr.c: Likewise.
15443         * inet/inet_net.c: Likewise.
15444         * inet/inet_netof.c: Likewise.
15445         * inet/rcmd.c: Likewise.
15446         * inet/rexec.c: Likewise.
15447         * inet/ruserpass.c: Likewise.
15449 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15451         * resolv/inet_addr.c: Remove _LIBC conditionals.
15452         * resolv/res_data.c: Likewise.
15453         * resolv/res_init.c: Likewise.
15454         * resolv/res_mkquery.c: Likewise.
15455         * resolv/res_libc.c: Update comment.
15456         * resolv/README: Update.
15458 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15460         * resolv/gethnamaddr.c: Remove SCSS keyword.
15461         * resolv/herror.c: Likewise.
15462         * resolv/inet_addr.c: Likewise.
15463         * resolv/inet_net_ntop.c: Likewise.
15464         * resolv/inet_net_pton.c: Likewise.
15465         * resolv/inet_neta.c: Likewise.
15466         * resolv/inet_ntop.c: Likewise.
15467         * resolv/inet_pton.c: Likewise.
15468         * resolv/ns_date.c: Remove RCS keyword.
15469         * resolv/ns_name.c: Likewise.
15470         * resolv/ns_netint.c: Likewise.
15471         * resolv/ns_parse.c: Likewise.
15472         * resolv/ns_print.c: Likewise.
15473         * resolv/ns_samedomain.c: Likewise.
15474         * resolv/ns_ttl.c: Likewise.
15475         * resolv/nsap_addr.c: Likewise.
15476         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15477         * resolv/res_data.c: Remove RCS keyword.
15478         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15479         * resolv/res_init.c: Likewise.
15480         * resolv/res_mkquery.c: Likewise.
15481         * resolv/res_query.c: Likewise.
15482         * resolv/res_send.c: Likewise.
15484 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15486         * conform/data/stdio.h-data (fdopen): Expect also for
15487         [XPG3 || XPG4].
15489         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15490         (fseeko): Likewise.
15491         (ftello): Likewise.
15492         (ftrylockfile): Likewise.
15493         (funlockfile): Likewise.
15494         (getc_unlocked): Likewise.
15495         (getchar_unlocked): Likewise.
15496         (putc_unlocked): Likewise.
15497         (putchar_unlocked): Likewise.
15499 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15501         [BZ #19868]
15502         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15503         DNS packet syntax checks (which were not needed before).  Skip
15504         over non-PTR records.
15506 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15508         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15509         definition.  Include <stddef.h> instead.
15511 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15513         [BZ #19831]
15514         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15515         function.
15516         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15517         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15519 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15521         [BZ #19862]
15522         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15523         (getanswer_r): Do not call syslog.
15524         (gaih_getanswer_slice): Likewise.
15525         * resolv/gethnamaddr.c (AskedForGot): Remove.
15526         (getanswer): Do not call syslog.
15527         (gethostbyaddr): Likewise.
15529 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15531         * conform/data/signal.h-data (union sigval): Expect also if
15532         [XOPEN2K].
15533         (struct sigevent): Likewise.
15534         (SIGEV_NONE): Likewise.
15535         (SIGEV_SIGNAL): Likewise.
15536         (SIGEV_THREAD): Likewise.
15537         (SIGRTMIN): Likewise.
15538         (SIGRTMAX): Likewise.
15539         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15540         variable.
15541         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15543 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15545         [BZ #19830]
15546         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15547         (gaih_getanswer_slice): Likewise.
15548         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15549         Also check for availability of RR metadata.
15551 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15553         [BZ #19825]
15554         * resolv/res_send.c (send_vc): Remove early *resplen2
15555         initialization.  Set *resplen2 on socket error.  Call
15556         close_and_return_error for other errors.
15558 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15560         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15561         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15562         (SCM_IUCV_TRGCLS): New define.
15564 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15566         [BZ #20005]
15567         * libio/fmemopen.c (fmemopen_write): Update internal position after
15568         write.
15569         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15570         * stdio-common/tst-fmemopen4.c: New file..
15572 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15574         [BZ #19996]
15575         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15576         not [__USE_XOPEN2K].
15577         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15578         variable.
15580         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15581         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15582         variable.
15584         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15585         [__USE_XOPEN2K8].
15586         [__USE_LARGEFILE64] (off64_t): Likewise.
15587         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15588         variable.
15590 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15592         [BZ #19989]
15593         * libio/stdio.h (cuserid): Do not declare if
15594         [__USE_XOPEN2K && !__USE_GNU].
15595         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15596         variable.
15598 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15600         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15601         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15603         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15604         ifunc'ed strcspn.
15605         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15606         [EALIGN]: Removed.
15607         [END]: Likewise
15608         [STRSPN]: Define instead of the above to control symbol name.
15609         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15610         New file.
15611         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15612         Likewise.
15613         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15614         Likewise.
15615         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15616         Likewise.
15617         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15618         [INITIAL_MASK]: New macro.
15619         [STRCSPN]: Likewise.
15620         [UPDATE_MASK]: Likewise.
15621         [USE_AS_STRCSPN]: Likewise.
15623 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15625         [BZ #19931]
15626         * stdio-common/tst-vfprintf-width-prec.c: New file.
15627         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15628         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15629         (generated): Add mtrace-related files.
15630         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15631         (tst-%-mem.out): New pattern rule, replaces
15632         tst-printf-bz18872-mem.out.
15633         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15634         specifier, deallocate any previously allocated work buffer.
15636 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15638         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15639         Add nop before __startcontext, add explaining comments.
15641 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15643         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15644         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15645         completely different API.
15647         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15648         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15649         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15650         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15651         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15652         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15653         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15654         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15655         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15656         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15658 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15660         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15662 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15664         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15665         when it is the default of 0.
15667 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15669         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15670         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15671         (sysdep_routines): Add new strcasestr targets.
15672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15673         (__libc_ifunc_impl_list): Likewise.
15674         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15675         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15676         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15677         * sysdeps/powerpc/powerpc64/power8/Makefile:
15678         New file to add strcasestr-ppc64 to sysdep_routines.
15679         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15680         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15682 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15684         * benchtests/Makefile (wcsmbs-benchset): Include only for
15685         native builds and runs.
15686         (LOCALES): Likewise.
15687         (bench-build): Build timing-type here instead of the bench
15688         target.  Generate locale only for native builds.
15689         * benchtests/README: Add note for cross-building.
15691         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15693         * benchtests/README: Update README to include instructions on
15694         using bench-build.
15696         * Makefile.in (bench-build): New target.
15697         * Rules (PHONY): Add bench-build target.
15698         * benchtests/Makefile (bench): Depend on bench-build.
15699         (bench-build): New target.
15701 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15703         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15704         profil_reply_port.
15705         (profile_waiter): Do not initialize profil_reply_port.
15706         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15707         frequency instead of tick length in us.
15709 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15711         [BZ #18712]
15712         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15713         (__old_mempcpy_small): Likewise.
15714         (__old_strcpy_small): Likewise.
15715         (__old_stpcpy_small): Likewise.
15716         (__old_strpbrk_c2): Fix compat symbol name.
15717         (__old_strpbrk_c3): Likewise.
15718         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15719         (__mempcpy_small): Remove.
15720         (__strcpy_small): Remove.
15721         (__stpcpy_small): Remove.
15723 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15725         [BZ #19400]
15726         * locale/iso-639.def: Add the Talossan/tzl language.
15728 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15730         [BZ #16983]
15731         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15732         comment.  Add "ln" to strchr check on postal_fmt.
15734 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15736         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15737         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15738         tel_dom_fmt.
15740 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15742         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15743         (sysdep_routines): Added __strlen_power8.
15744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15745         __strlen_power8 entry.
15746         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15747         Implementation for POWER8.
15748         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15749         for __strlen_power8.
15750         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15751         Implementation for POWER8.
15753 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15755         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15757 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15759         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15760         Goldmont and Airmont processors.
15762 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15764         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15765         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15766         (__STRING2_SMALL_GET32): Remove.
15767         (memset): Remove.
15768         (__memset_1): Remove.
15769         (__memset_gc): Remove.
15770         (__mempcpy): Remove.
15771         (mempcpy): Remove.
15772         (__mempcpy_args): Remove.
15773         (strchr): Remove.
15774         (strcpy): Remove.
15775         (strcpy_args): Remove.
15776         (__stpcpy_args): Remove.
15777         (__strcmp_cc): Remove.
15778         (__strcmp_gc): Remove.
15779         (strstr): Remove.
15781 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15783         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15784         * nis/nis_call.c (nis_server_cache_add): Likewise.
15786 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15788         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15790 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15792         * malloc/arena.c (__malloc_fork_lock_parent)
15793         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15794         internal_function attribute.
15796 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15798         * stdio-common/printf_fp.c (__printf_fp_l):
15799         Rename ___printf_fp_l to __printf_fp_l and
15800         remove strong alias. Use libc_hidden_def instead
15801         of ldbl_hidden_def macro.
15803 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15805         Remove malloc hooks from fork handler.  They are no longer needed
15806         because malloc runs right before fork, and no malloc calls from
15807         other fork handlers are not possible anymore.
15808         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15809         declarations.
15810         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15811         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15812         (atfork_recursive_cntr): Remove.
15813         (__malloc_fork_lock_parent): Do not override malloc hooks and
15814         thread_arena.
15815         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15816         thread_arena.
15817         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15818         thread_arena instead of save_arena.
15820 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15822         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15823         (thread_atfork, thread_atfork_static): Remove.
15824         * sysdeps/mach/hurd/malloc-machine.h:
15825         (thread_atfork, thread_atfork_static): Remove.
15827 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15829         [BZ #19431]
15830         Run the malloc fork handler as late as possible to avoid deadlocks.
15831         * malloc/malloc-internal.h: New file.
15832         * malloc/malloc.c: Include it.
15833         * malloc/arena.c (ATFORK_MEM): Remove.
15834         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15835         Update comment.
15836         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15837         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15838         Remove outdated comment.
15839         (ptmalloc_init): Do not call thread_atfork.  Remove
15840         thread_atfork_static.
15841         * malloc/tst-malloc-fork-deadlock.c: New file.
15842         * Makefile (tests): Add tst-malloc-fork-deadlock.
15843         (tst-malloc-fork-deadlock): Link against libpthread.
15844         * manual/memory.texi (Aligned Memory Blocks): Update safety
15845         annotation comments.
15846         * sysdeps/nptl/fork.c (__libc_fork): Call
15847         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15848         __malloc_fork_unlock_child.
15849         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15851 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15853         [BZ #19613]
15854         Remove union wait.
15855         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15856         (w_stopsig, w_stopval): Remove.
15857         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15858         stat_loc argument.
15859         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15860         (__WAIT_STATUS_DEFN): Remove.
15861         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15862         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15863         (wait, wait3, wait4): Use int * for the stat_loc argument.
15864         * posix/wait.c (__wait): Likewise.
15865         * posix/wait3.c (__wait3): Likewise.
15866         * posix/wait4.c (__wait4): Likewise.
15867         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15868         (__WAIT_STATUS_DEFN): Remove.
15869         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15870         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15871         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15872         argument.
15873         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15874         * sysdeps/posix/wait3.c (__wait3): Likewise.
15875         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15876         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15877         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15878         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15879         stat_loc argument.
15880         * manual/process.texi (BSD Wait Functions): Remove union wait.
15882 2016-04-13  Andreas Schwab  <schwab@suse.de>
15884         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15885         (test-extras): Add tst-tlsalign-vars.
15886         * math/Makefile: Wrap long lines.
15887         (libm-vec-test-wrappers): Define.
15888         (test-extras): Add $(libm-vec-test-wrappers).
15889         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15890         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15891         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15892         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15893         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15894         (extra-test-objs): Add corresponding objects.
15896 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15898         [BZ #19928]
15899         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15900         New.
15901         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15902         times of shared cache size.
15903         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15904         (VMOVNT): New.
15905         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15906         (VMOVNT): Likewise.
15907         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15908         (VMOVNT): Likewise.
15909         (VMOVU): Changed to movups for smaller code sizes.
15910         (VMOVA): Changed to movaps for smaller code sizes.
15911         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15912         comments.
15913         (PREFETCH): New.
15914         (PREFETCH_SIZE): Likewise.
15915         (PREFETCHED_LOAD_SIZE): Likewise.
15916         (PREFETCH_ONE_SET): Likewise.
15917         Rewrite to use forward and backward loops, which move 4 vector
15918         registers at a time, to support overlapping addresses and use
15919         non temporal store if size is above the threshold and there is
15920         no overlap between destination and source.
15922 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15924         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15925         Include dl-vdso.
15926         * sysdeps/unix/sysv/linux/mips/Versions: Add
15927         __vdso_clock_gettime.
15928         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15929         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15930         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15931         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15932         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15933         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15934         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15935         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15936         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15938 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15940         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15941         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15942         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15943         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15944         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15945         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15948         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15950         syscalls generation.
15951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15952         [__NR_pwrite64] (__NR_write): Remove define.
15953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15954         [__NR_pwrite64] (__NR_write): Remove define.
15955         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15956         Remove define.
15957         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15958         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15959         Remove define.
15960         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15961         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15962         Linux implementation as base.
15963         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15965         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15966         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15971         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15973         syscall generation.
15974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15975         [__NR_pread64] (__NR_pread): Remove define.
15976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15977         [__NR_pread64] (__NR_pread): Likewise.
15978         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15979         define.
15980         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15981         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15982         Remove define.
15983         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15984         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15985         Linux implementation as base.
15986         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15987         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15988         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15990         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15991         definition.
15992         (__ALIGNMENT_COUNT): Likewise.
15993         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15994         (__ALIGNMENT_COUNT): Likewise.
15995         (SYSCALL_LL): New define.
15996         (SYSCALL_LL64): Likewise.
15997         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15998         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15999         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16000         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16002         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16003         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16004         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16005         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16006         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16007         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16009 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16011         [BZ #19865]
16012         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16013         original buffer before retry.
16015 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16017         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16018         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16019         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16020         GLRO(dl_auxv) list.
16021         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16022         including <ldsodefs.h>.
16023         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16025 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16027         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16028         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16029         $(CPPFLAGS).
16031 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16033         [BZ #17950]
16034         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16035         Add -mfpmath=387.
16037 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16039         * sysdeps/i386/configure.ac: Change == to = when calling test.
16040         * sysdeps/x86_64/configure.ac: Likewise.
16041         * sysdeps/i386/configure: Regenerated.
16042         * sysdeps/x86_64/configure: Likewise.
16044 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16046         [BZ #16137]
16047         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16048         * benchtests/bench-strcoll.c (input_files): Likewise.
16049         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16050         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16051         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16053 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16055         [BZ #19929]
16056         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16057         [__USE_XOPEN2K8 && !__USE_GNU].
16058         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16059         variable.
16061         [BZ #19925]
16062         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16063         define if [!__USE_MISC && __USE_XOPEN2K].
16064         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16065         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16066         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16067         Likewise.
16068         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16069         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16070         variable.
16071         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16073 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16075         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16076         (sysdep_routines): Add new strspn targets.
16077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16078         (__libc_ifunc_impl_list): Add strspn.
16079         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16080         New file.
16081         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16082         Likewise.
16083         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16084         Likewise.
16085         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16086         Likewise.
16088 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16090         * misc/hsearch_r.c: Include <limits.h>.
16092 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16094         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16096 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16098         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16099         (MEMCPY_SYMBOL): New.
16100         (MEMPCPY_SYMBOL): Likewise.
16101         (MEMMOVE_CHK_SYMBOL): Likewise.
16102         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16103         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16104         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16105         Provide alias for memcpy in libc.a and ld.so.
16107 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16109         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16110         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16111         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16112         Disabled fro now.
16113         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16114         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16116 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16118         * benchtests/Makefile (string-benchset): Add memcpy-large,
16119         memmove-large and memset-large.
16120         * benchtests/bench-memcpy-large.c: New file.
16121         * benchtests/bench-memmove-large.c: Likewise.
16122         * benchtests/bench-memmove-large.c: Likewise.
16123         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16125 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16127         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16128         32-bit displacement to avoid long nop between instructions.
16130 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16132         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16133         a comment on VMOVU and VMOVA.
16135 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16137         [BZ #19633]
16138         Use specified locale for number formatting in strfmon_l.
16139         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16140         (__nl_lookup_word): New inline functions.
16141         * include/printf.h (__print_fp_l): Declare.
16142         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16143         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16144         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16145         (___printf_fp): New function.
16146         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16147         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16148         * stdlib/tst-strfmon_l.c (do_test): New test.
16149         * stdlib/Makefile (tests): Add kt.
16150         (LOCALES): Build additional locales.
16151         (tst-strfmon_l.out): Require locales.
16153 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16155         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16156         if not in libc.
16157         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16158         Likewise.
16159         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16160         Likewise.
16161         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16162         Likewise.
16164 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16166         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16167         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16168         with unaligned_erms.
16169         (__memmove_erms): Skip if source == destination.
16170         (__memmove_unaligned_erms): Don't check source == destination
16171         first.
16173 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16175         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16176         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16178 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16180         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16181         * string/strspn.c (strspn): Likewise.
16183 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16185         * benchtests/bench-memset.c (do_test): Support 64-byte
16186         alignment.
16187         (test_main): Test 64-byte alignment.
16189 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16191         * benchtests/bench-memmove.c (test_main): Test 64-byte
16192         alignment.
16194 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16196         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16198 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16200         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16201         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16202         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16204         * string/strpbrk.c (strpbrk): Rewrite function.
16205         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16206         (__strpbrk_c2): Likewise.
16207         (__strpbrk_c3): Likewise.
16208         * string/string-inlines.c
16209         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16210         Likewise.
16211         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16212         Likewise.
16214         * string/strspn.c (strcspn): Rewrite function.
16215         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16216         (__strspn_c1): Remove inline function.
16217         (__strspn_c2): Likewise.
16218         (__strspn_c3): Likewise.
16219         * string/string-inlines.c
16220         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16221         compatibility symbol.
16222         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16223         Likewise.
16224         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16225         Likewise.
16226         * string/string-inlines.c: Include generic version.
16228 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16229             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16231         * string/Version (libc): Add GLIBC_2.24.
16232         * string/strcspn.c (strcspn): Rewrite function.
16233         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16234         (__strcspn_c1): Remove inline function.
16235         (__strcspn_c2): Likewise.
16236         (__strcspn_c3): Likewise.
16237         * string/string-inline.c
16238         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16239         compatibility symbol.
16240         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16241         Likewise.
16242         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16243         Likewise.
16244         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16246 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16248         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16249         Use ahi instead of aghi to adjust stack pointer.
16251 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16253         [BZ #19853]
16254         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16255         TEST to take significant digits as second parameter.
16256         [TEST]: Redefine in terms of TEST_N taking 30
16257         significant digits.
16258         (do_test): Add test case to demonstrate precision
16259         failure in the ldbl-128ibm printf.
16260         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16261         (__mpn_extract_long_double): Carry 7 extra intermediate
16262         bits of precision to aide computing difference when
16263         signs differ.
16265 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16267         [BZ #19881]
16268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16269         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16270         memset-avx512-unaligned-erms.
16271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16272         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16273         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16274         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16275         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16276         __memset_sse2_unaligned_erms, __memset_erms,
16277         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16278         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16279         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16280         file.
16281         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16282         Likewise.
16283         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16284         Likewise.
16285         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16286         Likewise.
16288 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16290         [BZ #19776]
16291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16292         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16293         memmove-avx512-unaligned-erms.
16294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16295         (__libc_ifunc_impl_list): Test
16296         __memmove_chk_avx512_unaligned_2,
16297         __memmove_chk_avx512_unaligned_erms,
16298         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16299         __memmove_chk_sse2_unaligned_2,
16300         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16301         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16302         __memmove_avx512_unaligned_erms, __memmove_erms,
16303         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16304         __memcpy_chk_avx512_unaligned_2,
16305         __memcpy_chk_avx512_unaligned_erms,
16306         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16307         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16308         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16309         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16310         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16311         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16312         __mempcpy_chk_avx512_unaligned_erms,
16313         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16314         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16315         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16316         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16317         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16318         __mempcpy_erms.
16319         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16320         file.
16321         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16322         Likewise.
16323         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16324         Likewise.
16325         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16326         Likewise.
16328 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16330         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16331         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16332         (La_s390_64_regs): Likewise.
16333         (La_s390_32_retval): Append vector register lrv_v24.
16334         (La_s390_64_retval): Likeweise.
16335         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16336         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16337         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16338         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16340 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16342         [BZ #19916]
16343         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16344         to create a non-vector/vector version for _dl_runtime_resolve and
16345         _dl_runtime_profile. Move implementation to ...
16346         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16347         (_dl_runtime_resolve) Save and restore fpr/vrs.
16348         (_dl_runtime_profile) Save and restore vrs and fix some issues
16349         if _dl_call_pltexit is called.
16350         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16351         Choose the correct resolver function if running on a machine with vx.
16352         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16353         to create a non-vector/vector version for _dl_runtime_resolve and
16354         _dl_runtime_profile. Move implementation to ...
16355         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16356         (_dl_runtime_resolve) Save and restore fpr/vrs.
16357         (_dl_runtime_profile) Save and restore vrs and fix some issues
16358         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16359         Choose the correct resolver function if running on a machine with vx.
16361 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16363         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16365 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16367         [BZ #19509]
16368         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16369         skip_map != NULL.
16370         * elf/tst-dlsym-error.c: New file.
16371         * elf/Makefile (tests): Add tst-dlsym-error.
16372         (tst-dlsym-error): Link against libdl.
16374 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16377         (__ASSUME_FUTIMESAT): Remove macro.
16378         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16380 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16382         [BZ #19879]
16383         CVE-2016-3075
16384         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16385         copy name.
16387 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16389         [BZ #19837]
16390         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16391         error if parse_line fails.
16393 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16395         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16396         (index_cpu_ERMS): Likewise.
16397         (reg_ERMS): Likewise.
16399 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16401         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16402         PER_LINUX_FDPIC): Add.
16404 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16406         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16407         memcpy-avx512-no-vzeroupper.
16408         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16409         to ...
16410         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16411         (MEMCPY): Don't define.
16412         (MEMCPY_CHK): Likewise.
16413         (MEMPCPY): Likewise.
16414         (MEMPCPY_CHK): Likewise.
16415         (MEMPCPY_CHK): Renamed to ...
16416         (__mempcpy_chk_avx512_no_vzeroupper): This.
16417         (MEMPCPY_CHK): Renamed to ...
16418         (__mempcpy_chk_avx512_no_vzeroupper): This.
16419         (MEMCPY_CHK): Renamed to ...
16420         (__memmove_chk_avx512_no_vzeroupper): This.
16421         (MEMCPY): Renamed to ...
16422         (__memmove_avx512_no_vzeroupper): This.
16423         (__memcpy_avx512_no_vzeroupper): New alias.
16424         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16426 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16428         [BZ #18858]
16429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16430         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16431         and mempcpy-avx512-no-vzeroupper.
16432         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16433         New.
16434         (MEMPCPY): Likewise.
16435         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16436         (MEMPCPY_CHK): New.
16437         (MEMPCPY): Likewise.
16438         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16439         (MEMPCPY): Likewise.
16440         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16441         (MEMPCPY): Likewise.
16442         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16443         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16444         Likewise.
16445         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16446         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16448 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16449              Amit Pawar  <Amit.Pawar@amd.com>
16451         [BZ #19583]
16452         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16453         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16454         processors.  Set Fast_Copy_Backward for AMD Excavator
16455         processors.
16456         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16457         New.
16458         (index_arch_Fast_Unaligned_Copy): Likewise.
16459         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16460         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16462 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16464         [BZ #19791]
16465         * resolv/res_send.c (close_and_return_error): New function.
16466         (send_dg): Initialize *resplen2 after reopen failure.  Call
16467         close_and_return_error for error returns.  On error paths without
16468         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16469         successful return.
16471 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16473         [BZ #19860]
16474         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16475         zero if the compiler does not provide the AVX512F bit.
16477 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16479         [BZ #19848]
16480         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16481         from 8 to 4.
16482         (__ieee754_powl): Compare integer exponent against 4 not 8.
16483         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16484         from 8 to 4.
16485         (__ieee754_powl): Compare integer exponent against 4 not 8.
16486         * math/auto-libm-test-in: Add more tests of pow.
16487         * math/auto-libm-test-out: Regenerated.
16488         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16491 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16493         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16494         Make code unconditional.
16495         [!__NR_utimensat]: Remove conditional code.
16496         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16497         Make code unconditional.
16498         [!__NR_utimensat]: Remove conditional code.
16499         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16500         Make code unconditional.
16501         [!__NR_utimensat]: Remove conditional code.
16503 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16505         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16506         Make code unconditional.
16508 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16510         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16511         call-clobbered %eax on retry path.
16512         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16514 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16516         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16517         Don't set %rcx twice before "rep movsb".
16519 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16521         [BZ #19583]
16522         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16523         inline.  Check family before setting family, model and
16524         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16525         bits here.
16526         (init_cpu_features): Replace HAS_CPU_FEATURE and
16527         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16528         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16529         for Intel processors with usable AVX2.  Call get_common_indeces
16530         for other processors with family == NULL.
16531         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16532         (CPU_FEATURES_ARCH_P): Likewise.
16533         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16534         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16536 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16538         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16539         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16540         $(shared-thread-library) instead of hardcoding the path to libpthread.
16542 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16544         * sysdeps/unix/sysv/linux/kernel-features.h
16545         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16546         * sysdeps/unix/sysv/linux/getdents.c
16547         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16548         [!have_no_getdents64_defined]: Likewise.
16549         (__GETDENTS): Remove __have_no_getdents64 conditional.
16551 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16553         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16554         Remove macro.
16555         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16556         <kernel-features.h>.
16557         (signalfd) [__NR_signalfd4]: Make code unconditional.
16558         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16560 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16562         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16563         style.
16565 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16567         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16568         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16569         __pthread_unwind.
16570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16571         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16572         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16573         (__condvar_cleanup1): Likewise.
16575 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16577         [BZ #19822]
16578         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16579         move it to the final $@ location.
16581 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16583         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16584         access where posix_spawn success and pid argument is null.
16585         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16586         success case.
16588 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16590         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16592         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16594         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16595         and __fcntl.
16596         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16597         __fcntl only.
16598         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16599         adding attribute_hidden to __open and __fcntl.
16601         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16602         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16603         depend on libc-modules.h,
16604         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16606 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16609         Remove macro.
16610         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16611         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16612         entry.
16614         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16615         Remove macro.
16616         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16617         include <kernel-features.h>.
16618         [!__ASSUME_FALLOCATE]: Remove conditional code.
16619         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16621 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16623         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16624         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16625         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16626         (_ZGVdN4v_cos_avx2): Likewise.
16627         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16628         (_ZGVdN4v_cos): Likewise.
16629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16630         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16632         (_ZGVdN4v_exp_avx2): Likewise.
16633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16634         (_ZGVdN4v_exp): Likewise.
16635         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16636         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16637         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16638         (_ZGVdN4v_log_avx2): Likewise.
16639         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16640         (_ZGVdN4v_log): Likewise.
16641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16642         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16643         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16644         (_ZGVdN4vv_pow_avx2): Likewise.
16645         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16646         (_ZGVdN4vv_pow): Likewise.
16647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16648         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16649         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16650         (_ZGVdN4v_sin_avx2): Likewise.
16651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16652         (_ZGVdN4v_sin): Likewise.
16653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16654         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16656         (_ZGVdN4vvv_sincos_avx2): Likewise.
16657         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16658         (_ZGVdN4vvv_sincos): Likewise.
16659         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16660         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16662         (_ZGVbN4v_cosf_sse4): Likewise.
16663         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16664         (_ZGVdN8v_cosf_avx2): Likewise.
16665         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16666         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16668         (_ZGVbN4v_expf_sse4): Likewise.
16669         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16670         (_ZGVdN8v_expf_avx2): Likewise.
16671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16672         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16674         (_ZGVbN4v_logf_sse4): Likewise.
16675         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16676         (_ZGVdN8v_logf_avx2): Likewise.
16677         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16678         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16679         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16680         (_ZGVbN4vv_powf_sse4): Likewise.
16681         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16682         (_ZGVdN8vv_powf_avx2): Likewise.
16683         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16684         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16686         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16687         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16688         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16690         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16691         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16692         (_ZGVbN4v_sinf_sse4): Likewise.
16693         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16694         (_ZGVdN8v_sinf_avx2): Likewise.
16695         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16696         Use JUMPTARGET to call callee.
16697         (WRAPPER_IMPL_SSE2_ff): Likewise.
16698         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16699         (WRAPPER_IMPL_AVX): Likewise.
16700         (WRAPPER_IMPL_AVX_ff): Likewise.
16701         (WRAPPER_IMPL_AVX_fFF): Likewise.
16702         (WRAPPER_IMPL_AVX512): Likewise.
16703         (WRAPPER_IMPL_AVX512_ff): Likewise.
16704         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16705         Likewise.
16706         (WRAPPER_IMPL_SSE2_ff): Likewise.
16707         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16708         (WRAPPER_IMPL_AVX): Likewise.
16709         (WRAPPER_IMPL_AVX_ff): Likewise.
16710         (WRAPPER_IMPL_AVX_fFF): Likewise.
16711         (WRAPPER_IMPL_AVX512): Likewise.
16712         (WRAPPER_IMPL_AVX512_ff): Likewise.
16713         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16715 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16717         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16718         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16719         qualifier.
16720         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16721         internal_function qualifiers.
16723 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16725         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16726         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16727         * math/atest-exp.c (exp_mpn): Mark chk unused.
16728         * math/atest-exp2.c (exp_mpn): Likewise.
16729         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16730         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16732 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16735         Remove macro.
16736         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16737         <kernel-features.h>.
16738         [__NR_ppoll]: Make code unconditional.
16739         [!__ASSUME_PPOLL]: Remove conditional code.
16741         * sysdeps/unix/sysv/linux/kernel-features.h
16742         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16743         (__ASSUME_ACCEPT4): Likewise.
16744         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16745         Define.
16746         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16747         Likewise.
16748         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16749         Likewise.
16750         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16751         Likewise.
16752         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16753         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16755         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16756         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16758         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16759         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16760         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16761         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16762         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16763         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16764         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16765         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16766         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16768         Likewise.
16769         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16770         Likewise.
16771         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16772         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16773         0x040300].
16774         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16775         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16777         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16778         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16779         0x030300].
16780         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16781         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16782         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16783         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16784         0x040300].
16785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16786         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16788         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16789         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16790         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16791         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16792         0x030300].
16793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16794         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16797         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16798         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16799         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16801         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16802         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16803         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16804         0x040300].
16805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16807         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16808         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16809         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16810         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16811         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16812         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16813         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16814         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16815         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16816         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16817         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16818         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16819         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16820         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16821         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16822         Likewise.
16823         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16824         Likewise.
16826 2016-03-15  Andreas Schwab  <schwab@suse.de>
16828         [BZ #19257]
16829         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16830         statp->_u._ext.nscount as loop count.
16832 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16834         * math/test-signgam-finite-c99.c: Also #undef
16835         __LIBC_INTERNAL_MATH_INLINES.
16836         * math/test-signgam-main.c: Likewise.
16838 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16840         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16841         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16842         (MADV_FREE): Likewise.
16843         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16844         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16845         EPOLLEXCLUSIVE.
16847 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16849         * timezone/README: Remove mention of checktab.awk. Mention wiki
16850         SharedSourceFiles.
16852 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16854         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16855         WUNTRACED.
16857 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16859         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16860         order to match the type of p when calling atomic_exchange_acq().
16862 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16864         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16865         cfi_offset calls.
16866         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16867         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16868         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16869         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16870         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16872 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16874         * timezone/checktab.awk: Removed.
16876 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16878         * manual/math.texi (Errors in Math Functions): Document relaxed
16879         accuracy goals for IBM long double.
16880         * math/libm-test.inc (test_exceptions): Always allow spurious
16881         "underflow" and "inexact" exceptions for IBM long double.
16883 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16885         [BZ #19762]
16886         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16887         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16888         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16889         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16890         (bit_arch_*): This for feature array.
16891         (bit_*): Renamed to ...
16892         (bit_cpu_*): This for cpu array.
16893         (index_*): Renamed to ...
16894         (index_arch_*): This for feature array.
16895         (index_*): Renamed to ...
16896         (index_cpu_*): This for cpu array.
16897         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16898         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16899         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16900         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16901         bit_##name with index_cpu_##name and bit_cpu_##name.
16902         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16903         bit_##name with index_arch_##name and bit_arch_##name.
16905 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16907         [BZ #19792]
16908         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16909         Terminate FDE before return label.
16911 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16913         [BZ #19790]
16914         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16915         (rintl): Define as macro.
16916         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16917         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16918         of fesetround.  Ensure results are evaluated before end of scope.
16919         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16920         USE_AS_NEARBYINTL and include s_rintl.c.
16921         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16922         Disable exception traps in new environment.
16923         (libc_feholdsetround_ppc_ctx): Likewise.
16925 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16927         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16928         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16929         (tst_audit10_aux) [__AVX512F__]: ... here.
16931 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16933         * include/sys/auxv.h: New file.
16935 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16937         [BZ #19759]
16938         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16940 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16942         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16943         operand modifier.
16944         (feclearexcept): Likewise.
16946 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16948         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16949         to reflect the entire 32-bit HWCAP.
16950         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16951         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16953 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16955         [BZ #19783]
16956         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16957         $(test-via-rtld-prefix).
16958         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16960 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16962         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16963         union wait.  Report any non-zero exit status as error.
16965 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16967         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16968         configured with --enable-hardcoded-path-in-tests.
16970 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16972         [BZ #19677]
16973         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16974         (__ieee754_remainderl): Put zero low parts in canonical form.
16975         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16976         file.  Based on
16977         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16978         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16979         with wrapper round test-fmodrem-ldbl-128ibm.c.
16980         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16981         file.
16982         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16983         Likewise.
16984         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16985         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16987 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16989         [BZ #19610]
16990         * elf/ldconfig.c (opt_link): Update comment.
16991         (options): Update help string for option -X.
16992         (search_dir): Unlink stale symbolic link only if updating symbolic
16993         links.
16994         * elf/tst-ldconfig-X.sh: New file.
16995         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16996         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16998 2016-03-07  Andreas Schwab  <schwab@suse.de>
17000         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17001         needed arguments.
17003 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17005         [BZ #15333]
17006         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17007         to lstat64.
17009 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17011         * libio/filedoalloc.c (isatty): Remove.
17012         (local_isatty): Add comment.  Call __isatty directly.
17013         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17014         * libio/wfiledoalloc.c (isatty): Remove.
17015         (_IO_wfile_doallocate): Update comment.
17017 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17019         [BZ #19269]
17020         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17021         tst-audit4-aux.o.
17022         (tst-audit10): Depend on tst-audit10-aux.o.
17023         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17024         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17025         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17026         instead of inline AVX code.
17027         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17028         instead of inline AVX512 code.
17029         * sysdeps/x86_64/tst-audit4-aux.c: New file
17030         * sysdeps/x86_64/tst-audit10-aux.c: New file
17032         [BZ #19648]
17033         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17035 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17037         [BZ #14750]
17038         [BZ #10354]
17039         [BZ #18433]
17040         * include/sched.h (__clone): Add hidden prototype.
17041         (__clone2): Likewise.
17042         * include/unistd.h (__dup): Likewise.
17043         * posix/Makefile (tests): Add tst-spawn2.
17044         * posix/tst-spawn2.c: New file.
17045         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17046         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17047         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17048         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17049         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17050         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17051         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17052         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17053         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17054         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17055         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17057         Likewise.
17058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17059         Likewise.
17060         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17061         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17062         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17063         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17064         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17065         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17066         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17067         * sysdeps/unix/sysv/linux/nptl-signals.h
17068         (____nptl_is_internal_signal): New function.
17069         * sysdeps/unix/sysv/linux/spawni.c: New file.
17071         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17072         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17073         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17074         * posix/tst-execvp2.c (do_test): Likewise.
17075         * posix/tst-execvp3.c (do_test): Likewise.
17076         * posix/tst-execvp4.c (do_test): Likewise.
17077         * posix/tst-execvpe1.c: New file.
17078         * posix/tst-execvpe2.c: Likewise.
17079         * posix/tst-execvpe3.c: Likewise.
17080         * posix/tst-execvpe4.c: Likewise.
17081         * posix/tst-execvpe5.c: Likewise.
17082         * posix/tst-execvpe6.c: Likewise.
17084         [BZ #19534]
17085         * posix/execl.c (execl): Remove dynamic memory allocation.
17086         * posix/execle.c (execle): Likewise.
17087         * posix/execlp.c (execlp): Likewise.
17089 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17091         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17092         Replace .text with .text.avx512.
17093         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17094         Likewise.
17096 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17098         * sysdeps/generic/libnsl.abilist: New file.
17099         * sysdeps/generic/libutil.abilist: New file.
17101 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17103         [BZ #19762]
17104         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17105         HAS_ARCH_FEATURE with Fast_Rep_String.
17106         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17107         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17108         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17109         Likewise.
17110         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17111         Likewise.
17112         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17113         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17114         Likewise.
17115         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17116         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17117         Likewise.
17119 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17121         [BZ #19745]
17122         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17123         with *%rax in call.
17125 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17127         [BZ #19745]
17128         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17129         with *__libc_start_main@GOTPCREL(%rip) in call.
17131 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17133         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17134         inside conditional for nonempty $(CXX).
17136         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17137         nonempty.
17139         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17140         to test for empty $(CXX) rather than $(CXX) of "no".
17142 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17144         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17146 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17147             H.J. Lu  <hongjiu.lu@intel.com>
17149         [BZ #18880]
17150         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17151         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17152         enable __memcpy_ssse3_back.
17154 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17156         [BZ #19758]
17157         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17158         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17160 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17162         [BZ #19490]
17163         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17164         (__fentry__): Likewise.
17166 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17168         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17169         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17171 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17173         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17174         __mcount_internal directly.
17175         (C_LABEL(__fentry__)): Likewise.
17176         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17177         directly.
17179 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17181         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17182         (__start_context): Call __setcontext directly.
17184 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17187         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17188         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17189         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17190         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17191         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17192         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17193         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17194         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17195         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17196         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17197         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17198         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17199         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17200         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17201         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17202         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17204         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17205         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17206         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17208         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17209         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17210         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17211         Remove conditional code.
17212         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17213         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17214         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17215         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17216         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17217         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17218         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17219         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17220         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17221         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17222         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17223         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17225 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17227         * NEWS (2.23): Fix typo in bug 19048 text.
17229 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17231         [BZ #14259]
17232         * Makeconfig: Rename msgcatdir to localedir.
17233         Rename inst_msgcatdir to inst_localedir.
17234         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17235         * config.make.in: Add localedir.
17236         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17237         (ldd-rewrite): Likewise.
17238         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17239         (install-others): Use inst_localedir.
17240         (CPPFLAGS): Use localedir.
17241         * locale/Makefile (locale-CPPFLAGS): Likewise.
17242         * po/Makefile (mo-installed): Use inst_localedir.
17244         [BZ #19575]
17245         * localedata/charmaps/GB18030: Update comments regarding PAU to
17246         non-PUA mappings.
17248 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17250         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17251         test for header.
17252         * sysdeps/unix/sysv/linux/configure: Regenerated.
17253         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17254         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17255         Remove conditional code.
17256         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17258         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17259         Define to 3.2.0.
17260         (arch_minimum_kernel): Likewise.
17261         * sysdeps/unix/sysv/linux/configure: Regenerated.
17262         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17263         Define to 2.6.32.
17264         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17265         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17266         (arch_minimum_kernel): Define to 2.6.32.
17267         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17268         * README: Document Linux 3.2 requirement.
17269         * manual/install.texi (Linux): Document Linux 3.2 headers
17270         requirement.
17271         * INSTALL: Regenerated.
17273 2016-02-24  Andreas Schwab  <schwab@suse.de>
17275         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17276         if !NO_LONG_DOUBLE.
17278 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17280         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17281         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17283 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17285         [BZ #19512]
17286         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17288 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17290         * posix/tst-dir.c: Include libc-internal.h.
17292 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17294         [BZ #19056]
17295         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17296         * manual/filesys.texi (Reading/Closing Directory): Mention
17297         deprecaion.
17298         * posix/tst-dir.c (main): Disable deprecation warning in test.
17300 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17302         [BZ #19679]
17303         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17304         Renamed to ...
17305         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17306         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17307         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17308         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17309         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17310         * sysdeps/x86_64/dl-trampoline.h
17311         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17312         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17314 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17316         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17318 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17320         * elf/elf.h (R_386_GOT32X): New.
17321         (R_386_NUM): Update.
17322         (R_X86_64_GOTPCRELX: New.
17323         (R_X86_64_REX_GOTPCRELX): New.
17324         (R_X86_64_NUM): Update.
17326 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17328         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17330 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17332         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17333         assign attr->stackaddr to it, and adjust it down when
17334         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17335         [_STACK_GROWS_UP]: Delete assert.
17336         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17337         Implement stack grows up logic.
17338         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17339         stack grows up logic.
17341 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17343         * NEWS: Update with 2.24 template.
17345 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17347         [BZ #19678]
17348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17349         Ensure +0.0 is returned when taking the next value below the least
17350         positive value.
17352 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17354         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17355         available.  Do not define NO_THREADS.
17356         * malloc/malloc.c: Do not check NO_THREADS.
17357         * malloc/arena.c: Likewise.
17359 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17361         * malloc/malloc.c (__libc_mallinfo): Update comment.
17362         (struct malloc_par): Remove max_total_mem member, it was always 0.
17363         (int_mallinfo): Store 0 into usmblks (no functional change).
17364         * malloc/hooks.c (struct malloc_state): Document that
17365         max_total_mem is always 0.
17366         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17367         always 0.
17368         * manual/memory.texi (Statistics of Malloc): Likewise.
17370 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17372         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17373         * malloc/arena.c (arena_max): Remove.
17374         (heap_trim, _int_new_arena): Do not update arena_max.
17376 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17378         * resolv/res_init.c (res_ninit): Update comment.
17380 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17382         [BZ #19505]
17383         * posix/spawn_int.h: Add headers and include guard.
17384         (__spawn_valid_fd): New function.
17385         * posix/spawn_faction_addopen.c
17386         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17387         * posix/spawn_faction_addclose.c
17388         (posix_spawn_file_actions_addclose): Likewise.
17389         * posix/spawn_faction_adddup2.c
17390         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17391         second file descriptor.
17392         * posix/spawn_valid_fd.c: New file.
17393         * posix/tst-posix_spawn-fd.c: New file.
17394         * posix/Makefile (routines): Add spawn_valid_fd.
17395         (tests): Add tst-posix_spawn-fd.
17397 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17399         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17400         (do_test): Limit the number of arenas, so that we can use fewer
17401         outer threads.  Limit timeout to 3 seconds, in preparation for a
17402         larger TIMEOUT value.
17404 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17406         [BZ #19674]
17407         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17408         sign in overflowing and underflowing results when overflow or
17409         underflow is detected early.  Include sign in result before rather
17410         than after scaling.
17412         [BZ #19603]
17413         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17414         (__ieee754_remainderl): Adjust sign of integer version of low part
17415         when taking absolute value of high part.
17416         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17417         * math/libm-test.inc (remainder_test_data): Add another test.
17418         (remquo_test_data): Likewise.
17420 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17422         [BZ #19602]
17423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17424         equal high parts and both low parts zero specially.
17425         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17426         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17427         Add test-fmodl-ldbl-128ibm.
17429         [BZ #19595]
17430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17431         common logic for all cases of shifting subnormal results.  Do not
17432         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17433         exponent to ldbl_insert_mantissa in subnormal case.
17435         [BZ #19594]
17436         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17437         on high and low parts then adjust result and use
17438         ldbl_canonicalize_int if needed.
17440         [BZ #19593]
17441         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17442         on high part and __floor or __ceil on low part then use
17443         ldbl_canonicalize_int if needed.
17445         [BZ #19592]
17446         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17447         high and low parts then use ldbl_canonicalize_int if needed.
17449         [BZ #17899]
17450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17451         New function.
17452         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17453         on high and low parts then use ldbl_canonicalize_int if needed.
17455 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17457         * configure: Regenerated.
17459         * po/libc.pot: Regenerated.
17461         * po/be.po: Updated translation.
17462         * po/bg.po: Likewise.
17463         * po/ca.po: Likewise.
17464         * po/cs.po: Likewise.
17465         * po/da.po: Likewise.
17466         * po/el.po: Likewise.
17467         * po/eo.po: Likewise.
17468         * po/es.po: Likewise.
17469         * po/fi.po: Likewise.
17470         * po/fr.po: Likewise.
17471         * po/gl.po: Likewise.
17472         * po/hr.po: Likewise.
17473         * po/hu.po: Likewise.
17474         * po/ia.po: Likewise.
17475         * po/id.po: Likewise.
17476         * po/it.po: Likewise.
17477         * po/ja.po: Likewise.
17478         * po/lt.po: Likewise.
17479         * po/nb.po: Likewise.
17480         * po/nl.po: Likewise.
17481         * po/pt_BR.po: Likewise.
17482         * po/rw.po: Likewise.
17483         * po/sk.po: Likewise.
17484         * po/sl.po: Likewise.
17485         * po/sv.po: Likewise.
17486         * po/tr.po: Likewise.
17487         * po/zh_CN.po: Likewise.
17488         * po/zh_TW.po: Likewise.
17490         * version.h (RELEAES): Set to "development".
17491         (VERSION): Set to 2.23.90.
17493         * version.h (RELEASE): Set to "stable".
17494         (VERSION): Set to 2.23.
17495         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17497         * NEWS: Updated fixed bugs.
17499 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17500             Wilco Dijkstra  <wdijkstr@arm.com>
17502         [BZ #19462]
17503         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17504         (_STRING_INLINE_unaligned): This.
17505         * include/string.h: Include <string_private.h>.
17506         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17507         _STRING_INLINE_unaligned.
17508         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17509         (_STRING_INLINE_unaligned): New.
17510         * sysdeps/aarch64/string_private.h: New file.
17511         * sysdeps/generic/string_private.h: Likewise.
17512         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17513         * sysdeps/s390/string_private.h: Likewise.
17514         * sysdeps/x86/string_private.h: Likewise.
17515         * sysdeps/m68k/m680x0/m68020/bits/string.h
17516         (_STRING_ARCH_unaligned): Renamed to ...
17517         (_STRING_INLINE_unaligned): This.
17518         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17519         to ...
17520         (_STRING_INLINE_unaligned): This.
17521         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17522         to ...
17523         (_STRING_INLINE_unaligned): This.
17524         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17525         to ...
17526         (_STRING_INLINE_unaligned): This.
17528 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17529             H.J. Lu  <hongjiu.lu@intel.com>
17531         [BZ #19590]
17532         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17533         relocation.
17535 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17537         [BZ #18665]
17538         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17539         *herrno_p.
17540         (gaih_getanswer): Document functional behviour. Return tryagain
17541         if any result is tryagain.
17542         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17543         when freed.
17544         * resolv/res_send.c: Add copyright text.
17545         (__libc_res_nsend): Document that MAXPACKET is expected.
17546         (send_vc): Document. Remove buffer reuse.
17547         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17548         size of the buffer. Add Dprint for truncated UDP buffer.
17550 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17552         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17553         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17554         * INSTALL: Regenerate.
17556 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17557             Jonathan Wakely  <jwakely@redhat.com>
17558             Carlos O'Donell  <carlos@redhat.com>
17560         [BZ 19439]
17561         * math/Makefile (tests): Add test-math-isinff.
17562         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17563         * math/bits/mathcalls.h [__USE_MISC]: Use
17564         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17565         functions not in C++11 and which don't conflict e.g. isinff,
17566         isinfl etc.
17567         * math/test-math-isinff.cc: New file.
17569 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17571         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17573 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17575         [BZ #19529]
17576         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17578 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17580         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17582 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17584         [BZ #19550]
17585         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17586         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17587         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17588         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17589         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17590         New syscall entry.
17591         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17592         New syscall entry.
17593         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17594         syscall entry.
17596 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17598         [BZ #18240]
17599         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17600         unsigned int wraparound.
17602 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17604         [BZ #18240]
17605         * misc/bug18240.c: New test.
17606         * misc/Makefile (tests): Add it.
17608 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17609             Joseph Myers  <joseph@codesourcery.com>
17611         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17612         load in branch delay slot when less than a word of input left.
17614 2016-01-27  Andreas Schwab  <schwab@suse.de>
17616         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17617         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17618         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17619         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17621 2016-01-26  David S. Miller  <davem@davemloft.net>
17623         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17625 2016-01-25  David S. Miller  <davem@davemloft.net>
17627         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17628         __sqrtl_finite.
17629         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17630         instead using versioned_symbol.
17631         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17632         of entries.
17634         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17635         __sqrtl_finite to GLIBC_2.23
17637 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17639         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17641 2016-01-25  Andreas Schwab  <schwab@suse.de>
17643         [BZ #17514]
17644         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17645         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17646         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17647         * nptl/tst-mutex-errorcheck.c: New file.
17649 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17651         [BZ #18560]
17652         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17653         (IPCOP_semop): Likewise.
17654         (IPCOP_semget): Likewise.
17655         (IPCOP_semctl): Likewise.
17656         (IPCOP_msgsnd): Likewise.
17657         (IPCOP_msgrcv): Likewise.
17658         (IPCOP_msgget): Likewise.
17659         (IPCOP_msgctl): Likewise.
17660         (IPCOP_shmat): Likewise.
17661         (IPCOP_shmdt): Likewise.
17662         (IPCOP_shmget): Likewise.
17663         (IPCOP_shmctl): Likewise.
17665 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17667         * string/tst-endian.c: Include <libc-internal.h>.
17668         (do_test): Ignore tautological-compare warnings around
17669         "htobeXX (beXXtoh (i)) != i" and
17670         "htoleXX (leXXtoh (i)) != i" if-statements.
17672 2016-01-24  David S. Miller  <davem@davemloft.net>
17674         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17675         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17676         alias.
17677         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17678         __sqrtl_finite.
17680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17682 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17684         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17685         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17686         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17688 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17690         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17691         (thread_func): Use new function to simplify barrier check.
17692         (do_test): Use new function to simplify checking barrier exit
17693         code, and actually join the child thread.
17695 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17697         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17698         semicolon.
17699         (__libc_tend): Likewise.
17700         (__libc_tabort): Likewise.
17702 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17704         * sysdeps/nios2/libm-test-ulps: Update.
17705         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17706         (__gtsf2): Likewise.
17707         (__unorddf2): Likewise.
17708         (__unordsf2): Likewise.
17709         (__ledf2): Likewise.
17711 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17713         * nis/nis_table.c (__follow_path): Disable diagnostic for
17714         uninitialized variable that is a false positive for gcc 4.7.
17715         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17717 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17719         * sysdeps/nacl/lowlevellock-futex.h
17720         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17721         Always evaluate PRIVATE argument.
17723 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17725         [BZ #19490]
17726         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17727         (pthread_cond_broadcast): Use ENTRY/END
17728         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17729         (pthread_cond_signal): Likewise.
17730         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17731         Likewise.
17732         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17733         Likewise.
17734         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17735         Likewise.
17737 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17739         * sysdeps/ieee754/dbl-64/s_finite.c
17740         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17741         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17742         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17743         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17744         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17747         (__gtsf2): Add as optional for libc.so.
17748         (__unordsf2): Likewise.
17749         (__signbit): Remove for libc.so.
17750         (__signbitl): Likewise.
17752 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17754         * iconvdata/bug-iconv11.c (test_ibm93x):
17755         Use %zu printf format specifier for size_t argument.
17757 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17759         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17760         already-recorded ulps.
17761         * sysdeps/arm/libm-test-ulps: Regenerated.
17762         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17764         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17766 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17767             Paul Pluzhnikov  <ppluzhnikov@google.com>
17769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17770         assembler not supporting AVX-512.
17772 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17774         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17776 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17778         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17781         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17783         * sysdeps/arm/libm-test-ulps: Regenerated.
17785 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17787         [BZ #19451]
17788         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17790 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17792         [BZ #19486]
17793         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17794         * sysdeps/generic/fix-fp-int-convert-overflow.h
17795         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17796         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17797         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17798         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17799         Likewise.
17800         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17801         Avoid conversions to long int where inexact exceptions
17802         could be raised.
17803         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17804         Likewise.
17805         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17806         Avoid conversions to long long int where inexact exceptions
17807         could be raised.
17808         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17809         Likewise.
17811 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17813         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17814         * configure: Regenerated.
17816 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17818         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17820 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17822         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17823         outside of comment.
17825 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17827         * nptl/tst-barrier1.c: Add description on first line.
17828         * nptl/tst-barrier2.c: Likewise.
17829         * nptl/tst-barrier3.c: Likewise.
17830         * nptl/tst-barrier4.c: Likewise.
17831         * nptl/tst-barrier5.c: Likewise.
17833 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17835         [BZ #18868]
17836         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17838 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17841         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17842         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17843         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17844         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17845         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17846         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17847         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17848         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17849         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17850         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17852 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17854         [BZ #13065]
17855         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17856         new implementation.
17857         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17858         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17859         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17860         (BARRIER_IN_THRESHOLD): New macro.
17861         * nptl/pthread_barrierattr_setpshared.c
17862         (pthread_barrierattr_setpshared): Clean up.
17863         * nptl/tst-barrier4.c: Correct comment.
17864         * nptl/tst-barrier5.c: New file.
17865         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17866         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17867         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17868         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17869         * nptl/lowlevelbarrier.sym: Remove.
17870         * nptl/DESIGN-barrier.txt: Remove.
17871         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17872         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17873         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17874         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17875         error.
17876         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17877         implementation.
17879 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17881         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17882         (do_child): Mask SIGRTMIN while thr is running.
17884 2016-01-15  Martin Sebor  <msebor@redhat.com>
17886         [BZ #19432]
17887         * iconvdata/Makefile: Add bug-iconv11.
17888         * iconvdata/bug-iconv11.c: New test.
17889         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17890         * iconvdata/ibm933.c: Same.
17891         * iconvdata/ibm935.c: Same.
17892         * iconvdata/ibm937.c: Same.
17893         * iconvdata/ibm939.c: Same.
17895 2016-01-15  Martin Sebor  <msebor@redhat.com>
17897         [BZ #19443]
17898         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17899         [DEBUG] (_ufc_set_bits): Declare used.
17900         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17901         [DEBUG] (print_all): Declare used.
17902         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17903         operands of the ternary ?: expression to target type.
17904         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17905         calling the undeclared abort.
17906         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17908 2016-01-15  Martin Sebor  <msebor@redhat.com>
17910         [BZ #18755]
17911         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17912         warnings.
17913         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17914         (__gai_create_helper_thread): Same.
17915         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17916         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17917         to suppress -Wmaybe-uninitialized warnings.
17919 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17921         [BZ #19465]
17922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17923         inside if.
17924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17925         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17926         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17928 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17930         [BZ #19466]
17931         * time/tst-mktime2.c (time_t_max): Removed.
17932         (time_t_min): Likewise.
17933         (TYPE_SIGNED): New.
17934         (TYPE_MINIMUM): Likewise.
17935         (TYPE_MAXIMUM): Likewise.
17936         (TIME_T_MIN): Likewise.
17937         (TIME_T_MAX): Likewise.
17938         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17939         and TIME_T_MIN.
17940         (do_test): Likewise.
17942 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17944         [BZ #19467]
17945         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17946         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17948 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17950         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17952 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17954         * benchtests/Makefile (PYTHON): Define.
17955         (bench-func): Use $(PYTHON) to run python scripts.
17956         ($(objpfx)bench-%.c): Likewise.
17958 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17960         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17961         leading slash when `file_name' is "/".
17963 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17965         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17966         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17967         Likewise.
17968         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17969         Likewise.
17970         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17971         Likewise.
17972         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17973         enum constant and macro.
17974         (PTRACE_SETSIGMASK): Likewise.
17975         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17976         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17977         (PTRACE_GETSIGMASK): Likewise.
17978         (PTRACE_SETSIGMASK): Likewise.
17979         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17980         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17981         Likewise.
17982         (PTRACE_SETSIGMASK): Likewise.
17983         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17984         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17985         (PTRACE_GETSIGMASK): Likewise.
17986         (PTRACE_SETSIGMASK): Likewise.
17987         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17989         Likewise.
17990         (PTRACE_SETSIGMASK): Likewise.
17991         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17992         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17993         Likewise.
17994         (PTRACE_SETSIGMASK): Likewise.
17995         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17996         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17997         Likewise.
17998         (PTRACE_SETSIGMASK): Likewise.
17999         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18001 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18002             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18004         [BZ #19439]
18005         * math/bits/mathcalls.h
18006         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18007         prototype.
18008         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18010 2016-01-11  Andreas Schwab  <schwab@suse.de>
18012         [BZ #19253]
18013         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18014         cache when TZDEFRULES was used.
18015         * time/tst-tzname.c: New file.
18016         * time/Makefile (test): Add tst-tzname.
18017         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18018         * timezone/Makefile (test-zones): Add $(posixrules-file).
18019         ($(testdata)/$(posixrules-file)): New rule.
18021 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18023         Fix doc quoting problems with Texinfo 5
18024         Without this change, in the info file output, Texinfo 5 quotes code
18025         in text with undirected single quotes 'like this' and generates
18026         code examples that with many PDF readers cannot be cut out of PDFs
18027         and pasted into code.
18028         * manual/libc.texinfo: Configure the libc manual like the GNU
18029         Emacs manual, by using @documentencoding and setting
18030         txicodequoteundirected and txicodequotebacktick.  This way,
18031         Texinfo 5 quotes code in text with directed single quotes ‘like
18032         this’ and produces examples that can be cut out of PDFs.  This
18033         change causes Texinfo 5 to generate info files that contain UTF-8
18034         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18035         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18037 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18039         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18040         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18041         barriers to their respective compiler built-ins.
18042         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18043         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18044         * sysdeps/powerpc/sysdep.h: Likewise.
18045         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18046         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18047         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18049 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18051         * scripts/config.guess: Revert previous shebang change.
18052         * scripts/config.sub: Likewise.
18053         * scripts/mkinstalldirs: Likewise.
18055 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18057         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18058         PPC_FEATURE2_HAS_IEEE128.
18059         * sysdeps/powerpc/dl-procinfo.c:
18060         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18062 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18064         [BZ #19415]
18065         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18066         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18067         (_dl_lookup_address): Rewrite using function resolver trampoline.
18068         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18069         two bits in address.
18071 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18073         * longlong.h: Change !__SHMEDIA__ to
18074         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18075         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18077 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18078             Joseph Myers  <joseph@codesourcery.com>
18079             Mark Shinwell  <shinwell@codesourcery.com>
18080             Andrew Stubbs  <ams@codesourcery.com>
18081             Rich Felker <dalias@libc.org>
18083         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18085 2016-01-07  Richard Henderson  <rth@redhat.com>
18087         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18089 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18091         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18092         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18093         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18094         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18095         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18097 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18098             Joseph Myers  <joseph@codesourcery.com>
18100         * timezone/private.h: Update from tzcode 2015g.
18101         * timezone/tzfile.h: Likewise.
18102         * timezone/tzselect.ksh: Likewise.
18103         * timezone/zdump.c: Likewise.
18104         * timezone/zic.c: Likewise.
18105         * timezone/ialloc.c: Remove file.
18106         * timezone/scheck.c: Likewise.
18107         * timezone/Makefile (extra-objs): Remove variable.
18108         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18109         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18110         -Wno-maybe-uninitialized.
18111         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18112         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18113         (CFLAGS-ialloc.c): Remove variable.
18114         (CFLAGS-scheck.c): Likewise.
18115         * timezone/README: Update list of files from tzcode.
18117 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18119         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18120         instead of __fxprintf when _LIBC is undefined.
18122 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18124         * catgets/test-gencat.sh: Remove space after shebang.
18125         * conform/GlibcConform.pm: Likewise.
18126         * conform/check-header-lists.sh: Likewise.
18127         * conform/conformtest.pl: Likewise.
18128         * conform/linknamespace.pl: Likewise.
18129         * conform/list-header-symbols.pl: Likewise.
18130         * debug/catchsegv.sh: Likewise.
18131         * elf/genrtldtbl.awk: Likewise.
18132         * elf/tst-pathopt.sh: Likewise.
18133         * elf/tst-rtld-load-self.sh: Likewise.
18134         * grp/tst_fgetgrent.sh: Likewise.
18135         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18136         * iconvdata/gen-8bit-gap.sh: Likewise.
18137         * iconvdata/gen-8bit.sh: Likewise.
18138         * iconvdata/run-iconv-test.sh: Likewise.
18139         * intl/tst-gettext.sh: Likewise.
18140         * intl/tst-gettext2.sh: Likewise.
18141         * intl/tst-gettext4.sh: Likewise.
18142         * intl/tst-gettext6.sh: Likewise.
18143         * intl/tst-translit.sh: Likewise.
18144         * io/ftwtest-sh: Likewise.
18145         * libio/test-freopen.sh: Likewise.
18146         * locale/gen-translit.pl: Likewise.
18147         * malloc/tst-mtrace.sh: Likewise.
18148         * manual/check-safety.sh: Likewise.
18149         * manual/libc-texinfo.sh: Likewise.
18150         * manual/tsort.awk: Likewise.
18151         * manual/xtract-typefun.awk: Likewise.
18152         * nptl/tst-cancel-wrappers.sh: Likewise.
18153         * nptl/tst-tls6.sh: Likewise.
18154         * posix/globtest.sh: Likewise.
18155         * posix/tst-getconf.sh: Likewise.
18156         * posix/wordexp-tst.sh: Likewise.
18157         * scripts/check-c++-types.sh: Likewise.
18158         * scripts/check-local-headers.sh: Likewise.
18159         * scripts/config.guess: Likewise.
18160         * scripts/config.sub: Likewise.
18161         * scripts/cpp: Likewise.
18162         * scripts/cross-test-ssh.sh: Likewise.
18163         * scripts/documented.sh: Likewise.
18164         * scripts/evaluate-test.sh: Likewise.
18165         * scripts/gen-libc-abis: Likewise.
18166         * scripts/gen-sorted.awk: Likewise.
18167         * scripts/list-fixed-bugs.py: Likewise.
18168         * scripts/merge-test-results.sh: Likewise.
18169         * scripts/mkinstalldirs: Likewise.
18170         * scripts/rellns-sh: Likewise.
18171         * scripts/test-installation.pl: Likewise.
18172         * scripts/update-copyrights: Likewise.
18173         * stdio-common/tst-printf.sh: Likewise.
18174         * stdio-common/tst-unbputc.sh: Likewise.
18175         * stdlib/tst-fmtmsg.sh: Likewise.
18176         * stdlib/tst-setcontext3.sh: Likewise.
18177         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18178         * sysdeps/unix/make-syscalls.sh: Likewise.
18180 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18182         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18183         asm stw with atomic_exchange_rel.  Add explanatory comment.
18184         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18185         Likewise.
18187 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18189         [BZ #19122]
18190         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18191         * sysdeps/generic/dl-unistd.h: New file.
18192         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18194 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18196          [BZ #19122]
18197          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18198          * sysdeps/generic/dl-mman.h: New file.
18199          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18201 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18203         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18204         trailing whitespace removed.
18205         * scripts/config.guess: Update to version 2016-01-01.
18206         * scripts/config.sub: Update to version 2016-01-01.
18207         * scripts/move-if-change: Update from gnulib.
18209 2016-01-04  Anton Blanchard  <anton@samba.org>
18211         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18212         for array indices.
18213         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18215 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18217         * NEWS: Update copyright dates.
18218         * catgets/gencat.c (print_version): Likewise.
18219         * csu/version.c (banner): Likewise.
18220         * debug/catchsegv.sh: Likewise.
18221         * debug/pcprofiledump.c (print_version): Likewise.
18222         * debug/xtrace.sh (do_version): Likewise.
18223         * elf/ldconfig.c (print_version): Likewise.
18224         * elf/ldd.bash.in: Likewise.
18225         * elf/pldd.c (print_version): Likewise.
18226         * elf/sotruss.sh: Likewise.
18227         * elf/sprof.c (print_version): Likewise.
18228         * iconv/iconv_prog.c (print_version): Likewise.
18229         * iconv/iconvconfig.c (print_version): Likewise.
18230         * locale/programs/locale.c (print_version): Likewise.
18231         * locale/programs/localedef.c (print_version): Likewise.
18232         * login/programs/pt_chown.c (print_version): Likewise.
18233         * malloc/memusage.sh (do_version): Likewise.
18234         * malloc/memusagestat.c (print_version): Likewise.
18235         * malloc/mtrace.pl: Likewise.
18236         * manual/libc.texinfo: Likewise.
18237         * nptl/version.c (banner): Likewise.
18238         * nscd/nscd.c (print_version): Likewise.
18239         * nss/getent.c (print_version): Likewise.
18240         * nss/makedb.c (print_version): Likewise.
18241         * posix/getconf.c (main): Likewise.
18242         * scripts/test-installation.pl: Likewise.
18243         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18245         * All files with FSF copyright notices: Update copyright dates
18246         using scripts/update-copyrights.
18247         * intl/plural.c: Regenerated.
18248         * locale/programs/charmap-kw.h: Likewise.
18249         * locale/programs/locfile-kw.h: Likewise.
18251 2016-01-02  Helge Deller  <deller@gmx.de>
18253         [BZ #19285]
18254         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18255         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18256         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18257         (MADV_xxK_PAGES): Remove.
18259 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18261         [BZ #15421]
18262         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18263         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18264         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18265         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18267 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18269         [BZ #19408]
18270         * sysdeps/unix/sysv/linux/personality.c: New file.
18271         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18272         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18273         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18274         (sysdep_routines): Add personality.
18275         (tests): Add tst-personality.
18276         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18278         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18279         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18280         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18281         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18282         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18283         Likewise.
18284         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18285         Likewise.
18286         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18287         Likewise.
18288         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18289         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18290         Likewise.
18292 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18294         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18295         (PATH_ARM_SYSTYPE): Remove.
18296         (PATH_CPUINFO): Likewise.
18297         (IO_BASE_FOOTBRIDGE): Likewise.
18298         (IO_SHIFT_FOOTBRIDGE): Likewise.
18299         (struct platform): Likewise.
18300         (init_iosys): Remove compatibility code for 2.4 kernels.
18301         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18303 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18305         * malloc/tst-malloc-thread-fail.c: New file.
18306         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18307         (tst-malloc-thread-fail): Link against libpthread.
18309 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18311         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18312         (get_parser): New function.
18313         (main): New function.
18315 2015-12-29  Rob Wu  <rob@robwu.nl>
18317         [BZ #19369]
18318         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18320 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18322         [BZ #19270]
18323         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18325 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18327         [BZ #15421]
18328         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18330 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18332         [BZ #13690]
18333         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18334         after releasing it.
18335         (__lll_robust_unlock): Likewise.
18336         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18337         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18338         (lll_robust_unlock): Likewise.
18339         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18340         Prevent warnings in callers.
18342 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18344         * malloc/arena.c (list_lock): Update comment.
18346 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18348         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18349         __parse_hwcap_and_convert_at_platform to libc.a.
18351 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18353         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18354         platform and feature support for POWER9.
18355         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18356         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18357         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18358         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18359         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18360         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18361         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18362         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18364 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18366         Harmonize generic stdio-lock support with nptl
18368         This fixes build when _IO_funlockfile is a macro, fixes build where
18369         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18370         stack unwind.
18372         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18373         _IO_release_lock ): Use cleanup attribute on new
18374         _IO_acquire_lock_file variable instead of assuming that
18375         _IO_release_lock will be called.
18376         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18377         _IO_acquire_lock_needs_exceptions_enabled.
18378         (_IO_acquire_lock_clear_flags2): New macro.
18380 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18382         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18384 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18386         [BZ #19182]
18387         * malloc/arena.c (list_lock): Document lock ordering requirements.
18388         (free_list_lock): New lock.
18389         (ptmalloc_lock_all): Comment on free_list_lock.
18390         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18391         (detach_arena): Update comment.  free_list_lock is now needed.
18392         (_int_new_arena): Use free_list_lock around detach_arena call.
18393         Acquire arena lock after list_lock.  Add comment, including FIXME
18394         about incorrect synchronization.
18395         (get_free_list): Switch to free_list_lock.
18396         (reused_arena): Acquire free_list_lock around detach_arena call
18397         and attached threads counter update.  Add two FIXMEs about
18398         incorrect synchronization.
18399         (arena_thread_freeres): Switch to free_list_lock.
18400         * malloc/malloc.c (struct malloc_state): Update comments to
18401         mention free_list_lock.
18403 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18405         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18406         Remove functions.
18407         (sloww, sloww1): Accept argument to offset quadrant.
18408         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18409         quadrant.
18410         (__sin, __cos): Consolidate common code into new functions.
18411         (reduce_sincos_1, do_sincos_1): New functions.
18412         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18414         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18415         code to new functions.
18416         (reduce_sincos_2, do_sincos_2): New functions.
18417         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18419         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18420         common code for sincos.
18421         (__cos) [!IN_SINCOS]: Likewise.
18422         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18423         New function.
18424         (__sincos): Use it.
18426 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18428         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18429         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18430         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18432 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18434         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18437         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18438         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18439         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18440         index_Prefer_No_VZEROUPPER): New feature.
18441         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18442         Prefer_No_VZEROUPPER for Knights Landing.
18444 015-12-18  Torvald Riegel  <triegel@redhat.com>
18446         * math/atest-exp2.c (mp_exp_m1): Remove.
18448 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18450         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18451         syscalls.
18452         (__SYSCALL0): New macro.
18453         (__SYSCALL1): Likewise.
18454         (__SYSCALL2): Likewise.
18455         (__SYSCALL3): Likewise.
18456         (__SYSCALL4): Likewise.
18457         (__SYSCALL5): Likewise.
18458         (__SYSCALL6): Likewise.
18459         (__SYSCALL_CONCAT_X): Likewise.
18460         (__SYSCALL_CONCAT): Likewise.
18461         (__SYSCALL_DIST): Likewise.
18462         (__SYSCALL_CALL): Likewise.
18464 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18466         [BZ #19363]
18467         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18469 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18471         [BZ #19375]
18472         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18473         negative subnormals.
18475 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18478         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18479         (INTERNAL_SYSCALL_NCS): Use it.
18480         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18482 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18484         [BZ #19243]
18485         * malloc/arena.c (get_free_list): Remove assert and adjust
18486         reference count handling.  Add comment about reused_arena
18487         interaction.
18488         (reused_arena): Add comments abount get_free_list interaction.
18489         * malloc/tst-malloc-thread-exit.c: New file.
18490         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18491         (tst-malloc-thread-exit): Link against libpthread.
18493 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18495         [BZ #19367]
18496         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18497         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18498         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18499         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18500         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18502 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18504         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18505         Silvermont optimizations for Knights Landing.
18507 2015-12-15  Andreas Schwab  <schwab@suse.de>
18509         [BZ #17197]
18510         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18511         immediately after emitting SI.
18512         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18513         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18514         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18515         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18516         * iconvdata/bug-iconv10.c: New file.
18517         * iconvdata/Makefile (tests): Add bug-iconv10.
18518         ($(objpfx)bug-iconv10.out): New rule.
18520 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18522         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18523         aliasing violation.
18525 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18527         [BZ #18472]
18528         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18529         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18530         conditionals for them.
18531         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18532         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18534         sys/kdaemon.h.
18535         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18536         compat-only syscall, obsoleted in glibc 2.23.
18537         (create_module): Likewise.
18538         (get_kernel_syms): Likewise.
18539         (query_module): Likewise.
18540         (uselib): Likewise.
18541         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18543 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18545         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18546         <linux/version.h>.
18547         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18548         conditional code.
18549         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18550         and ioshift_name initialization.
18552 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18554         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18555         Fix indentation.
18557 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18559         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18561 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18563         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18565 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18566             Jakub Wilk  <jwilk@debian.org>
18568         [BZ #19347]
18569         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18570         to change the group of the device to the tty group.
18572 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18574         Split large string section; add truncation advice
18575         * manual/examples/strncat.c: Remove.
18576         This example was misleading, as the code would have undefined
18577         behavior if "hello" was longer than SIZE.  Anyway, the manual
18578         shouldn't encourage strncpy+strncat for this sort of thing.
18579         * manual/string.texi (Copying Strings and Arrays): Split into
18580         three sections Copying Strings and Arrays, Concatenating Strings,
18581         and Truncating Strings, as this section was way too long.  All
18582         cross-referenced changed.  Add advice about string-truncation
18583         functions.  Remove misleading strncat example.
18585 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18587         * manual/nss.texi (NSS Modules Interface): Document
18588         NSS_STATUS_NOTFOUND and SUCCESS.
18590 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18592         [BZ 18568]
18593         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18594         201505L, for Unicode 8.
18596 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18598         * locale/C-translit.h: Regenerate.
18600 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18602         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18603         and U+0153.
18605 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18607         [BZ #19351]
18608         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18609         expanding log(1+z), compare z rather than its square with epsilon
18610         to determine when to avoid evaluating the expansion.
18612         [BZ #19350]
18613         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18614         Increase overflow threshold.
18616         [BZ #19349]
18617         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18618         when small.
18620         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18621         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18622         New macro.
18623         [__LINUX_KERNEL_VERSION >= 0x040300]
18624         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18626         Likewise.
18627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18628         Likewise.
18629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18630         Likewise.
18631         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18632         Likewise.
18633         [__LINUX_KERNEL_VERSION >= 0x040300]
18634         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18635         [__LINUX_KERNEL_VERSION >= 0x040300]
18636         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18637         [__LINUX_KERNEL_VERSION >= 0x040300]
18638         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18639         [__LINUX_KERNEL_VERSION >= 0x040300]
18640         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18641         [__LINUX_KERNEL_VERSION >= 0x040300]
18642         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18643         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18644         Likewise.
18645         [__LINUX_KERNEL_VERSION >= 0x040300]
18646         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18648         Likewise.
18649         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18650         Likewise.
18651         [__LINUX_KERNEL_VERSION >= 0x040300]
18652         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18654         Likewise.
18655         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18656         Likewise.
18657         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18658         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18659         Likewise.
18660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18661         Likewise.
18662         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18663         Likewise.
18664         [__LINUX_KERNEL_VERSION >= 0x040300]
18665         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18667         Likewise.
18668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18669         Likewise.
18670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18671         Likewise.
18672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18673         Likewise.
18674         [__LINUX_KERNEL_VERSION >= 0x040300]
18675         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18676         [__LINUX_KERNEL_VERSION >= 0x040300]
18677         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18678         [__LINUX_KERNEL_VERSION >= 0x040300]
18679         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18680         [__LINUX_KERNEL_VERSION >= 0x040300]
18681         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18682         [__LINUX_KERNEL_VERSION >= 0x040300]
18683         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18685         Likewise.
18686         [__LINUX_KERNEL_VERSION >= 0x040300]
18687         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18689         Likewise.
18690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18691         Likewise.
18692         [__LINUX_KERNEL_VERSION >= 0x040300]
18693         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18695         Likewise.
18696         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18697         Likewise.
18698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18699         (__ASSUME_SOCKET_SYSCALL): Likewise.
18700         (__ASSUME_BIND_SYSCALL): Likewise.
18701         (__ASSUME_CONNECT_SYSCALL): Likewise.
18702         (__ASSUME_LISTEN_SYSCALL): Likewise.
18703         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18704         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18705         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18706         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18707         (__ASSUME_SEND_SYSCALL): Likewise.
18708         (__ASSUME_SENDTO_SYSCALL): Likewise.
18709         (__ASSUME_RECV_SYSCALL): Likewise.
18710         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18711         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18712         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18713         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18714         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18715         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18716         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18717         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18718         Likewise.
18719         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18720         Likewise.
18721         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18722         Likewise.
18723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18724         Likewise.
18725         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18726         Likewise.
18727         [__LINUX_KERNEL_VERSION >= 0x020625]
18728         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18729         [__LINUX_KERNEL_VERSION >= 0x020625]
18730         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18731         [__LINUX_KERNEL_VERSION >= 0x020625]
18732         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18733         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18734         Likewise.
18735         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18736         Likewise.
18737         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18738         Likewise.
18739         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18740         Likewise.
18741         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18742         Likewise.
18743         [__LINUX_KERNEL_VERSION >= 0x020625]
18744         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18745         [__LINUX_KERNEL_VERSION >= 0x020625]
18746         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18747         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18748         Likewise.
18749         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18750         Likewise.
18752 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18754         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18755         record the current if the current ABI and CPU support the FP64
18756         extension.
18757         (has-modd-spreg): Define to record the current if the current ABI and
18758         CPU support 32-bit floating point values in odd FPU registers.
18759         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18760         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18761         $(has-modd-spreg) equals yes.
18762         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18763         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18764         $(has-modd-spreg) equal yes.
18766 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18768         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18769         basename.
18771 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18773         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18774         (bench-string): ... here.
18775         (bench): Add bench-string.
18776         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18777         to *-benchset to reflect what they are.
18778         (benchset): Adjust.
18780         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18781         cos-inputs.
18783 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18785         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18786         __attribute__ ((__simd__)) for vector math function declarations.
18788 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18790         Fix typo in strncat, wcsncat manual entries
18791         * manual/string.texi (Copying and Concatenation): Fix typos in
18792         sample implementations of strncat and wcsncat, by having them use
18793         the old value of the destination length, not the new one.
18795 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18797         [BZ #16961]
18798         [BZ #16962]
18799         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18800         string on the stack for strtod.
18801         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18802         a string on the stack for strtof.
18803         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18804         constructing a string on the stack for strtold.
18805         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18806         __strtold_nan to GLIBC_PRIVATE.
18807         * math/test-nan-overflow.c: New file.
18808         * math/test-nan-payload.c: Likewise.
18809         * math/Makefile (tests): Add test-nan-overflow and
18810         test-nan-payload.
18812 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18814         Consistency about byte vs character in string.texi
18815         * manual/string.texi (String and Array Utilities):
18816         Distinguish more carefully among bytes, multibyte characters,
18817         and wide characters.  Use "byte" when talking about C 'char',
18818         to distinguish it more clearly from multibyte characters.
18819         Say "wide character" or "multibyte character" instead of
18820         "character", when a wide or multibyte character is intended.
18821         Similarly for "multibyte string" versus "string".
18822         Define these terms more carefully.
18824 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18826         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18827         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18828         Likewise.
18829         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18830         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18831         * sysdeps/sh/math_private.h: New file.
18832         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18833         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18834         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18835         long double function name.
18836         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18837         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18842         Remove __finitel, __isinfl, and __isnanl.
18843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18844         Likewise.
18845         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18847         Remove __finitel.
18848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18852 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18854         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18855         installed libmvec_nonshared.a.
18857 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18859         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18860         (sysdep_routines): Likewise.
18861         (sysdep-rtld-routines): Likewise.
18862         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18863         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18864         * sysdeps/powerpc/Versions: Added new
18865         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18866         * sysdeps/powerpc/hwcapinfo.c: New file.
18867         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18868         and parse hwcap, hwcap2 and platform number information.
18869         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18870         to store HWCAP+HWCAP2 and platform number.
18871         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18872         for HWCAP+HWCAP2 and platform number in the TCB.
18873         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18874         the HWCAP, HWCAP2 and platform number in the TCB.
18875         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18876         (TLS_INIT_TP): Included calls to add the hwcap and
18877         at_platform values in the TCB in TP initialization.
18878         (TLS_DEFINE_INIT_TP): Likewise.
18879         (THREAD_GET_HWCAP): New macro.
18880         (THREAD_SET_HWCAP): Likewise.
18881         (THREAD_GET_AT_PLATFORM): Likewise.
18882         (THREAD_SET_AT_PLATFORM): Likewise.
18883         * sysdeps/powerpc/powerpc32/dl-machine.h:
18884         (dl_platform_init): New function that calls
18885         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18886         powerpc32.
18887         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18888         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18889         this functionality, static linking case.
18890         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18891         linking case.
18892         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18893         __parse_hwcap_and_convert_at_platform for the static linking case.
18894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18895         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18896         ABI list for GLIBC 2.23.
18897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18898         Likewise.
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18900         Likewise.
18902 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18904         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18905         * configure: Regenerate.
18906         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18907         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18909 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18911         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18912         * iconvdata/ibm933.c: Likewise.
18913         * iconvdata/ibm935.c: Likewise.
18914         * iconvdata/ibm937.c: Likewise.
18915         * iconvdata/ibm939.c: Likewise.
18917 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18919         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18920         pthread_join.
18921         * nptl/tst-cancel21.c (tf): Likewise.
18923 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18925         [BZ #19313]
18926         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18927         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18928         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18929         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18930         Likewise.
18931         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18932         Likewise.
18933         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18934         Likewise.
18935         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18936         Likewise.
18937         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18938         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18939         unsigned long int with __CPU_MASK_TYPE.
18941 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18943         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18945 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18947         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18948         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18949         t512.x.
18950         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18952 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18954         [BZ #19214]
18955         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18956         argument to return extended model.  Update family and model
18957         with extended family and model when family == 0x0f.
18958         (init_cpu_features): Updated.
18960 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18962         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18963         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18965         * sysdeps/mach/hurd/mmap64.c: New file.
18967 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18969         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18970         rights for its main user thread in NEWTASK.
18972 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18974         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18975         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18977 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18979         [BZ #14259]
18980         * Makeconfig: Rename localedir to complocaledir.
18981         Rename inst_localedir to inst_complocaledir.
18982         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18983         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18984         * configure.ac: Use libc_cv_complocaledir.
18985         * configure: Regenerate.
18986         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18987         -DCOMPLOCALEDIR.
18988         * locale/findlocale.c: Use COMPLOCALEDIR.
18989         * locale/loadarchive.c: Likewise.
18990         * locale/programs/locale.c: Likewise.
18991         * locale/programs/localedef.c: Likewise.
18992         * locale/programs/locarchive.c: Likewise.
18993         * localedata/Makefile: Use inst_complocaledir.
18994         * sysdeps/gnu/configure: Regenerate.
18995         * sysdeps/hppa/configure: Regenerate.
18996         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18997         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18999         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19000         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19001         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19002         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19004 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19006         [BZ #19058]
19007         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19008         AS_NEEDED.
19009         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19010         workaround.
19011         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19012         libmvec-static-only-routines): Added new file.
19013         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19015 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19017         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19018         of interrupted RPC instead of restoring it.
19020         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19021         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19022         libc_hidden_def.
19023         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19024         into initialized data instead of common. Define rtld_hidden_data_def.
19025         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19026         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19027         libc_hidden_def.
19028         (if_freenameindex): Add libc_hidden_weak.
19029         (if_nameindex): Add libc_hidden_weak.
19030         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19031         __open64.
19032         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19033         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19034         * sysdeps/mach/nanosleep.c: Include <time.h>
19035         (__nanosleep): Rename to __libc_nanosleep.
19036         (__nanosleep): Add weak_alias.
19037         (nanosleep): Update alias.
19039 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19041         * stdlib/strtod_nan.c: New file.
19042         * stdlib/strtod_nan_double.h: Likewise.
19043         * stdlib/strtod_nan_float.h: Likewise.
19044         * stdlib/strtod_nan_main.c: Likewise.
19045         * stdlib/strtod_nan_narrow.h: Likewise.
19046         * stdlib/strtod_nan_wide.h: Likewise.
19047         * stdlib/strtof_nan.c: Likewise.
19048         * stdlib/strtold_nan.c: Likewise.
19049         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19050         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19051         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19052         * wcsmbs/wcstod_nan.c: Likewise.
19053         * wcsmbs/wcstof_nan.c: Likewise.
19054         * wcsmbs/wcstold_nan.c: Likewise.
19055         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19056         strtold_nan.
19057         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19058         wcstof_nan.
19059         * include/stdlib.h (__strtof_nan): Declare and use
19060         libc_hidden_proto.
19061         (__strtod_nan): Likewise.
19062         (__strtold_nan): Likewise.
19063         (__wcstof_nan): Likewise.
19064         (__wcstod_nan): Likewise.
19065         (__wcstold_nan): Likewise.
19066         * include/wchar.h (____wcstoull_l_internal): Declare.
19067         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19068         (____strtoull_l_internal): Remove declaration.
19069         (STRTOF_NAN): Define macro.
19070         (SET_MANTISSA): Remove macro.
19071         (STRTOULL): Likewise.
19072         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19073         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19074         (STRTOF_NAN): Define macro.
19075         (SET_MANTISSA): Remove macro.
19076         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19077         (SET_MANTISSA): Remove macro.
19078         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19079         macro.
19080         (SET_MANTISSA): Remove macro.
19081         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19082         macro.
19083         (SET_MANTISSA): Remove macro.
19084         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19085         (SET_MANTISSA): Remove macro.
19086         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19087         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19088         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19090         [BZ #19266]
19091         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19092         upper case and lower case letters inside NAN(), not using TOLOWER.
19093         * stdlib/tst-strtod-nan-locale-main.c: New file.
19094         * stdlib/tst-strtod-nan-locale.c: Likewise.
19095         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19096         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19097         Depend on $(gen-locales).
19098         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19099         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19100         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19101         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19102         Depend on $(gen-locales).
19103         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19105 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19107         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19109         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19111         __finitel, __isinfl, and __isnanl.
19112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19113         Likewise.
19114         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19116         __finitel.
19117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19118         Likewise.
19119         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19121 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19123         * malloc/memusage.c (me): Remove redundant getenv call.
19125 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19127         [BZ #19143]
19128         [BZ #19164]
19129         * nptl/check-cpuset.h: Remove.
19130         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19131         Remove CPU set size check.
19132         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19133         Likewise.
19134         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19135         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19136         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19137         (__pthread_setaffinity_new): Remove CPU set size check.
19138         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19139         (__kernel_cpumask_size): Remove.
19140         (__sched_setaffinity_new): Remove CPU set size check.
19141         * manual/threads.texi (Default Thread Attributes): Remove stale
19142         reference to check_cpuset_attr, determine_cpumask_size in comment.
19143         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19144         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19145         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19146         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19147         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19148         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19149         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19150         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19151         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19152         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19153         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19154         skeleton test file.
19155         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19156         tst-affinity-pid.
19158 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19160         * scripts/update-abilist.sh: New file.
19161         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19162         * Makerules (update-all-abi-%, update-all-abi)
19163         (subdir_update-all-abi): New targets.
19164         * elf/Makefile (update-all-abi): New target.
19166 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19168         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19169         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19170         (__libc_lock_define_initialized): Use it.
19171         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19172         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19173         * malloc/malloc.c (main_arena): Likewise.
19174         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19175         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19177 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19179         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19180         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19181         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19182         (PTRACE_O_MASK): Update value.
19183         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19184         New value in enum __ptrace_setoptions.
19185         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19186         (PTRACE_O_MASK): Update value.
19187         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19188         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19189         (PTRACE_O_MASK): Update value.
19190         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19191         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19192         (PTRACE_O_MASK): Update value.
19193         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19194         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19195         (PTRACE_O_MASK): Update value.
19196         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19197         New value in enum __ptrace_setoptions.
19198         (PTRACE_O_MASK): Update value.
19199         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19200         New value in enum __ptrace_setoptions.
19201         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19202         (PTRACE_O_MASK): Update value.
19204         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19205         New macro.
19206         (PACKET_AUXDATA): Likewise.
19207         (PACKET_ORIGDEV): Likewise.
19208         (PACKET_VERSION): Likewise.
19209         (PACKET_HDRLEN): Likewise.
19210         (PACKET_RESERVE): Likewise.
19211         (PACKET_TX_RING): Likewise.
19212         (PACKET_LOSS): Likewise.
19213         (PACKET_VNET_HDR): Likewise.
19214         (PACKET_TX_TIMESTAMP): Likewise.
19215         (PACKET_TIMESTAMP): Likewise.
19216         (PACKET_FANOUT): Likewise.
19217         (PACKET_TX_HAS_OFF): Likewise.
19218         (PACKET_QDISC_BYPASS): Likewise.
19219         (PACKET_ROLLOVER_STATS): Likewise.
19220         (PACKET_FANOUT_DATA): Likewise.
19221         (PACKET_MR_UNICAST): Likewise.
19223         [BZ #19242]
19224         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19225         (TOUPPER): Likewise.
19226         * stdlib/tst-strtol-locale-main.c: New file.
19227         * stdlib/tst-strtol-locale.c: Likewise.
19228         * stdlib/Makefile (tests): Add tst-strtol-locale.
19229         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19230         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19231         Depend on $(gen-locales).
19232         * wcsmbs/tst-wcstol-locale.c: New file.
19233         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19234         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19235         tr_TR.ISO-8859-9.
19236         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19237         Depend on $(gen-locales).
19239 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19241         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19242         __glibc_likely instead of __builtin_expect.  After falling back to
19243         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19244         system interface to register the code pages as occupied.
19246 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19248         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19249         [!ARM_MATH_PRIVATE_H].
19250         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19251         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19252         [!HPPA_MATH_PRIVATE_H].
19253         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19254         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19255         to [!I386_MATH_PRIVATE_H].
19256         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19257         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19258         Change guard to [!M68K_MATH_PRIVATE_H].
19259         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19260         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19261         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19262         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19263         macro.
19264         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19265         [!MIPS_MATH_PRIVATE_H].
19266         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19267         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19268         [!NIO2_MATH_PRIVATE_H].
19269         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19270         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19271         [!TILE_MATH_PRIVATE_H].
19272         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19274         [BZ #15421]
19275         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19276         initialize with 0 and define as weak alias of __signgam.
19277         * include/math.h [!_ISOMAC] (__signgam): Declare.
19278         * math/Makefile (libm-calls): Add w_lgamma_compat.
19279         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19280         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19281         test-signgam-ullong-init.
19282         (tests-static): Add test-signgam-uchar-static,
19283         test-signgam-uchar-init-static, test-signgam-uint-static,
19284         test-signgam-uint-init-static, test-signgam-ullong-static and
19285         test-signgam-ullong-init-static.
19286         (CFLAGS-test-signgam-uchar.c): New variable.
19287         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19288         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19289         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19290         (CFLAGS-test-signgam-uint.c): Likewise.
19291         (CFLAGS-test-signgam-uint-init.c): Likewise.
19292         (CFLAGS-test-signgam-uint-static.c): Likewise.
19293         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19294         (CFLAGS-test-signgam-ullong.c): Likewise.
19295         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19296         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19297         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19298         * math/Versions (libm): Add GLIBC_2.23.
19299         * math/lgamma-compat.h: New file.
19300         * math/test-signgam-main.c: Likewise.
19301         * math/test-signgam-uchar-init-static.c: Likewise.
19302         * math/test-signgam-uchar-init.c: Likewise.
19303         * math/test-signgam-uchar-static.c: Likewise.
19304         * math/test-signgam-uchar.c: Likewise.
19305         * math/test-signgam-uint-init-static.c: Likewise.
19306         * math/test-signgam-uint-init.c: Likewise.
19307         * math/test-signgam-uint-static.c: Likewise.
19308         * math/test-signgam-uint.c: Likewise.
19309         * math/test-signgam-ullong-init-static.c: Likewise.
19310         * math/test-signgam-ullong-init.c: Likewise.
19311         * math/test-signgam-ullong-static.c: Likewise.
19312         * math/test-signgam-ullong.c: Likewise.
19313         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19314         wrapper of w_lgamma_main.c.
19315         * math/w_lgamma_compat.c: New file.
19316         * math/w_lgamma_compatf.c: Likewise.
19317         * math/w_lgamma_compatl.c: Likewise.
19318         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19319         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19320         defining compatibility symbols.
19321         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19322         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19323         wrapper of w_lgammaf_main.c.
19324         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19325         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19326         defining compatibility symbols.
19327         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19328         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19329         wrapper of w_lgammal_main.c.
19330         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19331         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19332         defining compatibility symbols.
19333         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19334         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19335         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19336         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19337         <lgamma-compat.h>.
19338         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19339         (__ieee754_gamma): Define as alias.
19340         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19341         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19342         <lgamma-compat.h>.
19343         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19344         (__ieee754_gammaf): Define as alias.
19345         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19346         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19347         <lgamma-compat.h>.
19348         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19349         (__ieee754_gammal): Define as alias.
19350         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19351         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19352         <math/w_lgamma_compat.c>.
19353         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19354         Define as alias of __lgamma_compat and use in defining lgammal.
19355         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19356         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19357         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19358         (USE_AS_COMPAT): New macro.
19359         (LGAMMA_OLD_VER): Undefine and redefine.
19360         (lgammal): Do not define here.
19361         (gammal): Only define here if [GAMMA_ALIAS].
19362         * conform/linknamespace.pl (@whitelist): Remove signgam.
19363         * sysdeps/nacl/libm.abilist: Update.
19364         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19365         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19366         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19367         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19368         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19369         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19370         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19371         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19372         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19373         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19374         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19375         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19377         Likewise.
19378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19379         Likewise.
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19381         Likewise.
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19383         Likewise.
19384         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19385         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19386         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19387         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19388         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19390         Likewise.
19391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19392         Likewise.
19393         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19394         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19395         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19397 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19399         [BZ #16364]
19400         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19401         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19403 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19405         * sysdeps/s390/fpu/bits/mathinline.h:
19406         Use __asm__ [__volatile__] instead of asm [volatile].
19407         * sysdeps/s390/abort-instr.h: Likewise.
19408         * sysdeps/s390/atomic-machine.h: Likewise.
19409         * sysdeps/s390/bits/string.h: Likewise.
19410         * sysdeps/s390/dl-tls.h: Likewise.
19411         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19412         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19413         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19414         * sysdeps/s390/fpu/fesetround.c: Likewise.
19415         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19416         * sysdeps/s390/fpu/s_fma.c: Likewise.
19417         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19418         * sysdeps/s390/memusage.h: Likewise.
19419         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19420         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19421         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19422         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19423         * sysdeps/s390/nptl/tls.h: Likewise.
19424         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19425         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19426         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19427         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19428         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19429         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19430         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19431         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19432         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19433         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19434         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19435         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19436         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19437         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19438         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19439         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19440         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19441         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19442         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19444         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19446         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19448 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19449             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19451         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19452         Add lwarx hint, and use macro for acquire instruction.
19453         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19454         Likewise.
19455         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19456         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19457         update to use new atomic macros.
19459 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19461         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19462         (__lll_trylock_elision): Fix setting of adapt_count.
19463         * sysdeps/unix/sysv/linux/powerpc/htm.h
19464         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19465         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19466         (_ABORT_SYSCALL): Renumber, and clarify definition.
19467         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19469 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19471         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19472         after system headers to prevent MIN/MAX redefinition.  Define
19473         HAVE_ALLOCA to preserve builtin alloca usage.
19475 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19478         static and don't set or restore rounding.
19479         (__cos)[IN_SINCOS]: Likewise.
19480         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19481         (__sincos): Set and restore rounding mode.  Remove check for infinite
19482         or NaN input.
19484         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19486         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19487         as used.
19489 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19491         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19493 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19495         * config.make.in (have-glob-dat-reloc): New.
19496         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19497         target supports GLOB_DAT relocaton. AC_SUBST.
19498         * configure: Regenerated.
19499         * elf/Makefile (tests): Add tst-prelink.
19500         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19501         (tst-prelink-ENV): New.
19502         ($(objpfx)tst-prelink-conflict.out): Likewise.
19503         ($(objpfx)tst-prelink-cmp.out): Likewise.
19504         * sysdeps/x86/tst-prelink.c: Moved to ...
19505         * elf/tst-prelink.c: Here.
19506         * sysdeps/x86/tst-prelink.exp: Moved to ...
19507         * elf/tst-prelink.exp: Here.
19508         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19509         (tst-prelink-ENV): Removed.
19510         ($(objpfx)tst-prelink-conflict.out): Likewise.
19511         ($(objpfx)tst-prelink-cmp.out): Likewise.
19512         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19514 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19516         [BZ #14551]
19517         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19518         (__mpn_construct_long_double): If high part overflows to infinity,
19519         set errno and recompute overflowed result of the correct sign.
19520         * sysdeps/ieee754/ldbl-128ibm/Makefile
19521         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19522         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19523         $(libm).
19524         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19526 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19528         [BZ #15479]
19529         [BZ #19238]
19530         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19531         floating-point state after first operation on input.  Restore full
19532         state rather than just rounding mode.
19533         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19534         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19535         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19537         [BZ #19235]
19538         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19539         add 0.5 to integer arguments.
19540         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19541         Likewise.
19542         (.LC2): New object.
19544 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19546         * scripts/pylintrc (reports): Set to no.
19548 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19550         * elf/dl-load.c (open_verify): Take new argument FD.
19551         Skip __open call if passed FD is not -1.
19552         (_dl_map_object, open_path): Update callers.
19553         * elf/dl-sysdep-open.h: New file.
19554         * elf/dl-load.c: Include it.
19555         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19556         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19557         * sysdeps/nacl/dl-sysdep-open.h: New file.
19558         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19559         from libc to rtld.
19561 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19563         [BZ #19228]
19564         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19565         and restore full floating-point state.
19566         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19567         Likewise.
19568         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19569         Likewise.
19570         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19571         Likewise.
19572         * math/test-nearbyint-except-2.c: New file.
19573         * math/Makefile (tests): Add test-nearbyint-except-2.
19575 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19577         [BZ #19178]
19578         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19579         (tst-prelink-ENV): New.
19580         ($(objpfx)tst-prelink-conflict.out): Likewise.
19581         ($(objpfx)tst-prelink-cmp.out): Likewise.
19582         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19583         * sysdeps/x86/tst-prelink.c: New file.
19584         * sysdeps/x86/tst-prelink.exp: Likewise.
19586 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19588         * math/auto-libm-test-in: Add another test of pow.
19589         * math/auto-libm-test-out: Regenerated.
19590         * math/libm-test.inc (pow_test_data): Add another test.
19592 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19594         [BZ #19219]
19595         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19596         weak_alias to nearbyintl.
19598 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19600         * sysdeps/aarch64/bits/string.h: New file.
19601         (_STRING_ARCH_unaligned): Define.
19603 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19605         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19606         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19607         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19608         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19611 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19613         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19614         for original name of the DSO.  Add it to the name list of the DSO
19615         if it is actually given.
19616         (_dl_map_object): Keep track of whether an audit module rewrote
19617         the file name.  If yes, pass the original name to
19618         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19619         debugging is enabled, log the change of the file name.
19620         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19621         _dl_map_object_from_fd.
19622         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19623         * elf/tst-audit11.c: New file
19624         * elf/tst-auditmod11.c: New file.
19625         * elf/tst-audit11mod1.c: New file.
19626         * elf/tst-audit11mod2.c: New file.
19627         * elf/tst-audit11mod2.map: New file.
19628         * elf/tst-audit12.c: New file
19629         * elf/tst-auditmod12.c: New file.
19630         * elf/tst-audit12mod1.c: New file.
19631         * elf/tst-audit12mod2.c: New file.
19632         * elf/tst-audit12mod2.map: New file.
19633         * elf/tst-audit12mod3.c: New file.
19635 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19637         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19638         Don't create weak aliases,
19639         because versioned symbols are created later.
19640         * sysdeps/s390/s390-32/setjmp.S
19641         (setjmp, _setjmp): Remove weak and rename to an unique name
19642         in SHARED case due to existing versioned symbols.
19643         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19644         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19645         (getcontext): Create weak alias only in non SHARED case.
19646         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19648 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19650         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19651         (__ASSUME_*_SYSCALL) Define new macros.
19652         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19653         Remove socketcall syscalls.
19654         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19655         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19656         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19657         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19658         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19659         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19661 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19663         [BZ #12926]
19664         Terminate process on invalid netlink response.
19665         * sysdeps/unix/sysv/linux/netlinkaccess.h
19666         (__netlink_assert_response): Declare.
19667         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19668         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19669         (sysdep_routines): Add netlink_assert_response.
19670         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19671         __netlink_assert_response.
19672         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19673         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19674         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19675         __netlink_assert_response.
19677 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19679         [BZ #19178]
19680         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19681         (RTYPE_CLASS_PLT): Likewise.
19682         (RTYPE_CLASS_COPY): Likewise.
19683         (RTYPE_CLASS_TLS): Likewise.
19684         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19685         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19686         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19687         DL_DEBUG_PRELINK.
19689 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19691         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19692         calls with argument -0.5.
19693         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19695         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19696         (libc_cv_z_nodlopen): Likewise.
19697         (libc_cv_z_initfirst): Likewise.
19698         * configure: Regenerated.
19700 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19702         Simplify abilist format to be line-based.
19703         * scripts/abilist.awk: Collect descriptors in the descs variable.
19704         (emit): Write descs variable and sort it
19705         externally, with sort.
19706         * sysdeps/**/*.abilist: Convert to new format.
19708 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19710         [BZ #11460]
19711         * io/Makefile (routines): Add fts64.
19712         (tests): Add tst-fts and tst-fts-lfs.
19713         (CFLAGS-fts64.c): New.
19714         * io/Versions (GLIBC_2.23): New.
19715         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19716         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19717         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19718         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19719         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19720         (FTSENT64): Likewise.
19721         (fts64_children): Likewise.
19722         (fts64_close): Likewise.
19723         (fts64_open): Likewise.
19724         (fts64_read): Likewise.
19725         (fts64_set): Likewise.
19726         * io/fts64.c: New file.
19727         * io/tst-fts.c: New test.
19728         * io/tst-fts-lfs.c: Likewise.
19729         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19730         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19731         fts64_set.
19732         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19733         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19734         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19735         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19736         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19737         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19738         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19739         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19740         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19741         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19742         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19743         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19744         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19746         Likewise.
19747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19748         Likewise.
19749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19751         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19752         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19753         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19754         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19755         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19758         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19759         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19760         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19761         * sysdeps/wordsize-64/fts.c: New file.
19762         * sysdeps/wordsize-64/fts64.c: Likewise.
19763         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19764         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19765         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19766         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19768 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19770         * math/libm-test.inc (NON_FINITE): New macro.
19771         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19772         * math/gen-libm-test.pl (show_exceptions): Add argument
19773         $non_finite.
19774         (parse_args): Update call to show_exceptions.
19775         * math/test-math-finite.h: New file.
19776         * math/test-math-no-finite.h: Likewise.
19777         * math/test-double-finite.c: Likewise.
19778         * math/test-float-finite.c: Likewise.
19779         * math/test-ldouble-finite.c: Likewise.
19780         * math/test-double.c: Include "test-math-no-finite.h".
19781         * math/test-float.c: Include "test-math-no-finite.h".
19782         * math/test-ldouble.c: Include "test-math-no-finite.h".
19783         * math/test-math-inline.h (TEST_FINITE): New macro.
19784         * math/test-math-vector.h (TEST_FINITE): Likewise.
19785         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19786         (libm-tests): Add test-float-finite and test-double-finite.
19787         ($(objpfx)test-float-finite.o): New dependency on
19788         $(objpfx)libm-test.stmp.
19789         ($(objpfx)test-double-finite.o): Likewise.
19790         ($(objpfx)test-ldouble-finite.o): Likewise.
19791         (libm-test-no-inline-cflags): New variable.
19792         (libm-test-finite-cflags): Likewise.
19793         (CFLAGS-test-float-finite.c): Likewise.
19794         (CFLAGS-test-double-finite.c): Likewise.
19795         (CFLAGS-test-ldouble-finite.c): Likewise.
19796         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19797         (CFLAGS-test-double.c): Likewise.
19798         (CFLAGS-test-ldouble.c): Likewise.
19800 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19802         * io/fcntl.c (__fcntl): Add ... to prototype.
19803         * misc/ioctl.c (__ioctl): Likewise.
19804         * misc/syscall.c (syscall): Likewise.
19806 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19808         * scripts/list-fixed-bugs.py: New file.
19810         [BZ #19213]
19811         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19812         returned for argument 1.
19813         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19814         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19815         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19816         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19817         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19818         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19820         [BZ #19211]
19821         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19822         __USE_XOPEN], not if [!__USE_ISOC99].
19823         (lgammaf): Likewise.
19824         (lgammal): Likewise.
19825         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19826         (gammaf): Likewise.
19827         (gammal): Likewise.
19828         * math/test-signgam-finite-c11.c: New file.
19829         * math/test-signgam-finite-c99.c: Likewise.
19830         * math/test-signgam-finite.c: Likewise.
19831         * math/Makefile (tests): Add test-signgam-finite,
19832         test-signgam-finite-c99 and test-signgam-finite-c11.
19833         (CFLAGS-test-signgam-finite.c): New variable.
19834         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19835         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19837         [BZ #19212]
19838         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19839         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19840         500].
19841         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19842         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19843         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19844         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19845         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19846         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19847         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19848         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19849         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19850         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19852         [BZ #19209]
19853         * math/bits/math-finite.h (ldexp): Remove declaration.
19854         (ldexpf): Likewise.
19855         (ldexpl): Likewise.
19857         [BZ #19205]
19858         * math/bits/math-finite.h (acosf): Condition declaration on
19859         [__USE_ISOC99].
19860         (acosl): Likewise.
19861         (acoshf): Likewise.
19862         (acoshl): Likewise.
19863         (asinf): Likewise.
19864         (asinl): Likewise.
19865         (atan2f): Likewise.
19866         (atan2l): Likewise.
19867         (atanhf): Likewise.
19868         (atanhl): Likewise.
19869         (coshf): Likewise.
19870         (coshl): Likewise.
19871         (expf): Likewise.
19872         (expl): Likewise.
19873         (fmodf): Likewise.
19874         (fmodl): Likewise.
19875         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19876         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19877         (j0l): Likewise.
19878         (y0f): Likewise.
19879         (y0l): Likewise.
19880         (j1f): Likewise.
19881         (j1l): Likewise.
19882         (y1f): Likewise.
19883         (y1l): Likewise.
19884         (jnf): Likewise.
19885         (jnl): Likewise.
19886         (ynf): Likewise.
19887         (ynl): Likewise.
19888         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19889         (lgammal_r): Likewise.
19890         (__lgamma_r_finite): New declaration.
19891         (__lgammaf_r_finite): Likewise.
19892         (__lgammal_r_finite): Likewise.
19893         (lgamma): Use __lgamma_r_finite.
19894         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19895         __lgammaf_r_finite.
19896         (lgammal): Condition definition on [__USE_ISOC99].  Use
19897         __lgammal_r_finite.
19898         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19899         __lgamma_r_finite.
19900         (gammaf): Condition definition on [__USE_ISOC99].  Use
19901         __lgammaf_r_finite.
19902         (gammal): Condition definition on [__USE_ISOC99].  Use
19903         __lgammal_r_finite.
19904         (logf): Condition declaration on [__USE_ISOC99].
19905         (logl): Likewise.
19906         (log10f): Likewise.
19907         (log10l): Likewise.
19908         (ldexpf): Likewise.
19909         (ldexpl): Likewise.
19910         (powf): Likewise.
19911         (powl): Likewise.
19912         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19913         __USE_ISOC99].
19914         (remainderf): Condition declaration on [__USE_ISOC99].
19915         (remainderl): Likewise.
19916         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19917         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19918         (scalbl): Likewise.
19919         (sinhf): Condition declaration on [__USE_ISOC99].
19920         (sinhl): Likewise.
19921         (sqrtf): Likewise.
19922         (sqrtl): Likewise.
19924 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19926         * sysdeps/arm/atomic-machine.h
19927         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19928         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19929         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19930         Remove conditional code.
19931         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19932         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19933         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19934         Change conditional to [__ASSEMBLER__].
19935         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19936         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19937         [!__ASSEMBLER__].
19938         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19939         code.
19940         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19941         conditional macro definitions.
19942         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19943         (__arch_compare_and_exchange_val_16_acq): Likewise.
19944         (__arch_compare_and_exchange_val_32_acq): Likewise.
19945         (atomic_exchange_and_add): Likewise.
19946         (atomic_add): Likewise.
19947         (atomic_add_negative): Likewise.
19948         (atomic_add_zero): Likewise.
19949         (atomic_bit_set): Likewise.
19950         (atomic_bit_test_set): Likewise.
19951         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19952         code unconditional.
19953         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19955         * math/test-math-errno.h: New file.
19956         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19957         empty.
19958         (TEST_ERRNO): New macro.
19959         (TEST_EXCEPTIONS): Likewise.
19960         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19961         (TEST_EXCEPTIONS): Likewise.
19962         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19963         * math/test-double.c: Include "test-math-errno.h".
19964         * math/test-float.c: Likewise.
19965         * math/test-ldouble.c: Likewise.
19966         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19967         code unconditional.
19968         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19969         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19970         unconditional.
19971         (test_errno): Only run code if TEST_ERRNO.
19972         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19974 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19976         * nptl/tst-once5.cc: Remove attribution.
19978 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19980         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19981         sqrt, tan, tanh, y0, y1 and yn.
19982         * math/auto-libm-test-out: Regenerated.
19983         * math/libm-test.inc (scalb_test_data): Add more tests.
19984         (scalbn_test_data): Likewise.
19985         (scalbln_test_data): Likewise.
19986         (signbit_test_data): Likewise.
19987         (sin_test_data): Likewise.
19988         (sincos_test_data): Likewise.
19989         (sinh_test_data): Likewise.
19990         (sqrt_test_data): Likewise.
19991         (tan_test_data): Likewise.
19992         (tanh_test_data): Likewise.
19993         (tgamma_test_data): Likewise.
19994         (y0_test_data): Likewise.
19995         (y1_test_data): Likewise.
19996         (yn_test_data): Likewise.
19997         (significand_test_data): Likewise.
19998         * sysdeps/i386/fpu/libm-test-ulps: Update.
20000 2015-11-03  David Kastrup  <dak@gnu.org>
20002         [BZ #18604]
20003         * assert/assert.h (assert): Don't macro-expand failed assertion
20004         expression in error message.
20005         * malloc/malloc.c (assert): Likewise.
20007 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20009         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20010         test.
20011         * configure: Regenerated.
20013 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20015         * math/libm-test.inc (modf_test_data): Add more tests.
20016         (nearbyint_test_data): Likewise.
20017         (nextafter_test_data): Likewise.
20018         (nexttoward_test_data): Likewise.
20019         (pow_test_data): Likewise.
20020         (remainder_test_data): Likewise.
20021         (remquo_test_data): Likewise.
20022         (rint_test_data): Likewise.
20024         [BZ #19201]
20025         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20026         Check for zero remainder in case of large exponents and ensure
20027         correct sign of result in that case.
20028         * math/libm-test.inc (remainder_test_data): Add more tests.
20030         [BZ #6799]
20031         * math/s_nextafter.c: Include <errno.h>.
20032         (__nextafter): Set errno on overflow and underflow.
20033         * math/s_nexttowardf.c: Include <errno.h>.
20034         (__nexttowardf): Set errno on overflow and underflow.
20035         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20036         (__nextafterl): Set errno on overflow and underflow.
20037         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20038         (__nexttoward): Set errno on overflow and underflow.
20039         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20040         (__nexttowardf): Set errno on overflow and underflow.
20041         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20042         (__nextafterf): Set errno on overflow and underflow.
20043         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20044         (__nextafterl): Set errno on overflow and underflow.
20045         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20046         (__nexttoward): Set errno on overflow and underflow.
20047         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20048         (__nexttowardf): Set errno on overflow and underflow.
20049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20050         (__nextafterl): Set errno on overflow and underflow.
20051         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20052         (__nexttoward): Set errno on overflow and underflow.
20053         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20054         (__nexttowardf): Set errno on overflow and underflow.
20055         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20056         (__nexttoward): Set errno on overflow and underflow.
20057         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20058         (__nexttowardf): Set errno on overflow and underflow.
20059         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20060         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20061         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20062         (__nextafterl): Set errno on overflow and underflow.
20063         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20064         setting to be missing on overflow.  Add more tests.
20065         (nexttoward_test_data): Likewise.
20067         * configure.ac (libc_cv_initfini_array): Remove configure test.
20068         * configure: Regenerated.
20070 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #19189]
20073         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20074         non-finite argument handle arguments with negative sign.
20076         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20077         result from infinite argument.
20078         (j1_test_data): Likewise.
20079         (jn_test_data): Likewise.
20080         (y0_test_data): Likewise.
20081         (y1_test_data): Likewise.
20082         (yn_test_data): Likewise.
20084         [BZ #16171]
20085         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20086         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20087         * math/w_remainderf.c (dremf): Define as weak alias of
20088         __remainderf.
20089         * math/w_remainderl.c (dreml): Define as weak alias of
20090         __remainderl.
20091         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20092         __remainder.
20093         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20094         __remainderf.
20095         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20096         __remainderl.
20097         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20098         weak alias of remainderl.
20099         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20100         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20101         alias of __remainder.
20102         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20103         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20104         strong alias of __remainderl.
20105         (dreml): Use long_double_symbol.
20106         * math/Makefile (libm-calls): Remove w_drem.
20107         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20108         (CFLAGS-nldbl-drem.c): Remove variable.
20109         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20110         * math/w_drem.c: Remove file.
20111         * math/w_dremf.c: Likewise.
20112         * math/w_dreml.c: Likewise.
20113         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20114         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20115         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20117         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20118         * sysdeps/i386/configure: Regenerated.
20119         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20120         * sysdeps/x86_64/configure: Regenerated.
20122         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20123         test.
20124         (libc_cv_visibility_attribute): Likewise.
20125         (libc_cv_protected_data): Test unconditionally.
20126         (libc_cv_broken_visibility_attribute): Remove configure test.
20127         (libc_cv_have_sdata_section): Test unconditionally.
20128         * configure: Regenerated.
20130         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20131         * include/scratch_buffer.h: Include <stddef.h> instead of
20132         <libc-internal.h>.
20133         (struct scratch_buffer): Use max_align_t instead of
20134         libc_max_align_t.
20136 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20138         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20139         instead of extend_alloca.  Change control flow to avoid a goto.
20140         Remove assert which is trivially always true.
20142 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20144         [BZ #16068]
20145         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20146         (FE_ALL_EXCEPT_X86): New macro.
20147         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20148         FE_ALL_EXCEPT.  Ensure precision control is included in
20149         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20150         handle "denormal operand exception" and clear FZ and DAZ bits.
20151         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20152         (FE_ALL_EXCEPT_X86): New macro.
20153         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20154         FE_ALL_EXCEPT.  Ensure precision control is included in
20155         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20156         handle "denormal operand exception" and clear FZ and DAZ bits.
20157         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20158         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20159         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20160         test-fenv-x87 and test-fenv-sse-2.
20161         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20163         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20164         * math/test-double.h (BUILD_COMPLEX): New macro.
20165         * math/test-float.h (BUILD_COMPLEX): Likewise.
20166         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20168         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20169         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20170         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20172         instead of DBL_DENORM_MIN in comment.
20173         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20174         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20175         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20176         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20178         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20180 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20182         [BZ #19048]
20183         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20184         attached_threads member.
20185         (main_arena): Initialize attached_threads.
20186         * malloc/arena.c (list_lock): Update comment.
20187         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20188         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20189         (deattach_arena): New function.
20190         (_int_new_arena): Initialize arena reference count and deattach
20191         replaced arena.
20192         (get_free_list, reused_arena): Update reference count and deattach
20193         replaced arena.
20194         (arena_thread_freeres): Update arena reference count and only put
20195         unreferenced arenas on the free list.
20197 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20199         [BZ #19181]
20200         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20201         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20202         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20203         * math/test-fenv-clear-main.c: New file.
20204         * math/test-fenv-clear.c: Likewise.
20205         * math/Makefile (tests): Add test-fenv-clear.
20206         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20207         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20208         test-fenv-clear-sse.
20209         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20211         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20212         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20213         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20215 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20217         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20218         static libc.
20220 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20222         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20223         test.
20224         * sysdeps/i386/configure: Regenerated.
20225         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20226         test.
20227         * sysdeps/x86_64/configure: Regenerated.
20228         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20230         memset-avx2 unconditionally instead of conditionally on
20231         [$(config-cflags-avx2) = yes].
20232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20233         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20234         unconditional.
20235         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20236         * sysdeps/x86_64/multiarch/memset_chk.S
20237         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20238         to [IS_IN (libc) && SHARED].
20240 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20242         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20243         configure test.
20244         * sysdeps/arm/configure: Regenerated.
20245         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20246         Define variable if not already defined.
20248         [BZ #17404]
20249         * sysdeps/mips/atomic-machine.h
20250         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20251         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20252         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20254         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20255         unconditional.
20256         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20257         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20258         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20259         unconditional.
20260         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20261         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20262         unconditional.
20263         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20264         * stdlib/setenv.c
20265         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20266         code unconditional.
20267         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20268         Remove conditional code.
20269         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20270         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20271         unconditional.
20272         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20273         code.
20274         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20275         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20276         unconditional.
20277         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20278         code.
20279         * sysdeps/ieee754/ldbl-128/k_tanl.c
20280         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20281         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20282         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20283         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20284         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20285         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20286         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20287         unconditional.
20288         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20289         code.
20290         * sysdeps/ieee754/ldbl-96/k_tanl.c
20291         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20292         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20294         * nptl/tst-initializers1-c11.c: New file.
20295         * nptl/tst-initializers1-gnu11.c: Likewise.
20296         * nptl/Makefile (tests): Add these new tests.
20297         (CFLAGS-tst-initializers1-c11.c): New variable.
20298         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20300         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20301         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20302         instead of -std=gnu99.
20303         * configure.ac (systemtap): Test with -std=gnu11 instead of
20304         -std=gnu99.
20305         * configure: Regenerated.
20306         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20307         in compilation command in comment.
20309         * sysdeps/nptl/configure.ac: Remove file.
20310         * sysdeps/nptl/configure: Remove generated file.
20311         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20312         * configure: Regenerated.
20313         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20314         * config.make.in (have-forced-unwind): Remove variable.
20315         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20316         unconditional.
20317         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20318         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20319         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20320         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20321         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20322         unconditional.
20324 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20326         [BZ #19174]
20327         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20328         .skip_lock_out_of_tbegin_retries.
20329         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20330         (__lll_lock_elision): Likewise, and respect a value of
20331         try_tbegin <= 0.
20333 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20335         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20336         statement.
20338 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20340         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20341         variable.
20342         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20343         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20345         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20346         of -std=c1x -D_ISOC11_SOURCE.
20348         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20349         * configure: Regenerated.
20350         * manual/install.texi (Tools for Compilation): Document
20351         requirement for GCC 4.7 or later.
20352         * INSTALL: Regenerated.
20354 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20356         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20357         on CNT to a conditional jump to 'puntdata'.
20359 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20361         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20362         (libc_cv_gcc_tls_model_attr): Likewise.
20363         * configure: Regenerated.
20365         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20366         * configure: Regenerated.
20367         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20369 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20371         * configure.ac (old_glibc_headers): Remove configure test.
20372         * configure: Regenerated.
20373         * config.make.in (old-glibc-headers): Remove variable.
20374         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20375         (install): Remove dependency on remove-old-headers.
20376         (headers2_0): Remove variable.
20377         (remove-old-headers): Remove rule.
20379         * configure.ac (libc_cv_dot_text): Remove configure test.
20380         (libc_cv_asm_set_directive): Use .text instead of
20381         ${libc_cv_dot_text} in configure test.
20382         * configure: Regenerated.
20384 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20386         [BZ #19168]
20387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20389 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20391         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20392         not support static linking.
20393         * configure: Regenerate.
20395 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20397         * math/libm-test.inc (check_float_internal): Do not special-case
20398         errors up to 0.5 ulp.
20400         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20401         log2.
20402         * math/auto-libm-test-out: Regenerated.
20403         * math/libm-test.inc (MAX_EXP): New macro.
20404         (ilogb_test_data): Add more tests.
20405         (isfinite_test_data): Likewise.
20406         (isgreater_test_data): Likewise.
20407         (isgreaterequal_test_data): Likewise.
20408         (isinf_test_data): Likewise.
20409         (isless_test_data): Likewise.
20410         (islessequal_test_data): Likewise.
20411         (islessgreater_test_data): Likewise.
20412         (isnan_test_data): Likewise.
20413         (isnormal_test_data): Likewise.
20414         (issignaling_test_data): Likewise.
20415         (isunordered_test_data): Likewise.
20416         (j0_test_data): Likewise.
20417         (j1_test_data): Likewise.
20418         (jn_test_data): Likewise.
20419         (lgamma_test_data): Likewise.
20420         (log_test_data): Likewise.
20421         (log10_test_data): Likewise.
20422         (log1p_test_data): Likewise.
20423         (log2_test_data): Likewise.
20424         (logb_test_data): Likewise.
20425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20427         [BZ #18611]
20428         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20429         avoid excess range and precision on underflow.
20430         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20431         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20432         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20433         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20434         underflow.
20435         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20437         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20438         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20439         * math/auto-libm-test-in: Do not allow missing errno setting for
20440         tests of j1 and jn.
20441         * math/auto-libm-test-out: Regenerated.
20443 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20445         [BZ #15491]
20446         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20447         floating-point environment instead of clearing all exceptions.
20448         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20449         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20450         merging in "invalid" exceptions from frndint.
20451         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20452         * math/test-nearbyint-except.c: New file.
20453         * math/Makefile (tests): Add test-nearbyint-except.
20455 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20457         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20459         * sysdeps/tile/libm-test-ulps: Regenerated.
20461 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20464         (__NR_sync_file_range2): Assume it is always defined.
20465         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20466         (__NR_sync_file_range): Assume it is always defined.
20468 2015-10-22  Andreas Schwab  <schwab@suse.de>
20470         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20471         INTERNAL_SYSCALL_ERRNO.
20472         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20473         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20474         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20475         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20476         Likewise.
20477         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20479 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20481         * io/tst-fcntl.c (fd): New static variable.
20482         (do_prepare): Open temporary file here....
20483         (do_test): ...not here.
20485         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20487 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20489         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20490         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20491         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20492         Moved before "#ifdef __ASSEMBLER__".
20494 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20496         [BZ #19156]
20497         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20498         arguments very close to 0.
20500 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20502         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20503         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20505 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20507         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20508         New.  Defined for GCC 5 and above when not compiling for
20509         profiling.
20510         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20512         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20513         Renamed to ...
20514         (CFLAGS-epoll_pwait.o): This.
20515         (CFLAGS-mmap.c): Renamed to ...
20516         (CFLAGS-mmap.o): This.
20517         (CFLAGS-mmap64.c): Renamed to ...
20518         (CFLAGS-mmap64.o): This.
20519         (CFLAGS-epoll_pwait.os): New.
20520         (CFLAGS-mmap.os): Likewise.
20521         (CFLAGS-mmap64.os): Likewise.
20522         (CFLAGS-semtimedop.os): Likewise.
20523         (CFLAGS-semtimedop.c): Renamed to ...
20524         (CFLAGS-semtimedop.o): This.
20526 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20528         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20529         warning message.
20531 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20533         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20534         * Makefile ($(objpfx)c++-types-check.out): Filter out
20535         $(+gccwarn-c) instead of -Wstrict-prototypes.
20537         * io/fts.c (fts_open): Convert to prototype-style function
20538         definition.
20539         * malloc/mcheck.c (mcheck): Likewise.
20540         (mcheck_pedantic): Likewise.
20541         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20542         internal_function.
20543         (re_search_internal): Likewise.
20544         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20545         prototype-style function definition.
20546         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20547         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20548         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20549         (xdr_utmpptr): Likewise.
20550         (xdr_utmparr): Likewise.
20551         (xdr_utmpidle): Likewise.
20552         (xdr_utmpidleptr): Likewise.
20553         (xdr_utmpidlearr): Likewise.
20555         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20556         log, log10 and log2.
20557         * math/auto-libm-test-out: Regenerated.
20558         * math/libm-test.inc (fmod_test_data): Add more tests.
20559         (fpclassify_test_data): Likewise.
20560         (frexp_test_data): Likewise.
20561         (hypot_test_data): Likewise.
20562         (ilogb_test_data): Likewise.
20564 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20566         * debug/fortify_fail.c (__fortify_fail): Convert to
20567         prototype-style function definition.  Use internal_function.
20568         * libio/genops.c (save_for_backup): Convert to prototype-style
20569         function definition.
20570         * libio/wgenops.c (save_for_wbackup): Likewise.
20571         * login/grantpt.c (grantpt): Likewise.
20572         * login/ptsname.c (ptsname): Likewise.
20573         (__ptsname_r): Likewise.
20574         * login/unlockpt.c (unlockpt): Likewise.
20575         * mach/msgserver.c (__mach_msg_server): Likewise.
20576         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20577         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20578         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20579         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20580         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20581         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20582         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20583         Likewise.
20584         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20585         internal_function.
20586         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20587         prototype-style function definition.
20588         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20589         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20590         (__pthread_create_2_0): Likewise.
20591         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20592         * nptl/register-atfork.c (__register_atfork): Likewise.
20593         * posix/glob.c (glob): Likewise.
20594         * posix/regcomp.c (re_comp): Likewise.
20595         * posix/regexec.c (re_exec): Likewise.
20596         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20597         [!__STDC__]: Remove conditional code.
20598         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20599         [!__STDC__]: Remove conditional code.
20600         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20601         [!__STDC__]: Remove conditional code.
20602         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20603         [!__STDC__]: Remove conditional code.
20604         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20605         [!__STDC__]: Remove conditional code.
20606         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20607         [!__STDC__]: Remove conditional code.
20608         * stdlib/mul.c [__STDC__]: Make code unconditional.
20609         [!__STDC__]: Remove conditional code.
20610         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20611         [!__STDC__]: Remove conditional code.
20612         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20613         [!__STDC__]: Remove conditional code.
20614         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20615         function definition.
20616         (STRTOF): Likewise.
20617         * stdlib/strtod_l.c (__STRTOF): Likewise.
20618         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20619         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20620         (__strtol_l): Likewise.
20621         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20622         [!__STDC__]: Remove conditional code.
20623         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20624         definition.
20625         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20626         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20627         type.
20628         (__strcasecmp): Convert to prototype-style function definition.
20629         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20630         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20631         type.
20632         (__strncasecmp): Convert to prototype-style function definition.
20633         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20634         * sunrpc/xdr.c (xdr_union): Likewise.
20635         * sunrpc/xdr_array.c (xdr_array): Likewise.
20636         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20637         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20638         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20639         Likewise.
20640         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20641         Likewise.
20642         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20643         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20644         Likewise.
20645         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20646         (LOCALE_PARAM_PROTO): Likewise.
20647         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20648         argument type.
20649         (ut_argument_spec): Remove macro.
20650         (ut_argument_spec_iso): Rename to ut_argument_spec.
20651         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20652         prototype-style function definition.
20653         (memcpy_uppcase): Likewise.
20654         (__strftime_internal): Likewise.
20655         (my_strftime): Likewise.
20656         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20657         (LOCALE_PARAM_DECL): Likewise.
20658         [_LIBC] (LOCALE_PARAM): Include argument type.
20659         (__strptime_internal): Convert to prototype-style function
20660         definition.
20661         (strptime): Likewise.
20662         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20663         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20664         type.
20665         (__wcscasecmp): Convert to prototype-style function definition.
20666         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20667         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20668         type.
20669         (__wcsncasecmp): Convert to prototype-style function definition.
20671         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20672         function definition.
20673         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20674         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20675         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20676         * elf/dl-minimal.c (_itoa): Likewise.
20677         * hurd/hurdmalloc.c (malloc): Likewise.
20678         (free): Likewise.
20679         (realloc): Likewise.
20680         * inet/inet6_option.c (inet6_option_space): Likewise.
20681         (inet6_option_init): Likewise.
20682         (inet6_option_append): Likewise.
20683         (inet6_option_alloc): Likewise.
20684         (inet6_option_next): Likewise.
20685         (inet6_option_find): Likewise.
20686         * io/ftw.c (FTW_NAME): Likewise.
20687         (NFTW_NAME): Likewise.
20688         (NFTW_NEW_NAME): Likewise.
20689         (NFTW_OLD_NAME): Likewise.
20690         * libio/iofwide.c (_IO_fwide): Likewise.
20691         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20692         (_IO_str_init_static): Likewise.
20693         (_IO_str_init_readonly): Likewise.
20694         (_IO_str_overflow): Likewise.
20695         (_IO_str_underflow): Likewise.
20696         (_IO_str_count): Likewise.
20697         (_IO_str_seekoff): Likewise.
20698         (_IO_str_pbackfail): Likewise.
20699         (_IO_str_finish): Likewise.
20700         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20701         (_IO_wstr_overflow): Likewise.
20702         (_IO_wstr_underflow): Likewise.
20703         (_IO_wstr_count): Likewise.
20704         (_IO_wstr_seekoff): Likewise.
20705         (_IO_wstr_pbackfail): Likewise.
20706         (_IO_wstr_finish): Likewise.
20707         * locale/programs/localedef.c (normalize_codeset): Likewise.
20708         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20709         (add_locales_to_archive): Likewise.
20710         (delete_locales_from_archive): Likewise.
20711         * malloc/malloc.c (__libc_mallinfo): Likewise.
20712         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20713         * misc/tsearch.c (__tfind): Likewise.
20714         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20715         * nptl/pthread_attr_getdetachstate.c
20716         (__pthread_attr_getdetachstate): Likewise.
20717         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20718         Likewise.
20719         * nptl/pthread_attr_getinheritsched.c
20720         (__pthread_attr_getinheritsched): Likewise.
20721         * nptl/pthread_attr_getschedparam.c
20722         (__pthread_attr_getschedparam): Likewise.
20723         * nptl/pthread_attr_getschedpolicy.c
20724         (__pthread_attr_getschedpolicy): Likewise.
20725         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20726         Likewise.
20727         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20728         Likewise.
20729         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20730         Likewise.
20731         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20732         Likewise.
20733         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20734         (__pthread_attr_init_2_0): Likewise.
20735         * nptl/pthread_attr_setdetachstate.c
20736         (__pthread_attr_setdetachstate): Likewise.
20737         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20738         Likewise.
20739         * nptl/pthread_attr_setinheritsched.c
20740         (__pthread_attr_setinheritsched): Likewise.
20741         * nptl/pthread_attr_setschedparam.c
20742         (__pthread_attr_setschedparam): Likewise.
20743         * nptl/pthread_attr_setschedpolicy.c
20744         (__pthread_attr_setschedpolicy): Likewise.
20745         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20746         Likewise.
20747         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20748         Likewise.
20749         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20750         Likewise.
20751         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20752         Likewise.
20753         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20754         Likewise.
20755         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20756         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20757         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20758         use internal_function.
20759         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20760         prototype-style function definition.
20761         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20762         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20763         internal_function.
20764         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20765         Convert to prototype-style function definition.
20766         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20767         Likewise.
20768         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20769         Likewise.
20770         (__pthread_mutex_unlock): Likewise.
20771         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20772         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20773         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20774         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20775         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20776         * nss/makedb.c (process_input): Likewise.
20777         * posix/fnmatch.c (__strchrnul): Likewise.
20778         (__wcschrnul): Likewise.
20779         (fnmatch): Likewise.
20780         * posix/fnmatch_loop.c (FCT): Likewise.
20781         * posix/glob.c (globfree): Likewise.
20782         (__glob_pattern_type): Likewise.
20783         (__glob_pattern_p): Likewise.
20784         * posix/regcomp.c (re_compile_pattern): Likewise.
20785         (re_set_syntax): Likewise.
20786         (re_compile_fastmap): Likewise.
20787         (regcomp): Likewise.
20788         (regerror): Likewise.
20789         (regfree): Likewise.
20790         * posix/regexec.c (regexec): Likewise.
20791         (re_match): Likewise.
20792         (re_search): Likewise.
20793         (re_match_2): Likewise.
20794         (re_search_2): Likewise.
20795         (re_search_stub): Likewise.  Use internal_function
20796         (re_copy_regs): Likewise.
20797         (re_set_registers): Convert to prototype-style function
20798         definition.
20799         (prune_impossible_nodes): Likewise.  Use internal_function.
20800         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20801         prototype-style function definition.
20802         (inet_net_pton_ipv4): Likewise.
20803         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20804         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20805         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20806         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20807         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20808         Make variadic.
20809         * time/strptime_l.c (localtime_r): Convert to prototype-style
20810         function definition.
20811         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20812         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20813         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20814         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20816         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20817         definition.
20818         (_ufc_doit_r): Likewise.
20819         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20820         (_ufc_output_conversion_r): Likewise.
20821         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20822         * inet/rcmd.c (rcmd_af): Likewise.
20823         (rcmd): Likewise.
20824         (ruserok_af): Likewise.
20825         (ruserok): Likewise.
20826         (ruserok2_sa): Likewise.
20827         (ruserok_sa): Likewise.
20828         (iruserok_af): Likewise.
20829         (iruserok): Likewise.
20830         (__ivaliduser): Likewise.
20831         (__validuser2_sa): Likewise.
20832         * inet/rexec.c (rexec_af): Likewise.
20833         (rexec): Likewise.
20834         * inet/ruserpass.c (ruserpass): Likewise.
20835         * locale/programs/xmalloc.c (xcalloc): Likewise.
20836         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20837         * math/w_drem.c (__drem): Likewise.
20838         * math/w_dremf.c (__dremf): Likewise.
20839         * math/w_dreml.c (__dreml): Likewise.
20840         * misc/daemon.c (daemon): Likewise.
20841         * resolv/res_debug.c (p_fqnname): Likewise.
20842         * stdlib/div.c (div): Likewise.
20843         * string/memcmp.c (memcmp_bytes): Likewise.
20844         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20845         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20847         * crypt/cert.c (main): Convert to prototype-style function
20848         definition.
20849         * io/pipe.c (__pipe): Likewise.
20850         * io/pipe2.c (__pipe2): Likewise.
20851         * misc/futimesat.c (futimesat): Likewise.
20852         * misc/utimes.c (__utimes): Likewise.
20853         * posix/execve.c (__execve): Likewise.
20854         * posix/execvp.c (execvp): Likewise.
20855         * posix/execvpe.c (__execvpe): Likewise.
20856         * posix/fexecve.c (fexecve): Likewise.
20857         * socket/socketpair.c (socketpair): Likewise.
20858         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20859         * stdlib/erand48.c (erand48): Likewise.
20860         * stdlib/erand48_r.c (__erand48_r): Likewise.
20861         * stdlib/jrand48.c (jrand48): Likewise.
20862         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20863         * stdlib/lcong48.c (lcong48): Likewise.
20864         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20865         * stdlib/nrand48.c (nrand48): Likewise.
20866         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20867         * stdlib/seed48.c (seed48): Likewise.
20868         * stdlib/seed48_r.c (__seed48_r): Likewise.
20869         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20870         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20871         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20873 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20875         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20876         * configure: Regenerated.
20877         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20878         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20879         unconditional.
20880         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20881         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20882         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20883         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20884         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20885         unconditional.
20886         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20888         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20889         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20891         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20892         function definition.
20893         * crypt/crypt_util.c (__encrypt_r): Likewise.
20894         * libio/genops.c (_IO_no_init): Likewise.
20895         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20896         (_IO_old_fopencookie): Likewise.
20897         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20898         * libio/iogetline.c (_IO_getline): Likewise.
20899         (_IO_getline_info): Likewise.
20900         * libio/iogetwline.c (_IO_getwline): Likewise.
20901         (_IO_getwline_info): Likewise.
20902         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20903         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20904         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20905         (find_entry): Likewise.
20906         (iterate_table): Likewise.
20907         (lookup): Likewise.
20908         * login/forkpty.c (forkpty): Likewise.
20909         * misc/hsearch_r.c (__hsearch_r): Likewise.
20910         * misc/select.c (__select): Likewise.
20911         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20912         Likewise.
20913         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20914         Likewise.
20915         * nptl/old_pthread_cond_timedwait.c
20916         (__pthread_cond_timedwait_2_0): Likewise.
20917         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20918         * nptl/pthread_barrierattr_getpshared.c
20919         (pthread_barrierattr_getpshared): Likewise.
20920         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20921         Likewise.
20922         * nptl/pthread_mutex_setprioceiling.c
20923         (pthread_mutex_setprioceiling): Likewise.
20924         * nptl/pthread_mutexattr_getprioceiling.c
20925         (pthread_mutexattr_getprioceiling): Likewise.
20926         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20927         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20928         Likewise.
20929         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20930         Likewise.
20931         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20932         Likewise.
20933         * socket/recvfrom.c (__recvfrom): Likewise.
20934         * socket/sendto.c (__sendto): Likewise.
20935         * socket/setsockopt.c (__setsockopt): Likewise.
20936         * stdio-common/_itoa.c (_itoa): Likewise.
20937         * stdio-common/_itowa.c (_itowa): Likewise.
20938         * stdio-common/reg-printf.c (__register_printf_specifier):
20939         Likewise.
20940         (__register_printf_function): Likewise.
20941         * stdio-common/tempname.c (__path_search): Likewise.
20942         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20943         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20944         * stdlib/random_r.c (__initstate_r): Likewise.
20945         * stdlib/setenv.c (__add_to_environ): Likewise.
20946         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20947         * streams/getpmsg.c (getpmsg): Likewise.
20948         * streams/putmsg.c (putmsg): Likewise.
20949         * streams/putpmsg.c (putpmsg): Likewise.
20950         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20951         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20952         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20953         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20954         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20955         * sunrpc/svc_udp.c (cache_get): Likewise.
20956         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20957         * sysdeps/mach/hurd/getcwd.c
20958         (__canonicalize_directory_name_internal): Likewise.
20959         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20960         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20961         * sysdeps/mach/hurd/select.c (__select): Likewise.
20962         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20963         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20964         * sysdeps/sparc/nptl/pthread_barrier_init.c
20965         (__pthread_barrier_init): Likewise.
20966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20967         (__pthread_cond_timedwait): Likewise.
20968         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20969         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20970         Likewise.
20971         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20972         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20973         Likewise.
20974         * sysvipc/semtimedop.c (semtimedop): Likewise.
20975         * time/setitimer.c (__setitimer): Likewise.
20976         * time/strftime_l.c (emacs_strftime): Likewise.
20978 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20980         * config.make.in (have-ssp): Delete.
20981         (stack-protector): New variable.
20982         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20983         cache test for -fstack-protector-strong.  Export stack_protector to
20984         the best ssp flag.
20985         * configure: Regenerated.
20986         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20987         * nscd/Makefile (CFLAGS-nscd): Likewise.
20988         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20990 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20992         [BZ #19122]
20993         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20994         attribute_hidden.
20996 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20998         [BZ #18743]
20999         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21000         code to...
21001         (ELIDE_LOCK): ...here.
21002         (__get_new_count): New function with part of the code from
21003         __elide_lock that updates the value of adapt_count after a
21004         transaction abort.
21005         (__elided_trylock): Moved this code to...
21006         (ELIDE_TRYLOCK): ...here.
21008 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21010         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21011         * configure: Regenerate.
21012         * INSTALL: Regenerate.
21013         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21014         and tweak grammar.
21016 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21018         * login/programs/pt_chown.c: Include signal.h
21019         (main): Clear any signal mask from the parent process.
21021 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21023         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21024         * configure: Regenerated.
21025         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21026         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21027         $(gnu89-inline-CFLAGS).
21029         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21030         test.
21031         (libc_cv_asm_weakext_directive): Likewise.
21032         * configure: Regenerated.
21033         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21034         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21035         * include/libc-symbols.h
21036         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21037         #error.
21038         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21039         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21041         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21042         prototype-style function definition.
21043         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21044         * sysdeps/i386/ffs.c (__ffs): Likewise.
21045         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21046         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21047         Likewise.
21048         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21049         Likewise.
21050         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21051         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21052         Likewise.
21053         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21054         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21055         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21056         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21057         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21058         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21059         * sysdeps/mach/hurd/access.c (__access): Likewise.
21060         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21061         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21062         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21063         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21064         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21065         (cthread_getspecific): Likewise.
21066         (cthread_setspecific): Likewise.
21067         (__libc_getspecific): Likewise.
21068         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21069         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21070         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21071         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21072         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21073         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21074         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21075         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21076         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21077         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21078         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21079         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21080         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21081         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21082         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21083         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21084         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21085         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21086         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21087         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21088         * sysdeps/mach/hurd/link.c (__link): Likewise.
21089         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21090         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21091         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21092         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21093         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21094         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21095         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21096         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21097         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21098         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21099         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21100         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21101         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21102         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21103         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21104         * sysdeps/mach/hurd/send.c (__send): Likewise.
21105         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21106         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21107         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21108         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21109         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21110         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21111         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21112         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21113         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21114         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21115         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21116         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21117         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21118         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21119         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21120         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21121         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21122         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21123         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21124         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21125         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21126         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21127         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21128         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21129         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21130         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21131         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21132         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21133         * sysdeps/posix/alarm.c (alarm): Likewise.
21134         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21135         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21136         * sysdeps/posix/dup.c (__dup): Likewise.
21137         * sysdeps/posix/dup2.c (__dup2): Likewise.
21138         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21139         (main): Likewise.
21140         * sysdeps/posix/flock.c (__flock): Likewise.
21141         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21142         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21143         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21144         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21145         * sysdeps/posix/isatty.c (__isatty): Likewise.
21146         * sysdeps/posix/killpg.c (killpg): Likewise.
21147         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21148         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21149         * sysdeps/posix/raise.c (raise): Likewise.
21150         * sysdeps/posix/remove.c (remove): Likewise.
21151         * sysdeps/posix/rename.c (rename): Likewise.
21152         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21153         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21154         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21155         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21156         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21157         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21158         * sysdeps/posix/sigset.c (sigset): Likewise.
21159         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21160         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21161         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21162         * sysdeps/posix/time.c (time): Likewise.
21163         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21164         (ttyname): Likewise.
21165         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21166         * sysdeps/posix/utime.c (utime): Likewise.
21167         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21168         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21169         Likewise.
21170         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21171         (pthread_spin_trylock): Likewise.
21172         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21173         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21174         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21175         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21176         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21177         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21178         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21179         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21180         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21181         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21182         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21183         * sysdeps/s390/ffs.c (__ffs): Likewise.
21184         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21185         Likewise.
21186         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21187         Likewise.
21188         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21189         Likewise.
21190         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21191         (pthread_barrier_destroy): Likewise.
21192         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21193         (__pthread_barrier_wait): Likewise.
21194         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21195         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21196         (__pthread_barrier_wait): Likewise.
21197         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21198         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21199         (memcmp_not_common_alignment): Likewise.
21200         (MEMCMP): Likewise.
21201         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21202         (_wordcopy_fwd_dest_aligned): Likewise.
21203         (_wordcopy_bwd_aligned): Likewise.
21204         (_wordcopy_bwd_dest_aligned): Likewise.
21205         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21206         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21207         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21208         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21209         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21210         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21211         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21212         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21213         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21214         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21215         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21216         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21217         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21218         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21219         * sysdeps/unix/stime.c (stime): Likewise.
21220         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21221         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21222         Likewise.  Use internal_function.
21223         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21224         Convert to prototype-style function definition.
21225         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21226         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21227         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21228         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21229         Likewise.  Use internal_function.
21230         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21231         prototype-style function definition
21232         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21233         Likewise.
21234         (__getlogin_r): Likewise.
21235         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21236         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21237         (__pthread_cond_broadcast): Likewise.
21238         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21239         (__pthread_cond_destroy): Likewise.
21240         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21241         (__pthread_cond_init): Likewise.
21242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21243         (__pthread_cond_signal): Likewise.
21244         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21245         (__pthread_cond_wait): Likewise.
21246         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21247         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21248         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21249         Likewise.
21250         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21251         Likewise.
21252         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21253         Likewise.
21254         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21255         Likewise.
21256         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21258         (__ftruncate64): Likewise.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21260         (truncate64): Likewise.
21261         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21262         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21263         (pthread_getcpuclockid): Likewise.
21264         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21265         Likewise.
21266         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21267         Likewise.
21268         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21269         Likewise.
21270         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21271         Likewise.
21272         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21273         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21274         (__libc_sigaction): Likewise.
21275         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21276         Likewise.
21277         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21278         (__sigprocmask): Likewise.
21279         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21280         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21281         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21282         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21283         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21284         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21285         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21286         Likewise.
21287         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21288         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21289         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21290         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21291         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21292         Likewise.
21293         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21294         (__sigprocmask): Likewise.
21295         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21296         (cfgetispeed): Likewise.
21297         (cfsetospeed): Likewise.
21298         (cfsetispeed): Likewise.
21299         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21300         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21301         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21302         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21303         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21304         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21305         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21306         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21307         Likewise.
21308         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21309         Likewise.
21310         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21311         Likewise.
21312         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21313         Likewise.
21314         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21316 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21318         sunrpc: Rewrite with explicit TLS access using __thread.
21319         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21320         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21321         directly.
21322         (__rpc_thread_variables): Access thread_rpc_vars directly.
21323         Eliminate redundant assignment of the tvp variable.
21325 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21327         malloc: Rewrite with explicit TLS access using __thread.
21328         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21329         (tsd_setspecific, tsd_getspecific): Remove.
21330         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21331         (tsd_setspecific, tsd_getspecific): Likewise.
21332         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21333         (tsd_setspecific, tsd_getspecific): Likewise.
21334         * malloc/arena.c (thread_arena): New TLS variable.
21335         (arena_key): Remove variable.
21336         (arena_get): Use thread_arena.
21337         (arena_lookup): Remove macro.
21338         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21339         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21340         (_int_new_arena, get_free_list, reused_arena)
21341         (arena_thread_freeres): Use thread_arena.
21342         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21343         tsd_getspecific, tsd_setspecific from safety annotations.
21344         (Allocating Cleared Space): Remove arena_lookup from safety
21345         annotations.
21347 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21349         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21350         struct scratch_buffer instead of extend_alloca.
21352 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21354         * sysdeps/unix/sysv/linux/kernel-features.h
21355         (__ASSUME_SOCK_CLOEXEC): Remove.
21356         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21357         (__have_paccept): Remove unused macro.
21358         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21359         * misc/syslog.c (openlog_internal): Remove fallback code for
21360         !__ASSUME_SOCK_CLOEXEC.
21361         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21362         missing SOCK_CLOEXEC.
21363         * nscd/connections.c (have_sock_cloexec): Remove definition.
21364         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21365         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21366         !__ASSUME_SOCK_CLOEXEC.
21367         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21368         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21369         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21370         definition.
21371         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21372         code for !__ASSUME_SOCK_CLOEXEC.
21374 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21376         [BZ #18982]
21377         * manual/stdio.texi (Variable Arguments Output): Add portability
21378         note, explaining that vfprintf clobbers the va_list pointer.
21380 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21382         * math/libm-test.inc (fabs_test_data): Add more tests.
21383         (fdim_test_data): Likewise.
21384         (fma_test_data): Likewise.
21385         (fmax_test_data): Likewise.
21386         (fmin_test_data): Likewise.
21387         (fmod_test_data): Likewise.
21389 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21391         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21392         data.
21394 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21396         * math/libm-test.inc (ceil_test_data): Add more tests and more
21397         expectations for "inexact".
21398         (floor_test_data): Add more tests.
21399         (round_test_data): Likewise.
21400         (trunc_test_data): Likewise.
21402         * crypt/cert.c (good_bye): Convert to prototype-style function
21403         definition.
21404         (get8): Likewise.
21405         (put8): Likewise.
21406         * crypt/crypt-entry.c (crypt): Likewise.
21407         (__fcrypt): Likewise.
21408         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21409         (_ufc_set_bits): Likewise.
21410         (_ufc_clearmem): Likewise.
21411         (__init_des_r): Likewise.
21412         (shuffle_sb): Likewise.
21413         (shuffle_sb): Likewise.
21414         (_ufc_setup_salt_r): Likewise.
21415         (_ufc_mk_keytab_r): Likewise.
21416         (_ufc_dofinalperm_r): Likewise.
21417         (encrypt): Likewise.
21418         (__setkey_r): Likewise.
21419         (setkey): Likewise.
21420         * crypt/md5.c (md5_init_ctx): Likewise.
21421         (md5_read_ctx): Likewise.
21422         (md5_finish_ctx): Likewise.
21423         (md5_stream): Likewise.
21424         (md5_buffer): Likewise.
21425         (md5_process_bytes): Likewise.
21426         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21427         (__sha256_finish_ctx): Likewise.
21428         (__sha256_process_bytes): Likewise.
21429         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21430         (__sha512_finish_ctx): Likewise.
21431         (__sha512_process_bytes): Likewise.
21432         * ctype/isctype.c (__isctype): Likewise.
21433         * debug/backtrace.c (__backtrace): Likewise.
21434         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21435         * debug/fgets_chk.c (__fgets_chk): Likewise.
21436         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21437         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21438         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21439         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21440         * debug/memset_chk.c (__memset_chk): Likewise.
21441         * debug/strcat_chk.c (__strcat_chk): Likewise.
21442         * debug/strncat_chk.c (__strncat_chk): Likewise.
21443         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21444         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21445         * dirent/dirfd.c (dirfd): Likewise.
21446         * dirent/getdents.c (__getdirentries): Likewise.
21447         * dirent/getdents64.c (getdirentries64): Likewise.
21448         * dirent/rewinddir.c (__rewinddir): Likewise.
21449         * dirent/seekdir.c (seekdir): Likewise.
21450         * dirent/telldir.c (telldir): Likewise.
21451         * elf/sln.c (makesymlinks): Likewise.
21452         (makesymlink): Likewise.
21453         * gmon/gmon.c (__moncontrol): Likewise.
21454         (__monstartup): Likewise.
21455         (write_hist): Likewise.
21456         (write_call_graph): Likewise.
21457         (write_bb_counts): Likewise.
21458         * grp/setgroups.c (setgroups): Likewise.
21459         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21460         * inet/inet_net.c (inet_network): Likewise.
21461         * inet/inet_netof.c (inet_netof): Likewise.
21462         * inet/rcmd.c (rresvport_af): Likewise.
21463         (rresvport): Likewise.
21464         * io/access.c (__access): Likewise.
21465         * io/chdir.c (__chdir): Likewise.
21466         * io/chmod.c (__chmod): Likewise.
21467         * io/chown.c (__chown): Likewise.
21468         * io/close.c (__close): Likewise.
21469         * io/creat.c (creat): Likewise.
21470         * io/creat64.c (creat64): Likewise.
21471         * io/dup.c (__dup): Likewise.
21472         * io/dup2.c (__dup2): Likewise.
21473         * io/dup3.c (__dup3): Likewise.
21474         * io/euidaccess.c (__euidaccess): Likewise.
21475         * io/faccessat.c (faccessat): Likewise.
21476         * io/fchmod.c (__fchmod): Likewise.
21477         * io/fchmodat.c (fchmodat): Likewise.
21478         * io/fchown.c (__fchown): Likewise.
21479         * io/fchownat.c (fchownat): Likewise.
21480         * io/fcntl.c (__fcntl): Likewise.
21481         * io/flock.c (__flock): Likewise.
21482         * io/fts.c (fts_load): Likewise.
21483         (fts_close): Likewise.
21484         (fts_read): Likewise.
21485         (fts_set): Likewise.
21486         (fts_children): Likewise.
21487         (fts_build): Likewise.
21488         (fts_stat): Likewise.
21489         (fts_sort): Likewise.
21490         (fts_alloc): Likewise.
21491         (fts_lfree): Likewise.
21492         (fts_palloc): Likewise.
21493         (fts_padjust): Likewise.
21494         (fts_maxarglen): Likewise.
21495         (fts_safe_changedir): Likewise.
21496         * io/getwd.c (getwd): Likewise.
21497         * io/isatty.c (__isatty): Likewise.
21498         * io/lchown.c (__lchown): Likewise.
21499         * io/link.c (__link): Likewise.
21500         * io/linkat.c (linkat): Likewise.
21501         * io/lseek.c (__libc_lseek): Likewise.
21502         * io/mkdir.c (__mkdir): Likewise.
21503         * io/mkdirat.c (mkdirat): Likewise.
21504         * io/mkfifo.c (mkfifo): Likewise.
21505         * io/mkfifoat.c (mkfifoat): Likewise.
21506         * io/open.c (__libc_open): Likewise.
21507         * io/open64.c (__libc_open64): Likewise.
21508         * io/readlink.c (__readlink): Likewise.
21509         * io/readlinkat.c (readlinkat): Likewise.
21510         * io/rmdir.c (__rmdir): Likewise.
21511         * io/symlink.c (__symlink): Likewise.
21512         * io/symlinkat.c (symlinkat): Likewise.
21513         * io/ttyname.c (ttyname): Likewise.
21514         * io/ttyname_r.c (__ttyname_r): Likewise.
21515         * io/umask.c (__umask): Likewise.
21516         * io/unlink.c (__unlink): Likewise.
21517         * io/unlinkat.c (unlinkat): Likewise.
21518         * io/utime.c (utime): Likewise.
21519         * libio/clearerr.c (clearerr): Likewise.
21520         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21521         * libio/feof.c (_IO_feof): Likewise.
21522         * libio/feof_u.c (feof_unlocked): Likewise.
21523         * libio/ferror.c (_IO_ferror): Likewise.
21524         * libio/ferror_u.c (ferror_unlocked): Likewise.
21525         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21526         * libio/fileno.c (__fileno): Likewise.
21527         * libio/fputc.c (fputc): Likewise.
21528         * libio/fputc_u.c (fputc_unlocked): Likewise.
21529         * libio/fputwc.c (fputwc): Likewise.
21530         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21531         * libio/freopen.c (freopen): Likewise.
21532         * libio/freopen64.c (freopen64): Likewise.
21533         * libio/fseek.c (fseek): Likewise.
21534         * libio/fseeko.c (fseeko): Likewise.
21535         * libio/fseeko64.c (fseeko64): Likewise.
21536         * libio/ftello.c (__ftello): Likewise.
21537         * libio/ftello64.c (ftello64): Likewise.
21538         * libio/fwide.c (fwide): Likewise.
21539         * libio/genops.c (_IO_un_link): Likewise.
21540         (_IO_link_in): Likewise.
21541         (_IO_least_marker): Likewise.
21542         (_IO_switch_to_main_get_area): Likewise.
21543         (_IO_switch_to_backup_area): Likewise.
21544         (_IO_switch_to_get_mode): Likewise.
21545         (_IO_free_backup_area): Likewise.
21546         (_IO_switch_to_put_mode): Likewise.
21547         (__overflow): Likewise.
21548         (__underflow): Likewise.
21549         (__uflow): Likewise.
21550         (_IO_setb): Likewise.
21551         (_IO_doallocbuf): Likewise.
21552         (_IO_default_underflow): Likewise.
21553         (_IO_default_uflow): Likewise.
21554         (_IO_default_xsputn): Likewise.
21555         (_IO_sgetn): Likewise.
21556         (_IO_default_xsgetn): Likewise.
21557         (_IO_sync): Likewise.
21558         (_IO_default_setbuf): Likewise.
21559         (_IO_default_seekpos): Likewise.
21560         (_IO_default_doallocate): Likewise.
21561         (_IO_init): Likewise.
21562         (_IO_old_init): Likewise.
21563         (_IO_default_sync): Likewise.
21564         (_IO_default_finish): Likewise.
21565         (_IO_default_seekoff): Likewise.
21566         (_IO_sputbackc): Likewise.
21567         (_IO_sungetc): Likewise.
21568         (_IO_set_column): Likewise.
21569         (_IO_set_column): Likewise.
21570         (_IO_adjust_column): Likewise.
21571         (_IO_get_column): Likewise.
21572         (_IO_init_marker): Likewise.
21573         (_IO_remove_marker): Likewise.
21574         (_IO_marker_difference): Likewise.
21575         (_IO_marker_delta): Likewise.
21576         (_IO_seekmark): Likewise.
21577         (_IO_unsave_markers): Likewise.
21578         (_IO_nobackup_pbackfail): Likewise.
21579         (_IO_default_pbackfail): Likewise.
21580         (_IO_default_seek): Likewise.
21581         (_IO_default_stat): Likewise.
21582         (_IO_default_read): Likewise.
21583         (_IO_default_write): Likewise.
21584         (_IO_default_showmanyc): Likewise.
21585         (_IO_default_imbue): Likewise.
21586         (_IO_iter_next): Likewise.
21587         (_IO_iter_file): Likewise.
21588         * libio/getc.c (_IO_getc): Likewise.
21589         * libio/getwc.c (_IO_getwc): Likewise.
21590         * libio/iofclose.c (_IO_new_fclose): Likewise.
21591         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21592         * libio/iofflush.c (_IO_fflush): Likewise.
21593         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21594         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21595         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21596         * libio/iofgets.c (_IO_fgets): Likewise.
21597         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21598         * libio/iofgetws.c (fgetws): Likewise.
21599         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21600         * libio/iofopen64.c (_IO_fopen64): Likewise.
21601         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21602         (_IO_cookie_write): Likewise.
21603         (_IO_cookie_seek): Likewise.
21604         (_IO_cookie_close): Likewise.
21605         (_IO_cookie_seekoff): Likewise.
21606         (_IO_old_cookie_seek): Likewise.
21607         * libio/iofputs.c (_IO_fputs): Likewise.
21608         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21609         * libio/iofputws.c (fputws): Likewise.
21610         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21611         * libio/iofread.c (_IO_fread): Likewise.
21612         * libio/iofread_u.c (__fread_unlocked): Likewise.
21613         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21614         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21615         * libio/ioftell.c (_IO_ftell): Likewise.
21616         * libio/iofwrite.c (_IO_fwrite): Likewise.
21617         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21618         * libio/iogets.c (_IO_gets): Likewise.
21619         * libio/iopadn.c (_IO_padn): Likewise.
21620         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21621         (_IO_new_popen): Likewise.
21622         (_IO_new_proc_close): Likewise.
21623         * libio/ioputs.c (_IO_puts): Likewise.
21624         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21625         (_IO_seekoff): Likewise.
21626         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21627         (_IO_seekpos): Likewise.
21628         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21629         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21630         * libio/ioungetc.c (_IO_ungetc): Likewise.
21631         * libio/ioungetwc.c (ungetwc): Likewise.
21632         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21633         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21634         * libio/iowpadn.c (_IO_wpadn): Likewise.
21635         * libio/libc_fatal.c (__libc_fatal): Likewise.
21636         * libio/memstream.c (__open_memstream): Likewise.
21637         (_IO_mem_sync): Likewise.
21638         (_IO_mem_finish): Likewise.
21639         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21640         (_IO_old_file_close_it): Likewise.
21641         (_IO_old_file_finish): Likewise.
21642         (_IO_old_file_fopen): Likewise.
21643         (_IO_old_file_attach): Likewise.
21644         (_IO_old_file_setbuf): Likewise.
21645         (_IO_old_do_write): Likewise.
21646         (old_do_write): Likewise.
21647         (_IO_old_file_underflow): Likewise.
21648         (_IO_old_file_overflow): Likewise.
21649         (_IO_old_file_sync): Likewise.
21650         (_IO_old_file_seekoff): Likewise.
21651         (_IO_old_file_write): Likewise.
21652         (_IO_old_file_xsputn): Likewise.
21653         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21654         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21655         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21656         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21657         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21658         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21659         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21660         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21661         (_IO_old_popen): Likewise.
21662         (_IO_old_proc_close): Likewise.
21663         * libio/oldpclose.c (__old_pclose): Likewise.
21664         * libio/pclose.c (__new_pclose): Likewise.
21665         * libio/peekc.c (_IO_peekc_locked): Likewise.
21666         * libio/putc.c (_IO_putc): Likewise.
21667         * libio/putc_u.c (putc_unlocked): Likewise.
21668         * libio/putchar.c (putchar): Likewise.
21669         * libio/putchar_u.c (putchar_unlocked): Likewise.
21670         * libio/putwc.c (putwc): Likewise.
21671         * libio/putwc_u.c (putwc_unlocked): Likewise.
21672         * libio/putwchar.c (putwchar): Likewise.
21673         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21674         * libio/rewind.c (rewind): Likewise.
21675         * libio/setbuf.c (setbuf): Likewise.
21676         * libio/setlinebuf.c (setlinebuf): Likewise.
21677         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21678         * libio/vscanf.c (_IO_vscanf): Likewise.
21679         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21680         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21681         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21682         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21683         (_IO_switch_to_main_wget_area): Likewise.
21684         (_IO_switch_to_wbackup_area): Likewise.
21685         (_IO_wsetb): Likewise.
21686         (_IO_wdefault_pbackfail): Likewise.
21687         (_IO_wdefault_finish): Likewise.
21688         (_IO_wdefault_uflow): Likewise.
21689         (__woverflow): Likewise.
21690         (__wuflow): Likewise.
21691         (__wunderflow): Likewise.
21692         (_IO_wdefault_xsputn): Likewise.
21693         (_IO_wdefault_xsgetn): Likewise.
21694         (_IO_wdoallocbuf): Likewise.
21695         (_IO_wdefault_doallocate): Likewise.
21696         (_IO_switch_to_wget_mode): Likewise.
21697         (_IO_free_wbackup_area): Likewise.
21698         (_IO_switch_to_wput_mode): Likewise.
21699         (_IO_sputbackwc): Likewise.
21700         (_IO_sungetwc): Likewise.
21701         (_IO_adjust_wcolumn): Likewise.
21702         (_IO_init_wmarker): Likewise.
21703         (_IO_wmarker_delta): Likewise.
21704         (_IO_seekwmark): Likewise.
21705         (_IO_unsave_wmarkers): Likewise.
21706         * libio/wmemstream.c (open_wmemstream): Likewise.
21707         (_IO_wmem_sync): Likewise.
21708         (_IO_wmem_finish): Likewise.
21709         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21710         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21711         * locale/programs/simple-hash.c (init_hash): Likewise.
21712         (delete_hash): Likewise.
21713         (insert_entry): Likewise.
21714         (set_entry): Likewise.
21715         (next_prime): Likewise.
21716         (is_prime): Likewise.
21717         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21718         (xmalloc): Likewise.
21719         (xrealloc): Likewise.
21720         * locale/programs/xstrdup.c (xstrdup): Likewise.
21721         * localedata/collate-test.c (xstrcoll): Likewise.
21722         * localedata/xfrm-test.c (xstrcmp): Likewise.
21723         * login/getlogin_r.c (__getlogin_r): Likewise.
21724         * login/getpt.c (__posix_openpt): Likewise.
21725         * login/login_tty.c (login_tty): Likewise.
21726         * login/setlogin.c (setlogin): Likewise.
21727         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21728         (mach_msg_destroy_port): Likewise.
21729         (mach_msg_destroy_memory): Likewise.
21730         * malloc/mcheck.c (flood): Likewise.
21731         * misc/acct.c (acct): Likewise.
21732         * misc/brk.c (__brk): Likewise.
21733         * misc/chflags.c (chflags): Likewise.
21734         * misc/chroot.c (chroot): Likewise.
21735         * misc/fchflags.c (fchflags): Likewise.
21736         * misc/fstab.c (getfsspec): Likewise.
21737         (getfsfile): Likewise.
21738         * misc/fsync.c (fsync): Likewise.
21739         * misc/ftruncate.c (__ftruncate): Likewise.
21740         * misc/ftruncate64.c (__ftruncate64): Likewise.
21741         * misc/getdomain.c (getdomainname): Likewise.
21742         (getdomainname): Likewise.
21743         * misc/gethostname.c (__gethostname): Likewise.
21744         * misc/getpass.c (getpass): Likewise.
21745         * misc/getttyent.c (skip): Likewise.
21746         (value): Likewise.
21747         * misc/gtty.c (gtty): Likewise.
21748         * misc/hsearch.c (hsearch): Likewise.
21749         (hcreate): Likewise.
21750         * misc/hsearch_r.c (__hcreate_r): Likewise.
21751         (__hdestroy_r): Likewise.
21752         * misc/ioctl.c (__ioctl): Likewise.
21753         * misc/mkdtemp.c (mkdtemp): Likewise.
21754         * misc/mkostemp.c (mkostemp): Likewise.
21755         * misc/mkostemp64.c (mkostemp64): Likewise.
21756         * misc/mkostemps.c (mkostemps): Likewise.
21757         * misc/mkostemps64.c (mkostemps64): Likewise.
21758         * misc/mkstemp.c (mkstemp): Likewise.
21759         * misc/mkstemp64.c (mkstemp64): Likewise.
21760         * misc/mkstemps.c (mkstemps): Likewise.
21761         * misc/mkstemps64.c (mkstemps64): Likewise.
21762         * misc/mktemp.c (__mktemp): Likewise.
21763         * misc/preadv.c (preadv): Likewise.
21764         * misc/preadv64.c (preadv64): Likewise.
21765         * misc/pwritev.c (pwritev): Likewise.
21766         * misc/pwritev64.c (pwritev64): Likewise.
21767         * misc/readv.c (__readv): Likewise.
21768         * misc/revoke.c (revoke): Likewise.
21769         * misc/setdomain.c (setdomainname): Likewise.
21770         * misc/setegid.c (setegid): Likewise.
21771         * misc/seteuid.c (seteuid): Likewise.
21772         * misc/sethostid.c (sethostid): Likewise.
21773         * misc/sethostname.c (sethostname): Likewise.
21774         * misc/setregid.c (__setregid): Likewise.
21775         * misc/setreuid.c (__setreuid): Likewise.
21776         * misc/sstk.c (sstk): Likewise.
21777         * misc/stty.c (stty): Likewise.
21778         * misc/syscall.c (syscall): Likewise.
21779         * misc/syslog.c (setlogmask): Likewise.
21780         * misc/truncate.c (__truncate): Likewise.
21781         * misc/truncate64.c (truncate64): Likewise.
21782         * misc/ualarm.c (ualarm): Likewise.
21783         * misc/usleep.c (usleep): Likewise.
21784         * misc/ustat.c (ustat): Likewise.
21785         * misc/writev.c (__writev): Likewise.
21786         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21787         * nptl/old_pthread_cond_broadcast.c
21788         (__pthread_cond_broadcast_2_0): Likewise.
21789         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21790         Likewise.
21791         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21792         Likewise.
21793         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21794         Likewise.
21795         * nptl/pt-raise.c (raise): Likewise.
21796         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21797         Likewise.
21798         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21799         * nptl/pthread_barrierattr_destroy.c
21800         (pthread_barrierattr_destroy): Likewise.
21801         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21802         Likewise.
21803         * nptl/pthread_barrierattr_setpshared.c
21804         (pthread_barrierattr_setpshared): Likewise.
21805         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21806         Likewise.
21807         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21808         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21809         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21810         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21811         Likewise.
21812         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21813         Likewise.
21814         * nptl/pthread_condattr_getpshared.c
21815         (pthread_condattr_getpshared): Likewise.
21816         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21817         Likewise.
21818         * nptl/pthread_condattr_setpshared.c
21819         (pthread_condattr_setpshared): Likewise.
21820         * nptl/pthread_detach.c (pthread_detach): Likewise.
21821         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21822         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21823         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21824         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21825         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21826         Likewise.
21827         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21828         Likewise.
21829         * nptl/pthread_mutex_getprioceiling.c
21830         (pthread_mutex_getprioceiling): Likewise.
21831         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21832         Likewise.
21833         * nptl/pthread_mutexattr_getprotocol.c
21834         (pthread_mutexattr_getprotocol): Likewise.
21835         * nptl/pthread_mutexattr_getpshared.c
21836         (pthread_mutexattr_getpshared): Likewise.
21837         * nptl/pthread_mutexattr_getrobust.c
21838         (pthread_mutexattr_getrobust): Likewise.
21839         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21840         Likewise.
21841         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21842         Likewise.
21843         * nptl/pthread_mutexattr_setprioceiling.c
21844         (pthread_mutexattr_setprioceiling): Likewise.
21845         * nptl/pthread_mutexattr_setprotocol.c
21846         (pthread_mutexattr_setprotocol): Likewise.
21847         * nptl/pthread_mutexattr_setpshared.c
21848         (pthread_mutexattr_setpshared): Likewise.
21849         * nptl/pthread_mutexattr_setrobust.c
21850         (pthread_mutexattr_setrobust): Likewise.
21851         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21852         Likewise.
21853         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21854         Likewise.
21855         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21856         Likewise.
21857         * nptl/pthread_rwlockattr_getkind_np.c
21858         (pthread_rwlockattr_getkind_np): Likewise.
21859         * nptl/pthread_rwlockattr_getpshared.c
21860         (pthread_rwlockattr_getpshared): Likewise.
21861         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21862         Likewise.
21863         * nptl/pthread_rwlockattr_setkind_np.c
21864         (pthread_rwlockattr_setkind_np): Likewise.
21865         * nptl/pthread_rwlockattr_setpshared.c
21866         (pthread_rwlockattr_setpshared): Likewise.
21867         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21868         Likewise.
21869         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21870         Likewise.
21871         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21872         Likewise.
21873         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21874         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21875         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21876         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21877         * nptl/sem_close.c (sem_close): Likewise.
21878         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21879         * nptl/sem_init.c (__old_sem_init): Likewise.
21880         * nptl/sigaction.c (__sigaction): Likewise.
21881         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21882         * posix/_exit.c (_exit): Likewise.
21883         * posix/alarm.c (alarm): Likewise.
21884         * posix/confstr.c (confstr): Likewise.
21885         * posix/fpathconf.c (__fpathconf): Likewise.
21886         * posix/getgroups.c (__getgroups): Likewise.
21887         * posix/getpgid.c (__getpgid): Likewise.
21888         * posix/group_member.c (__group_member): Likewise.
21889         * posix/pathconf.c (__pathconf): Likewise.
21890         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21891         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21892         * posix/setgid.c (__setgid): Likewise.
21893         * posix/setpgid.c (__setpgid): Likewise.
21894         * posix/setuid.c (__setuid): Likewise.
21895         * posix/sleep.c (__sleep): Likewise.
21896         * posix/sysconf.c (__sysconf): Likewise.
21897         * posix/times.c (__times): Likewise.
21898         * posix/uname.c (__uname): Likewise.
21899         * posix/waitid.c (__waitid): Likewise.
21900         * pwd/getpw.c (__getpw): Likewise.
21901         * resolv/base64.c (b64_pton): Likewise.
21902         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21903         * resolv/gethnamaddr.c (Dprintf): Likewise.
21904         (gethostbyname): Likewise.
21905         (gethostbyname2): Likewise.
21906         (gethostbyaddr): Likewise.
21907         (_sethtent): Likewise.
21908         (_gethtbyname): Likewise.
21909         (_gethtbyname2): Likewise.
21910         (_gethtbyaddr): Likewise.
21911         (map_v4v6_address): Likewise.
21912         (map_v4v6_hostent): Likewise.
21913         (addrsort): Likewise.
21914         (ht_sethostent): Likewise.
21915         (ht_gethostbyname): Likewise.
21916         (ht_gethostbyaddr): Likewise.
21917         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21918         (inet_net_ntop_ipv4): Likewise.
21919         * resolv/inet_neta.c (inet_neta): Likewise.
21920         * resolv/inet_ntop.c (inet_ntop): Likewise.
21921         (inet_ntop4): Likewise.
21922         (inet_ntop6): Likewise.
21923         * resolv/inet_pton.c (__inet_pton): Likewise.
21924         (inet_pton4): Likewise.
21925         (inet_pton6): Likewise.
21926         * resolv/res_debug.c (loc_aton): Likewise.
21927         (loc_ntoa): Likewise.
21928         * resource/getpriority.c (__getpriority): Likewise.
21929         * resource/getrusage.c (__getrusage): Likewise.
21930         * resource/nice.c (nice): Likewise.
21931         * resource/setpriority.c (__setpriority): Likewise.
21932         * resource/setrlimit64.c (setrlimit64): Likewise.
21933         * resource/vlimit.c (vlimit): Likewise.
21934         * resource/vtimes.c (vtimes): Likewise.
21935         * rt/aio_error.c (aio_error): Likewise.
21936         * rt/aio_return.c (aio_return): Likewise.
21937         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21938         * signal/kill.c (__kill): Likewise.
21939         * signal/killpg.c (killpg): Likewise.
21940         * signal/raise.c (raise): Likewise.
21941         * signal/sigaction.c (__sigaction): Likewise.
21942         * signal/sigaddset.c (sigaddset): Likewise.
21943         * signal/sigaltstack.c (sigaltstack): Likewise.
21944         * signal/sigandset.c (sigandset): Likewise.
21945         * signal/sigblock.c (__sigblock): Likewise.
21946         * signal/sigdelset.c (sigdelset): Likewise.
21947         * signal/sigempty.c (sigemptyset): Likewise.
21948         * signal/sigfillset.c (sigfillset): Likewise.
21949         * signal/sighold.c (sighold): Likewise.
21950         * signal/sigignore.c (sigignore): Likewise.
21951         * signal/sigintr.c (siginterrupt): Likewise.
21952         * signal/sigisempty.c (sigisemptyset): Likewise.
21953         * signal/sigismem.c (sigismember): Likewise.
21954         * signal/signal.c (signal): Likewise.
21955         * signal/sigorset.c (sigorset): Likewise.
21956         * signal/sigpause.c (__sigpause): Likewise.
21957         * signal/sigpending.c (sigpending): Likewise.
21958         * signal/sigprocmask.c (__sigprocmask): Likewise.
21959         * signal/sigrelse.c (sigrelse): Likewise.
21960         * signal/sigreturn.c (__sigreturn): Likewise.
21961         * signal/sigset.c (sigset): Likewise.
21962         * signal/sigsetmask.c (__sigsetmask): Likewise.
21963         * signal/sigstack.c (sigstack): Likewise.
21964         * signal/sigsuspend.c (__sigsuspend): Likewise.
21965         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21966         * signal/sysv_signal.c (__sysv_signal): Likewise.
21967         * socket/accept.c (accept): Likewise.
21968         * socket/accept4.c (__libc_accept4): Likewise.
21969         * socket/bind.c (__bind): Likewise.
21970         * socket/connect.c (__connect): Likewise.
21971         * socket/getpeername.c (getpeername): Likewise.
21972         * socket/getsockname.c (__getsockname): Likewise.
21973         * socket/getsockopt.c (getsockopt): Likewise.
21974         * socket/listen.c (__listen): Likewise.
21975         * socket/recv.c (__recv): Likewise.
21976         * socket/recvmsg.c (__recvmsg): Likewise.
21977         * socket/send.c (__send): Likewise.
21978         * socket/sendmsg.c (__sendmsg): Likewise.
21979         * socket/shutdown.c (shutdown): Likewise.
21980         * socket/sockatmark.c (sockatmark): Likewise.
21981         * socket/socket.c (__socket): Likewise.
21982         * stdio-common/ctermid.c (ctermid): Likewise.
21983         * stdio-common/cuserid.c (cuserid): Likewise.
21984         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21985         * stdio-common/remove.c (remove): Likewise.
21986         * stdio-common/rename.c (rename): Likewise.
21987         * stdio-common/renameat.c (renameat): Likewise.
21988         * stdio-common/tempname.c (__gen_tempname): Likewise.
21989         * stdio-common/xbug.c (InitBuffer): Likewise.
21990         (AppendToBuffer): Likewise.
21991         (ReadFile): Likewise.
21992         * stdlib/a64l.c (a64l): Likewise.
21993         * stdlib/drand48_r.c (drand48_r): Likewise.
21994         * stdlib/getcontext.c (getcontext): Likewise.
21995         * stdlib/getenv.c (getenv): Likewise.
21996         * stdlib/l64a.c (l64a): Likewise.
21997         * stdlib/llabs.c (llabs): Likewise.
21998         * stdlib/lldiv.c (lldiv): Likewise.
21999         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22000         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22001         * stdlib/putenv.c (putenv): Likewise.
22002         * stdlib/random.c (__srandom): Likewise.
22003         (__initstate): Likewise.
22004         (__setstate): Likewise.
22005         * stdlib/random_r.c (__srandom_r): Likewise.
22006         (__setstate_r): Likewise.
22007         (__random_r): Likewise.
22008         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22009         * stdlib/setcontext.c (setcontext): Likewise.
22010         * stdlib/setenv.c (setenv): Likewise.
22011         (unsetenv): Likewise.
22012         * stdlib/srand48.c (srand48): Likewise.
22013         * stdlib/srand48_r.c (__srand48_r): Likewise.
22014         * stdlib/swapcontext.c (swapcontext): Likewise.
22015         * stdlib/system.c (__libc_system): Likewise.
22016         * stdlib/tst-strtod.c (expand): Likewise.
22017         * stdlib/tst-strtol.c (expand): Likewise.
22018         * stdlib/tst-strtoll.c (expand): Likewise.
22019         * streams/fattach.c (fattach): Likewise.
22020         * streams/fdetach.c (fdetach): Likewise.
22021         * streams/getmsg.c (getmsg): Likewise.
22022         * streams/isastream.c (isastream): Likewise.
22023         * string/ffs.c (__ffs): Likewise.
22024         * string/ffsll.c (ffsll): Likewise.
22025         * string/memcmp.c (memcmp_common_alignment): Likewise.
22026         (memcmp_not_common_alignment): Likewise.
22027         (MEMCMP): Likewise.
22028         * string/memcpy.c (memcpy): Likewise.
22029         * string/memmove.c (MEMMOVE): Likewise.
22030         * string/memset.c (memset): Likewise.
22031         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22032         * string/strchrnul.c (STRCHRNUL): Likewise.
22033         * string/strerror.c (strerror): Likewise.
22034         * string/strndup.c (__strndup): Likewise.
22035         * string/strverscmp.c (__strverscmp): Likewise.
22036         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22037         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22038         (clnttcp_freeres): Likewise.
22039         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22040         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22041         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22042         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22043         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22044         (xdr_callhdr): Likewise.
22045         * sunrpc/rpcinfo.c (udpping): Likewise.
22046         (tcpping): Likewise.
22047         (pstatus): Likewise.
22048         (pmapdump): Likewise.
22049         (brdcst): Likewise.
22050         (deletereg): Likewise.
22051         (getprognum): Likewise.
22052         (getvers): Likewise.
22053         (get_inet_address): Likewise.
22054         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22055         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22056         (svcudp_stat): Likewise.
22057         (svcudp_recv): Likewise.
22058         (svcudp_reply): Likewise.
22059         (svcudp_getargs): Likewise.
22060         (svcudp_freeargs): Likewise.
22061         (svcudp_destroy): Likewise.
22062         * sunrpc/xdr.c (xdr_bytes): Likewise.
22063         (xdr_netobj): Likewise.
22064         (xdr_string): Likewise.
22065         (xdr_wrapstring): Likewise.
22066         * sunrpc/xdr_float.c (xdr_float): Likewise.
22067         (xdr_double): Likewise.
22068         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22069         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22070         * sysvipc/ftok.c (ftok): Likewise.
22071         * sysvipc/msgctl.c (msgctl): Likewise.
22072         * sysvipc/msgget.c (msgget): Likewise.
22073         * sysvipc/msgrcv.c (msgrcv): Likewise.
22074         * sysvipc/msgsnd.c (msgsnd): Likewise.
22075         * sysvipc/semget.c (semget): Likewise.
22076         * sysvipc/semop.c (semop): Likewise.
22077         * sysvipc/shmat.c (shmat): Likewise.
22078         * sysvipc/shmctl.c (shmctl): Likewise.
22079         * sysvipc/shmdt.c (shmdt): Likewise.
22080         * sysvipc/shmget.c (shmget): Likewise.
22081         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22082         * termios/speed.c (cfgetospeed): Likewise.
22083         (cfgetispeed): Likewise.
22084         (cfsetospeed): Likewise.
22085         (cfsetispeed): Likewise.
22086         * termios/tcflow.c (tcflow): Likewise.
22087         * termios/tcflush.c (tcflush): Likewise.
22088         * termios/tcgetattr.c (__tcgetattr): Likewise.
22089         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22090         * termios/tcgetsid.c (tcgetsid): Likewise.
22091         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22092         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22093         * time/adjtime.c (__adjtime): Likewise.
22094         * time/dysize.c (dysize): Likewise.
22095         * time/ftime.c (ftime): Likewise.
22096         * time/getitimer.c (__getitimer): Likewise.
22097         * time/gettimeofday.c (__gettimeofday): Likewise.
22098         * time/gmtime.c (__gmtime_r): Likewise.
22099         (gmtime): Likewise.
22100         * time/localtime.c (__localtime_r): Likewise.
22101         (localtime): Likewise.
22102         * time/offtime.c (__offtime): Likewise.
22103         * time/settimeofday.c (__settimeofday): Likewise.
22104         * time/stime.c (stime): Likewise.
22105         * time/strftime_l.c (tm_diff): Likewise.
22106         (iso_week_days): Likewise.
22107         * time/strptime.c (strptime): Likewise.
22108         * time/time.c (time): Likewise.
22109         * time/timespec_get.c (timespec_get): Likewise.
22110         * time/tzset.c (tzset_internal): Likewise.
22111         (compute_change): Likewise.
22112         (__tz_compute): Likewise.
22113         * wcsmbs/btowc.c (__btowc): Likewise.
22114         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22115         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22116         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22117         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22118         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22119         * wcsmbs/wcscat.c (__wcscat): Likewise.
22120         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22121         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22122         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22123         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22124         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22125         * wcsmbs/wcslen.c (__wcslen): Likewise.
22126         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22127         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22128         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22129         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22130         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22131         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22132         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22133         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22134         * wcsmbs/wcstok.c (wcstok): Likewise.
22135         * wcsmbs/wctob.c (wctob): Likewise.
22136         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22137         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22138         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22139         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22140         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22141         * wcsmbs/wmemset.c (__wmemset): Likewise.
22142         * wctype/wcfuncs.c (__towlower): Likewise.
22143         (__towupper): Likewise.
22145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22146         (lll_unlock_elision): Add adapt_count parameter.
22148 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22150         * sysdeps/nptl/configure.ac: Do not give errors based on the
22151         results of top-level configure tests.
22152         * sysdeps/nptl/configure: Regenerated.
22154         * configure.ac (libc_cv_Bgroup): Remove configure test.
22155         * configure: Regenerated.
22156         * config.make.in (have-Bgroup): Remove variable.
22158         * configure.ac (sizeof_long_double): Remove configure test.
22159         * configure: Regenerated.
22160         * config.make.in (sizeof-long-double): Remove variable.
22162         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22163         * configure: Regenerated.
22164         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22165         variable.
22166         (exceptions): Likewise.
22167         * sysdeps/arm/configure: Regenerated.
22168         * config.make.in (exceptions): Remove variable.
22169         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22170         $(exceptions).
22171         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22172         (CFLAGS-vdprintf_chk.c): Likewise.
22173         (CFLAGS-printf_chk.c): Likewise.
22174         (CFLAGS-fprintf_chk.c): Likewise.
22175         (CFLAGS-vprintf_chk.c): Likewise.
22176         (CFLAGS-vfprintf_chk.c): Likewise.
22177         (CFLAGS-gets_chk.c): Likewise.
22178         (CFLAGS-fgets_chk.c): Likewise.
22179         (CFLAGS-fgets_u_chk.c): Likewise.
22180         (CFLAGS-fread_chk.c): Likewise.
22181         (CFLAGS-fread_u_chk.c): Likewise.
22182         (CFLAGS-wprintf_chk.c): Likewise.
22183         (CFLAGS-fwprintf_chk.c): Likewise.
22184         (CFLAGS-vwprintf_chk.c): Likewise.
22185         (CFLAGS-vfwprintf_chk.c): Likewise.
22186         (CFLAGS-fgetws_chk.c): Likewise.
22187         (CFLAGS-fgetws_u_chk.c): Likewise.
22188         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22189         (CFLAGS-fputc.c): Likewise.
22190         (CFLAGS-fputwc.c): Likewise.
22191         (CFLAGS-freopen64.c): Likewise.
22192         (CFLAGS-freopen.c): Likewise.
22193         (CFLAGS-fseek.c): Likewise.
22194         (CFLAGS-fseeko64.c): Likewise.
22195         (CFLAGS-fseeko.c): Likewise.
22196         (CFLAGS-ftello64.c): Likewise.
22197         (CFLAGS-ftello.c): Likewise.
22198         (CFLAGS-fwide.c): Likewise.
22199         (CFLAGS-genops.c): Likewise.
22200         (CFLAGS-getc.c): Likewise.
22201         (CFLAGS-getchar.c): Likewise.
22202         (CFLAGS-getwc.c): Likewise.
22203         (CFLAGS-getwchar.c): Likewise.
22204         (CFLAGS-iofclose.c): Likewise.
22205         (CFLAGS-iofflush.c): Likewise.
22206         (CFLAGS-iofgetpos64.c): Likewise.
22207         (CFLAGS-iofgetpos.c): Likewise.
22208         (CFLAGS-iofgets.c): Likewise.
22209         (CFLAGS-iofgetws.c): Likewise.
22210         (CFLAGS-iofputs.c): Likewise.
22211         (CFLAGS-iofputws.c): Likewise.
22212         (CFLAGS-iofread.c): Likewise.
22213         (CFLAGS-iofsetpos64.c): Likewise.
22214         (CFLAGS-iofsetpos.c): Likewise.
22215         (CFLAGS-ioftell.c): Likewise.
22216         (CFLAGS-iofwrite.c): Likewise.
22217         (CFLAGS-iogetdelim.c): Likewise.
22218         (CFLAGS-iogetline.c): Likewise.
22219         (CFLAGS-iogets.c): Likewise.
22220         (CFLAGS-iogetwline.c): Likewise.
22221         (CFLAGS-ioputs.c): Likewise.
22222         (CFLAGS-ioseekoff.c): Likewise.
22223         (CFLAGS-ioseekpos.c): Likewise.
22224         (CFLAGS-iosetbuffer.c): Likewise.
22225         (CFLAGS-iosetvbuf.c): Likewise.
22226         (CFLAGS-ioungetc.c): Likewise.
22227         (CFLAGS-ioungetwc.c): Likewise.
22228         (CFLAGS-oldfileops.c): Likewise.
22229         (CFLAGS-oldiofclose.c): Likewise.
22230         (CFLAGS-oldiofgetpos64.c): Likewise.
22231         (CFLAGS-oldiofgetpos.c): Likewise.
22232         (CFLAGS-oldiofsetpos64.c): Likewise.
22233         (CFLAGS-oldiofsetpos.c): Likewise.
22234         (CFLAGS-peekc.c): Likewise.
22235         (CFLAGS-putc.c): Likewise.
22236         (CFLAGS-putchar.c): Likewise.
22237         (CFLAGS-putwc.c): Likewise.
22238         (CFLAGS-putwchar.c): Likewise.
22239         (CFLAGS-rewind.c): Likewise.
22240         (CFLAGS-wfileops.c): Likewise.
22241         (CFLAGS-wgenops.c): Likewise.
22242         (CFLAGS-oldiofopen.c): Likewise.
22243         (CFLAGS-iofopen.c): Likewise.
22244         (CFLAGS-iofopen64.c): Likewise.
22245         (CFLAGS-oldtmpfile.c): Likewise.
22246         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22247         (CFLAGS-fprintf.c): Likewise.
22248         (CFLAGS-printf.c): Likewise.
22249         (CFLAGS-vfwprintf.c): Likewise.
22250         (CFLAGS-vfscanf.c): Likewise.
22251         (CFLAGS-vfwscanf.c): Likewise.
22252         (CFLAGS-fscanf.c): Likewise.
22253         (CFLAGS-scanf.c): Likewise.
22254         (CFLAGS-isoc99_vfscanf.c): Likewise.
22255         (CFLAGS-isoc99_vscanf.c): Likewise.
22256         (CFLAGS-isoc99_fscanf.c): Likewise.
22257         (CFLAGS-isoc99_scanf.c): Likewise.
22258         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22259         (CFLAGS-isoc99_fwscanf.c): Likewise.
22260         (CFLAGS-isoc99_vwscanf.c): Likewise.
22261         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22263         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22264         after mkstemp64.
22265         * login/tst-utmp.c (do_prepare): Likewise.
22266         * rt/tst-aio.c (do_prepare): Likewise.
22267         * rt/tst-aio64.c (do_prepare): Likewise.
22269 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22271         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22272         (__lll_lock_elision): Remove adapt_count decrement...
22273         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22274         (__lll_trylock_elision): Likewise.
22275         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22276         (__lll_unlock_elision): ... to here. And utilize
22277         new adapt_count parameter.
22278         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22279         (__lll_unlock_elision): Update to include adapt_count
22280         parameter.
22281         (lll_unlock_elision): Pass pointer to adapt_count
22282         variable.
22284 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22286         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22287         Add elision adapt_count parameter to list of arguments.
22288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22289         (lll_unlock_elision): Update with new parameter list
22290         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22291         (lll_unlock_elision): Likewise.
22292         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22293         (lll_unlock_elision): Likewise.
22295 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22297         [BZ #19122]
22298         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22299         attribute_hidden.
22301         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22302         attribute_hidden.
22303         [IS_IN (rtld)] (__strdup): Likewise.
22304         [IS_IN (rtld)] (__strerror_r): Likewise.
22305         [IS_IN (rtld)] (__strsep_g): Likewise.
22306         [IS_IN (rtld)] (memchr): Likewise.
22307         [IS_IN (rtld)] (memcmp): Likewise.
22308         [IS_IN (rtld)] (memcpy): Likewise.
22309         [IS_IN (rtld)] (memmove): Likewise.
22310         [IS_IN (rtld)] (memset): Likewise.
22311         [IS_IN (rtld)] (rawmemchr): Likewise.
22312         [IS_IN (rtld)] (stpcpy): Likewise.
22313         [IS_IN (rtld)] (strchr): Likewise.
22314         [IS_IN (rtld)] (strcmp): Likewise.
22315         [IS_IN (rtld)] (strlen): Likewise.
22316         [IS_IN (rtld)] (strnlen): Likewise.
22317         [IS_IN (rtld)] (strsep): Likewise.
22319         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22320         attribute_hidden.
22321         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22323         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22324         attribute_hidden.
22325         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22327         * include/setjmp.h (__longjmp): Add attribute_hidden.
22328         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22330         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22331         Add attribute_hidden.
22333         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22334         [IS_IN (rtld)] (__open): Likewise.
22335         [IS_IN (rtld)] (__fcntl): Likewise.
22337         * include/dirent.h (__opendirat): Add attribute_hidden.
22338         (__getdents): Likewise.
22339         (__getdents64): Likewise.
22340         (__alloc_dir): Likewise.
22341         [IS_IN (rtld)] (__closedir): Likewise.
22342         [IS_IN (rtld)] (__fdopendir): Likewise.
22343         [IS_IN (rtld)] (__readdir): Likewise.
22344         [IS_IN (rtld)] (__readdir64): Likewise.
22345         [IS_IN (rtld)] (__rewinddir): Likewise.
22347         * include/dlfcn.h (_dl_catch_error): Moved to ...
22348         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22349         attribute_hidden.
22351         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22352         (_itoa_word): Likewise.
22354         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22355         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22356         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22357         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22358         (_dl_higher_prime_number): Likewise.
22359         (_dl_debug_printf_c): Likewise.
22360         (_dl_signal_cerror): Likewise.
22361         (_dl_receive_error): Likewise.
22362         (_dl_reloc_bad_type): Likewise.
22363         (_dl_resolve_conflicts): Likewise.
22364         (_dl_check_all_versions): Likewise.
22365         (_dl_check_map_versions): Likewise.
22366         (_dl_sort_fini): Likewise.
22367         (_dl_debug_initialize): Likewise.
22368         (_dl_init_paths): Likewise.
22369         (_dl_show_auxv): Likewise.
22370         (_dl_next_ld_env_entry): Likewise.
22371         (_dl_important_hwcaps): Likewise.
22372         (_dl_load_cache_lookup): Likewise.
22373         (_dl_update_slotinfo): Likewise.
22374         (_dl_show_scope): Likewise.
22376         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22377         attribute_hidden.
22378         (_wordcopy_fwd_dest_aligned): Likewise.
22379         (_wordcopy_bwd_aligned): Likewise.
22380         (_wordcopy_bwd_dest_aligned): Likewise.
22382         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22383         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22384         Likewise.
22385         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22386         Likewise.
22387         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22389 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22392         GCC 5 requirement.
22394 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22396         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22397         test.
22398         * sysdeps/i386/configure: Regenerated.
22399         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22400         code unconditional.
22402         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22403         test.
22404         (libc_cv_asm_popsection_directive): Likewise.
22405         * configure: Regenerated.
22406         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22407         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22408         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22409         (__make_section_unallocated): Make definition unconditional.
22410         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22411         Remove conditional definition.
22412         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22413         (__make_section_unallocated): Likewise.
22415         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22416         * configure: Regenerated.
22417         * config.make.in (static-libgcc): Remove variable.
22418         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22419         $(static-libgcc).
22420         (build-module-helper): Likewise.
22422         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22423         * configure: Regenerated.
22425 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22427         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22428         (struct char_buffer): New type.
22429         (char_buffer_start, char_buffer_size, char_buffer_error)
22430         (char_buffer_rewind, char_buffer_add): New functions.
22431         (ADDW): Remove macro, replaced by the char_buffer_add function.
22432         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22433         of extend_alloca.  Make control flow more explicit.
22435 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22437         [BZ #19137]
22438         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22439         Add -fomit-frame-pointer.
22440         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22442 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22444         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22445         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22446         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22447         only if !__GNUC_PREREQ (5,0).
22448         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22449         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22450         (INTERNAL_SYSCALL_NCS): Likewise.
22451         (LOADREGS_0): New macro for GCC 5.
22452         (ASMARGS_0): Likewise.
22453         (LOADREGS_1): Likewise.
22454         (ASMARGS_1): Likewise.
22455         (LOADREGS_2): Likewise.
22456         (ASMARGS_2): Likewise.
22457         (LOADREGS_3): Likewise.
22458         (ASMARGS_3): Likewise.
22459         (LOADREGS_4): Likewise.
22460         (ASMARGS_4): Likewise.
22461         (LOADREGS_5): Likewise.
22462         (ASMARGS_5): Likewise.
22463         (LOADREGS_6): Likewise.
22464         (ASMARGS_6): Likewise.
22466 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22468         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22469         -fomit-frame-pointer.
22470         (CFLAGS-mmap64.c): Likewise.
22471         (CFLAGS-semtimedop.c): Likewise.
22472         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22473         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22474         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22475         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22477 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22479         [BZ #18928]
22480         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22481         _dl_pointer_guard member.
22482         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22483         initializer.
22484         (security_init): Always set up pointer guard.
22485         (process_envvars): Do not process LD_POINTER_GUARD.
22487 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22489         [BZ #19134]
22490         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22491         (.LC2): Likewise.
22492         (.LC3): Likewise.
22493         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22495 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22497         [BZ #19129]
22498         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22499         r0 and r1.
22501 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22503         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22505 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22507         * include/stap-probe.h: Fix macro definition formatting.
22509 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22511         [BZ #19074]
22512         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22513         load and store num_ifs.
22515 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22517         [BZ #18822]
22518         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22519         (__sched_getaffinity_new): Add libc_hidden_proto and
22520         libc_hidden_def.
22522 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22524         [BZ #19007]
22525         * scripts/localplt.awk: Also allow GOT references.
22526         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22527         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22528         with "+ REL R_386_GLOB_DAT".
22529         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22530         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22532 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22534         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22535         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22536         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22537         Likewise.
22538         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22539         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22540         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22541         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22542         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22543         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22544         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22545         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22546         Likewise.
22547         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22549 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22551         [BZ #19125]
22552         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22553         <math_private.h> and <stdint.h>.
22554         (__llround): Avoid conversions to and from long long int, and
22555         subtractions, where those might raise spurious exceptions.
22556         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22557         <math_private.h> and <stdint.h>.
22558         (__llroundf): Avoid conversions to and from long long int, and
22559         subtractions, where those might raise spurious exceptions.
22561 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22563         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22564         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22565         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22566         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22567         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22568         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22569         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22570         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22571         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22572         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22573         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22574         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22575         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22576         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22577         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22578         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22579         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22580         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22581         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22582         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22583         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22584         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22585         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22586         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22587         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22588         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22589         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22590         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22591         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22592         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22593         (__xstat64_conv): Likewise.
22594         (__xstat32_conv): Likewise.
22596 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22598         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22599         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22600         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22601         <sysdeps/unix/sysv/linux/sysdep.h>.
22602         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22603         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22604         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22605         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22606         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22607         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22608         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22609         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22610         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22615         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22616         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22618         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22619         (sysdep-dl-routines): Add sysdep.
22620         [$(subdir) == nptl] (libpthread-routines): Likewise.
22621         [$(subdir) == rt] (librt-routines): Likewise.
22622         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22623         PIC when branching to SYSCALL_ERROR_LABEL.
22624         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22625         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22626         <sysdeps/unix/sysv/linux/sysdep.h>.
22627         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22628         (SYSCALL_ERROR_ERRNO): Removed.
22629         (SYSCALL_ERROR_HANDLER): Changed to empty.
22630         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22631         (__syscall_error): New prototype.
22632         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22633         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22635 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22637         [BZ #19124]
22638         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22639         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22640         _dl_runtime_resolve_avx.
22641         (_dl_runtime_profile_avx512): Make it a hidden alias of
22642         _dl_runtime_profile_avx.
22644 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22646         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22647         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22648         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22649         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22651         [BZ #16422]
22652         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22653         New configure test.
22654         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22655         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22656         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22657         <math_private.h> and <stdint.h>.
22658         (__llrint): Avoid conversions to long long int where those might
22659         raise spurious exceptions.
22660         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22661         <math_private.h> and <stdint.h>.
22662         (__llrintf): Avoid conversions to long long int where those might
22663         raise spurious exceptions.
22665 2015-10-12  Andreas Schwab  <schwab@suse.de>
22667         [BZ #18969]
22668         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22669         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22670         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22671         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22672         $(gen-locales).
22673         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22674         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22675         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22676         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22677         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22678         $(gen-locales).
22679         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22680         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22681         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22682         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22683         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22684         ($(objpfx)tst-ftell-active-handler.out)
22685         ($(objpfx)tst-ftell-append.out)
22686         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22687         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22688         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22689         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22690         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22691         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22692         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22693         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22694         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22695         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22696         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22697         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22698         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22699         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22700         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22701         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22702         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22703         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22704         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22705         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22706         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22707         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22708         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22709         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22710         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22711         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22712         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22713         $(gen-locales).
22714         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22715         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22716         $(gen-locales).
22717         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22718         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22719         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22720         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22721         $(gen-locales).
22722         * libio/tst_wprintf2.c (main): Use explicit locale.
22723         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22725 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22727         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22728         __msg_sig_post.
22729         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22731 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22733         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22734         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22736         * sysdeps/arm/libm-test-ulps: Regenerated.
22738         [BZ #15470]
22739         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22741         [BZ #16399]
22742         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22743         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22744         and <fix-fp-int-convert-overflow.h>.
22745         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22746         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22747         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22748         and <fix-fp-int-convert-overflow.h>.
22749         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22750         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22751         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22752         <fix-fp-int-convert-overflow.h>.
22753         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22754         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22755         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22756         <fix-fp-int-convert-overflow.h>.
22757         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22758         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22759         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22760         and <fix-fp-int-convert-overflow.h>.
22761         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22762         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22763         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22764         <limits.h> and <fix-fp-int-convert-overflow.h>.
22765         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22766         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22767         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22768         and <fix-fp-int-convert-overflow.h>.
22769         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22770         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22771         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22772         and <fix-fp-int-convert-overflow.h>.
22773         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22774         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22775         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22777 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22779         [BZ #18589]
22780         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22781         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22782         $(gen-locales).
22784 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22785             Phil Blundell <pb@pbcl.net>
22787         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22788         * nptl/tst-cancel26.c: New file.
22789         * nptl/tst-cancel27.c: Likewise.
22791 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22793         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22794         __ILP32__ isn't defined.
22795         (lrint): Likewise.
22796         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22797         (lrintf): Likewise.
22798         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22799         (lrintl): Likewise.
22800         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22801         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22802         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22804 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22806         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22807         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22809         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22810         file.
22811         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22812         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22814 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22816         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22817         configure test.
22818         * sysdeps/i386/configure: Regenerated.
22819         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22820         configure test.
22821         * sysdeps/x86_64/configure: Regenerated.
22822         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22823         Make code unconditional.
22825         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22826         test.
22827         * sysdeps/i386/configure: Regenerated.
22828         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22829         test.
22830         * sysdeps/x86_64/configure: Regenerated.
22831         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22832         Make code unconditional.
22833         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22834         Likewise.
22835         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22836         Likewise.
22837         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22838         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22839         code unconditional.
22840         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22841         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22842         code unconditional.
22843         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22844         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22845         code unconditional.
22846         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22847         code unconditional.
22848         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22849         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22850         code unconditional.
22851         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22852         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22853         code unconditional.
22854         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22855         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22856         code unconditional.
22857         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22858         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22859         code unconditional.
22860         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22861         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22863         [BZ #19095]
22864         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22865         mantissa to long int before shifting left.
22867 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22869         [BZ #19094]
22870         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22871         <limits.h>.
22872         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22873         when result overflows but exception would not result from cast.
22874         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22875         <limits.h>.
22876         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22877         when result overflows but exception would not result from cast.
22878         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22879         <limits.h>.
22880         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22881         when result overflows but exception would not result from cast.
22882         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22883         <limits.h>.
22884         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22885         when result overflows but exception would not result from cast.
22886         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22887         <limits.h>.
22888         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22889         when result overflows but exception would not result from cast.
22890         * math/libm-test.inc (lrint_test_data): Add more tests.
22891         (llrint_test_data): Likewise.
22893 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22895         [BZ #18872]
22896         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22897         Move out from under [$(run-built-tests) = yes] conditional.
22898         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22899         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22901 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22903         [BZ #18589]
22904         * string/Makefile (tests): Add bug-strcoll2.
22905         (LOCALES): Add cs_CZ.UTF-8.
22906         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22908         [BZ #18589]
22909         * string/bug-strcoll2.c: New file.
22910         * locale/categories.def: Revert commit
22911         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22912         * locale/langinfo.h: Likewise.
22913         * locale/localeinfo.h: Likewise.
22914         * locale/C-collate.c: Likewise.
22915         * locale/programs/ld-collate.c (collate_output): Likewise.
22916         * string/strcoll_l.c (STRDIFF): Likewise.
22917         (STRCOLL): Likewise.
22918         * wcsmbs/wcscoll_l.c: Likewise.
22920 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22922         * math/libm-test.inc (lround_test_data): Do not expect the absence
22923         of "inexact" for some tests with non-integer arguments.
22924         (llround_test_data): Likewise.
22926         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22927         test.
22928         (libc_cv_cc_sse2avx): Likewise.
22929         * sysdeps/i386/configure: Regenerated.
22930         * sysdeps/i386/i686/multiarch/Makefile
22931         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22932         [$(subdir) = math].
22933         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22934         code unconditional.
22935         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22936         Likewise.
22937         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22938         Likewise.
22939         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22940         Likewise.
22941         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22942         test.
22943         (libc_cv_cc_sse2avx): Likewise.
22944         * sysdeps/x86_64/configure: Regenerated.
22945         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22946         unconditional.
22947         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22948         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22949         unconditional.
22950         (_dl_runtime_profile)
22951         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22952         conditional code.
22953         * sysdeps/x86_64/fpu/multiarch/Makefile
22954         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22956         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22957         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22958         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22959         * sysdeps/x86_64/fpu/multiarch/e_log.c
22960         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22961         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22962         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22963         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22964         Likewise.
22965         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22966         Likewise.
22967         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22968         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22969         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22970         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22971         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22972         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22973         (HAVE_SSE2AVX_SUPPORT): Likewise.
22975 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22977         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22978         instead of #pragma optimize.
22980 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22982         [BZ #17195]
22983         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22984         as is similarly done in systrim and _int_free already.
22986 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22988         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22990 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22992         [BZ #19088]
22993         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22994         <limits.h>.
22995         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22996         overflows but exception would not result from cast.
22997         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22998         and <limits.h>.
22999         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23000         overflows but exception would not result from cast.
23001         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23002         <limits.h>.
23003         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23004         overflows but exception would not result from cast.
23005         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23006         <limits.h>.
23007         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23008         overflows but exception would not result from cast.
23009         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23010         <limits.h>.
23011         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23012         overflows but exception would not result from cast.
23013         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23014         <limits.h>.
23015         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23016         overflows but exception would not result from cast.
23017         * math/libm-test.inc (lround_test_data): Add more tests.
23018         (llround_test_data): Likewise.
23020 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23022         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23023         (CFLAGS-ialloc.c): Ditto.
23024         (CFLAGS-scheck.c): Ditto.
23026 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23028         [BZ #19086]
23029         * manual/filesys.texi (Storage Allocation): Fix argument order for
23030         posix_fallocate64.
23032 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23034         [BZ #19085]
23035         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23036         exponent below 48 inside case for non-overflowing exponent.
23037         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23039 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23041         * iconvdata/cp737.h (from_idx): Add const.
23042         * iconvdata/cp775.h (from_idx): Likewise.
23044 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23046         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23047         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23048         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23050         [BZ #19079]
23051         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23052         file, conditioned on [!_LP64].
23053         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23054         [!_LP64] (__lround): Do not define as function or alias.
23055         [!_LP64] (lround): Likewise.
23056         [!_LP64] (__lroundl): Likewise.
23057         [!_LP64] (lroundl): Likewise.
23058         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23059         macro.
23060         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23061         Likewise.
23063 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23065         * math/libm-test.inc (lrint_test_data): Add more tests.
23066         (llrint_test_data): Likewise.
23067         (lround_test_data): Likewise.
23068         (llround_test_data): Likewise.
23070         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23071         (llrint_test_data): Add tests used for lrint.
23073         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23074         test.
23075         * sysdeps/i386/configure: Regenerated.
23076         * sysdeps/i386/i686/multiarch/Makefile
23077         [$(config-cflags-sse4) = yes]: Make code unconditional.
23078         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23079         Likewise.
23080         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23081         Likewise.
23082         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23083         test.
23084         * sysdeps/x86_64/configure: Regenerated.
23085         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23086         Make code unconditional.
23087         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23088         Likewise.
23089         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23090         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23092         * scripts/rpm2dynsym.sh: Remove file.
23094 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23096         * configure.ac (libc_cv_cxx_thread_local): Define.
23097         * configure: Regenerate.
23098         * config.make.in (have-cxx-thread_local): Define.
23099         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23100         (LDLIBS-tst-thread_local1): Define.
23101         (tests): Add tst-thread_local1.
23102         [have-cxx-thread_local != yes] (tests-unsupported): Add
23103         tst-thread_local1.
23104         * nptl/tst-thread_local1.cc: New file.
23106 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23108         [BZ #19078]
23109         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23110         (u_thres): Likewise.
23111         (__expl): Determine whether to call __kernel_standard_l based on
23112         value of result, not argument.
23114         * math/libm-test.inc (scalb_test_data): Add more expectations for
23115         the "inexact" exception.
23117         [BZ #19077]
23118         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23119         0.0L for argument 1.0L.
23121         [BZ #19076]
23122         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23123         constant 0.0L when computing infinite result.
23125 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23127         [BZ #10432]
23128         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23129         malloc_usable_size.
23131 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23133         [BZ #19018]
23134         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23135         Mangle function pointer before storing it.
23136         (__call_tls_dtors): Demangle function pointer before calling it.
23138 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23140         [BZ #19012]
23141         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23142         Clean up on failure.
23144 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23146         [BZ #19071]
23147         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23148         long int variable to store possibly incremented high part of
23149         mantissa.
23150         * math/libm-test.inc (lround_test_data): Add tests used for
23151         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23152         for tests requiring 64-bit long.  Do not condition tests on
23153         [TEST_FLOAT] unnecessarily.
23154         (llround_test_data): Add tests used for lround.  Add another
23155         expectation for the "inexact" exception.  Do not condition tests
23156         on [TEST_FLOAT] unnecessarily.
23158         [BZ #887]
23159         [BZ #19049]
23160         [BZ #19050]
23161         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23162         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23163         <fix-int-fp-convert-zero.h>.
23164         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23165         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23166         <fix-int-fp-convert-zero.h>.
23167         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23168         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23169         <fix-int-fp-convert-zero.h>.
23170         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23171         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23172         <fix-int-fp-convert-zero.h>.
23173         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23174         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23175         <fix-int-fp-convert-zero.h>.
23176         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23177         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23178         <fix-int-fp-convert-zero.h>.
23179         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23180         * sysdeps/ieee754/flt-32/s_erff.c: Include
23181         <fix-int-fp-convert-zero.h>.
23182         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23183         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23184         <fix-int-fp-convert-zero.h>.
23185         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23186         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23187         <fix-int-fp-convert-zero.h>.
23188         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23190         <fix-int-fp-convert-zero.h>.
23191         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23192         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23193         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23194         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23195         file.
23196         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23198 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23202 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23204         [BZ #19059]
23205         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23206         overflowing computation.
23207         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23208         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23209         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23210         Likewise.
23211         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23212         Likewise.
23213         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23214         Likewise.
23215         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23216         Likewise.
23217         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23218         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23219         Likewise.
23220         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23221         Likewise.
23222         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23224         * nss/rewrite_field.c (__nss_rewrite_field): Use
23225         internal_function.
23226         * nss/valid_field.c (__nss_valid_field): Likewise.
23227         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23229 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23231         [BZ #18724]
23232         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23233         (__nss_invalid_field_characters, __nss_valid_field)
23234         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23235         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23236         tst-field.c: New file.
23237         * nss/Makefile (routines): Add valid_field, rewrite_field.
23238         (tests-static): Define unconditionally.
23239         (tests): Include tests-static.
23240         [build-static-nss] (tests-static): Use append.
23241         [build-static-nss] (tests): Remove modification.
23242         * nss/getent.c (print_group): Call putgrent.  Report error.
23243         (print_gshadow): Call putsgent.  Report error.
23244         (print_passwd): Call putpwent.  Report error.
23245         (print_shadow): Call putspent.  Report error.
23246         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23247         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23248         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23249         name, password, directory, shell fields for valid syntax.  Rewrite
23250         GECOS field to match syntax.
23251         * pwd/Makefile (tests): Add tst-putpwent.
23252         * pwd/tst-putpwent.c: New file.
23253         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23254         Check grName, grpasswd, gr_mem fields for valid syntax.
23255         Change loop variable i to size_t.
23256         * grp/Makefile (tests): Add tst-putgrent.
23257         * grp/tst-putgrent.c: New file.
23258         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23259         valid syntax.
23260         * shadow/Makefile (tests): Add tst-putspent.
23261         * shadow/tst-putspent.c: New file.
23262         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23263         sg_mem fields for valid syntax.
23264         * gshadow/Makefile (tests): Add tst-putsgent.
23265         * gshadow/tst-putsgent.c: New file.
23267 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23269         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23270         assembly instructions.
23272 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23274         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23275         prefix from operands.
23277 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23279         [BZ #16347]
23280         [BZ #19046]
23281         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23282         <libc-internal.h>.
23283         (MAXLGM): Do not use diagnostic control macros.
23284         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23285         threshold for ldbl-128ibm.
23286         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23287         instead of multiplying by log then subtracting.
23288         * math/auto-libm-test-in: Add more tests of lgamma.
23289         * math/auto-libm-test-out: Regenerated.
23291         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23292         (TYPE_HEX_DIG): Likewise.
23293         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23294         precisions when printing floating-point numbers.
23295         (check_float_internal): Likewise.
23297 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23299         [BZ #16620]
23300         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23301         of log (10) rounded downward to 48 bits.
23302         (log10_low): Use corresponding low part of log (10).
23304         [BZ #19032]
23305         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23306         compute result as (x - x) / (x - x) not as 0 / 0.
23307         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23308         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23310         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23311         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23312         and expm1.
23313         * math/auto-libm-test-out: Regenerated.
23314         * math/libm-test.inc (acos_test_data): Add more tests.
23315         (asin_test_data): Likewise.
23316         (asinh_test_data): Likewise.
23317         (atan_test_data): Likewise.
23318         (atanh_test_data): Likewise.
23319         (atan2_test_data): Likewise.
23320         (cbrt_test_data): Likewise.
23321         (ceil_test_data): Likewise.
23322         (copysign_test_data): Likewise.
23323         (cos_test_data): Likewise.
23324         (cosh_test_data): Likewise.
23325         (erf_test_data): Likewise.
23326         (erfc_test_data): Likewise.
23327         (exp_test_data): Likewise.
23328         (exp10_test_data): Likewise.
23329         (exp2_test_data): Likewise.
23330         (expm1_test_data): Likewise.
23331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23333 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23335         [BZ #19006]
23336         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23337         to ...
23338         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23339         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23340         to ...
23341         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23342         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23343         to ...
23344         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23345         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23346         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23347         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23348         to ...
23349         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23350         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23351         Moved to ...
23352         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23353         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23354         Moved to ...
23355         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23356         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23357         to ...
23358         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23359         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23360         Moved to ...
23361         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23362         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23363         to ...
23364         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23365         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23366         Removed.
23367         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23368         Likewise.
23369         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23370         Likewise.
23371         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23372         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23373         Likewise.
23374         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23375         Likewise.
23376         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23377         Likewise.
23378         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23379         Likewise.
23380         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23381         Likewise.
23382         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23383         Likewise.
23384         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23385         Likewise.
23386         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23387         Likewise.
23388         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23389         Likewise.
23390         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23391         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23392         Likewise.
23393         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23394         Likewise.
23395         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23396         Likewise.
23397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23398         Likewise.
23399         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23400         Likewise.
23401         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23402         Replace ../i486/pthread_cond_timedwait.S with
23403         ../pthread_cond_timedwait.S.
23405 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23407         * math/libm-test.inc (acos_test_data): Refine expectations for
23408         errno and "inexact" exceptions.
23409         (acosh_test_data): Likewise.
23410         (asin_test_data): Likewise.
23411         (asinh_test_data): Likewise.
23412         (atan_test_data): Likewise.
23413         (atanh_test_data): Likewise.
23414         (atan2_test_data): Likewise.
23415         (cbrt_test_data): Likewise.
23416         (ceil_test_data): Likewise.
23417         (copysign_test_data): Likewise.
23418         (cosh_test_data): Likewise.
23419         (erf_test_data): Likewise.
23420         (erfc_test_data): Likewise.
23421         (exp_test_data): Likewise.
23422         (exp10_test_data): Likewise.
23423         (exp2_test_data): Likewise.
23424         (expm1_test_data): Likewise.
23425         (fabs_test_data): Likewise.
23426         (floor_test_data): Likewise.
23427         (fma_test_data): Likewise.
23428         (fmax_test_data): Likewise.
23429         (fmin_test_data): Likewise.
23430         (fmod_test_data): Likewise.
23431         (fpclassify_test_data): Likewise.
23432         (frexp_test_data): Likewise.
23433         (hypot_test_data): Likewise.
23434         (ilogb_test_data): Likewise.
23435         (isgreater_test_data): Likewise.
23436         (isgreaterequal_test_data): Likewise.
23437         (isinf_test_data): Likewise.
23438         (isless_test_data): Likewise.
23439         (islessequal_test_data): Likewise.
23440         (islessgreater_test_data): Likewise.
23441         (isnan_test_data): Likewise.
23442         (isnormal_test_data): Likewise.
23443         (issignaling_test_data): Likewise.
23444         (isunordered_test_data): Likewise.
23445         (j0_test_data): Likewise.
23446         (j1_test_data): Likewise.
23447         (jn_test_data): Likewise.
23448         (lgamma_test_data): Likewise.
23449         (lrint_test_data): Likewise.
23450         (llrint_test_data): Likewise.
23451         (log_test_data): Likewise.
23452         (log10_test_data): Likewise.
23453         (log1p_test_data): Likewise.
23454         (log2_test_data): Likewise.
23455         (logb_test_data): Likewise.
23456         (lround_test_data): Likewise.
23457         (llround_test_data): Likewise.
23458         (modf_test_data): Likewise.
23459         (nearbyint_test_data): Likewise.
23460         (nextafter_test_data): Likewise.
23461         (nexttoward_test_data): Likewise.
23462         (pow_test_data): Likewise.
23463         (remainder_test_data): Likewise.
23464         (remquo_test_data): Likewise.
23465         (rint_test_data): Likewise.
23466         (round_test_data): Likewise.
23467         (signbit_test_data): Likewise.
23468         (sinh_test_data): Likewise.
23469         (sqrt_test_data): Likewise.
23470         (tanh_test_data): Likewise.
23471         (tgamma_test_data): Likewise.
23472         (trunc_test_data): Likewise.
23473         (y0_test_data): Likewise.
23474         (y1_test_data): Likewise.
23475         (yn_test_data): Likewise.
23476         (significand_test_data): Likewise.
23478 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23480         * manual/filesys.texi (Storage Allocation): Document that
23481         posix_fallocate emulation fails when fd is open with O_WRONLY.
23483 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23485         [BZ #19016]
23486         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23487         allow more cases with X^2 + Y^2 >= 0.5.
23488         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23489         normal element in sum instead of special-casing based on values of
23490         arguments.
23491         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23492         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23493         -1 as normal element in sum instead of special-casing based on
23494         values of arguments.
23495         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23496         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23497         (__x2y2m1): Update comment.
23498         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23499         as normal element in sum instead of special-casing based on values
23500         of arguments.
23501         * math/s_clog.c (__clog): Handle more cases using log1p without
23502         hypot.
23503         * math/s_clog10.c (__clog10): Likewise.
23504         * math/s_clog10f.c (__clog10f): Likewise.
23505         * math/s_clog10l.c (__clog10l): Likewise.
23506         * math/s_clogf.c (__clogf): Likewise.
23507         * math/s_clogl.c (__clogl): Likewise.
23508         * math/auto-libm-test-in: Add more tests of clog and clog10.
23509         * math/auto-libm-test-out: Regenerated.
23510         * sysdeps/i386/fpu/libm-test-ulps: Update.
23511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23513 2015-09-28  Martin Sebor  <msebor@redhat.com>
23515         [BZ #18969]
23516         * string/Makefile (LOCALES): Define.
23517         (gen-locales.mk): Include.
23518         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23519         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23520         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23521         on setlocale failure.
23523 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23525         [BZ #18985]
23526         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23527         (__strftime_internal): Likewise.
23528         * time/tst-strftime.c (do_bz18985): New test.
23529         (do_test): Call it.
23531 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23533         [BZ #18956]
23534         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23535         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23536         extracting high part.
23537         * math/auto-libm-test-in: Add another test of pow.
23538         * math/auto-libm-test-out: Regenerated.
23539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23541 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23543         [BZ #18825]
23544         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23545         New macro.
23546         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23547         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23548         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23549         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23550         DBL_NARROW_EVAL, reloading the PIC register as needed.
23551         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23552         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23553         FLT_NARROW_EVAL.  Use separate return path for case when first
23554         argument is NaN.
23555         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23556         DEFINE_LDBL_MIN.
23557         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23558         PIC register.
23559         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23560         math_check_force_underflow_nonneg.
23561         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23562         underflow for subnormal result.
23563         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23564         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23565         math_check_force_underflow_nonneg.
23566         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23567         math_check_force_underflow.
23568         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23569         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23570         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23571         DEFINE_LDBL_MIN.
23572         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23573         * math/auto-libm-test-in: Add more tests of pow.
23574         * math/auto-libm-test-out: Regenerated.
23576 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23578         * nss/bug17079.c (init_test_items): Add diagnostic for
23579         inconsistent entries.
23580         (test_buffer_size): Skip inconsistent entries.
23582 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23584         [BZ #13304]
23585         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23586         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23587         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23589         [BZ #13304]
23590         * sysdeps/microblaze/s_fma.c: New file.
23591         * sysdeps/microblaze/s_fmaf.c: Likewise.
23592         * sysdeps/microblaze/sfp-machine.h: Likewise.
23594 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23596         [BZ #17250]
23597         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23598         member.
23600 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23602         [BZ #18803]
23603         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23604         (MO): New macro.
23605         (__ieee754_hypot) [PIC]: Load PIC register.
23606         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23607         DBL_NARROW_EVAL.
23608         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23609         math_check_force_underflow_nonneg in case where result might be
23610         tiny.
23611         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23612         Likewise.
23613         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23614         Likewise.
23615         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23616         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23617         * math/auto-libm-test-in: Add more tests of hypot.
23618         * math/auto-libm-test-out: Regenerated.
23620 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23622         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23624 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23626         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23627         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23628         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23629         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23630         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23631         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23632         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23634         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23635         LOAD_PIC_REG.
23637         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23638         (FLT_CHECK_FORCE_UFLOW): Likewise.
23639         (DBL_CHECK_FORCE_UFLOW): Likewise.
23640         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23641         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23642         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23643         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23644         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23645         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23646         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23647         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23648         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23649         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23650         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23651         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23652         (flt_min): Replace with use of DEFINE_FLT_MIN.
23653         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23654         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23655         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23656         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23657         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23658         (flt_min): Replace with use of DEFINE_FLT_MIN.
23659         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23660         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23662         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23663         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23664         (flt_min): Replace with use of DEFINE_FLT_MIN.
23665         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23666         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23667         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23668         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23669         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23670         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23671         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23672         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23673         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23674         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23675         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23676         (flt_min): Replace with use of DEFINE_FLT_MIN.
23677         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23678         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23679         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23680         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23681         main computation.
23682         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23683         (flt_min): Replace with use of DEFINE_FLT_MIN.
23684         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23685         main computation.
23686         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23687         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23688         (MO): New macro.
23689         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23690         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23691         (flt_min): Replace with use of DEFINE_FLT_MIN.
23692         (MO): New macro.
23693         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23694         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23695         (__log1pl): Use MO.
23697         [BZ #19003]
23698         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23699         $(config-cflags-nofma).
23701 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23703         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23705 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23707         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23708         (TWO127): Likewise.
23710         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23711         (min_of_type): Likewise.
23712         (math_check_force_underflow): Likewise.
23713         (math_check_force_underflow_nonneg): Likewise.
23714         (math_check_force_underflow_complex): Likewise.
23715         * math/e_exp2l.c (__ieee754_exp2l): Use
23716         math_check_force_underflow_nonneg.
23717         * math/k_casinh.c (__kernel_casinh): Likewise.
23718         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23719         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23720         * math/s_catan.c (__catan): Use
23721         math_check_force_underflow_complex.
23722         * math/s_catanf.c (__catanf): Likewise.
23723         * math/s_catanh.c (__catanh): Likewise.
23724         * math/s_catanhf.c (__catanhf): Likewise.
23725         * math/s_catanhl.c (__catanhl): Likewise.
23726         * math/s_catanl.c (__catanl): Likewise.
23727         * math/s_ccosh.c (__ccosh): Likewise.
23728         * math/s_ccoshf.c (__ccoshf): Likewise.
23729         * math/s_ccoshl.c (__ccoshl): Likewise.
23730         * math/s_cexp.c (__cexp): Likewise.
23731         * math/s_cexpf.c (__cexpf): Likewise.
23732         * math/s_cexpl.c (__cexpl): Likewise.
23733         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23734         * math/s_clog10.c (__clog10): Likewise.
23735         * math/s_clog10f.c (__clog10f): Likewise.
23736         * math/s_clog10l.c (__clog10l): Likewise.
23737         * math/s_clogf.c (__clogf): Likewise.
23738         * math/s_clogl.c (__clogl): Likewise.
23739         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23740         * math/s_csinf.c (__csinf): Likewise.
23741         * math/s_csinh.c (__csinh): Likewise.
23742         * math/s_csinhf.c (__csinhf): Likewise.
23743         * math/s_csinhl.c (__csinhl): Likewise.
23744         * math/s_csinl.c (__csinl): Likewise.
23745         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23746         * math/s_csqrtf.c (__csqrtf): Likewise.
23747         * math/s_csqrtl.c (__csqrtl): Likewise.
23748         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23749         * math/s_ctanf.c (__ctanf): Likewise.
23750         * math/s_ctanh.c (__ctanh): Likewise.
23751         * math/s_ctanhf.c (__ctanhf): Likewise.
23752         * math/s_ctanhl.c (__ctanhl): Likewise.
23753         * math/s_ctanl.c (__ctanl): Likewise.
23754         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23755         instead of volatile.
23756         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23757         math_check_force_underflow.
23758         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23759         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23760         volatile when forcing underflow.
23761         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23762         math_check_force_underflow_nonneg.
23763         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23764         Likewise.
23765         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23766         math_check_force_underflow.
23767         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23768         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23769         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23770         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23771         math_check_force_underflow_nonneg.
23772         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23773         math_check_force_underflow.
23774         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23776         instead of volatile.
23777         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23778         math_check_force_underflow.
23779         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23780         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23781         math_check_force_underflow_nonneg.
23782         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23783         math_check_force_underflow.
23784         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23785         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23786         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23787         math_check_force_underflow_nonneg.
23788         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23789         Likewise.
23790         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23791         math_check_force_underflow.
23792         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23793         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23794         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23795         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23796         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23797         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23798         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23799         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23800         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23801         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23802         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23803         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23804         Likewise.
23805         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23806         math_check_force_underflow_nonneg.
23807         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23808         Likewise.
23809         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23810         math_check_force_underflow.
23811         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23812         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23813         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23814         Likewise.
23815         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23816         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23817         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23818         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23819         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23820         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23821         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23822         instead of volatile.
23823         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23824         math_check_force_underflow.
23825         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23827         math_check_force_underflow.
23828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23829         Likewise.
23830         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23831         Use math_check_force_underflow_nonneg.
23832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23833         math_check_force_underflow.
23834         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23835         Likewise.
23836         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23837         Likewise.
23838         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23839         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23840         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23842         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23843         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23844         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23845         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23846         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23847         math_check_force_underflow_nonneg.
23848         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23849         math_check_force_underflow.
23850         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23851         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23852         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23853         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23854         math_check_force_underflow_nonneg.
23855         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23856         math_check_force_underflow.
23857         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23859         instead of volatile.
23860         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23861         math_check_force_underflow.
23863         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23864         * stdlib/strtod_l.c: Include <math_private.h>.
23865         (overflow_value): Use math_narrow_eval.
23866         (underflow_value): Likewise.
23867         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23868         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23869         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23870         (__ieee754_gamma_r): Likewise.
23871         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23872         Likewise.
23873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23874         Likewise.
23875         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23876         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23877         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23878         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23879         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23880         (__ieee754_gammaf_r): Likewise.
23881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23882         Likewise.
23883         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23884         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23885         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23886         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23887         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23888         volatile.
23889         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23890         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23891         math_narrow_eval.
23892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23893         Likewise.
23894         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23895         Likewise.
23896         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23897         Likewise.
23898         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23899         volatile.
23900         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23902         math_narrow_eval.
23903         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23904         Likewise.
23905         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23906         Likewise.
23908 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23910         * nptl/Versions: Remove ignored symbols.
23912 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23914         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23915         * nss/Makefile (tests): Update.
23917 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23919         * nss/bug18287.c: New file.
23920         * nss/Makefile (tests): Add bug18287.
23922 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23924         * mach/Versions (__mach_host_self_): Add symbol.
23926 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23928         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23929         vm_page_size.
23931 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23933         Really fix sysdeps/i386/fpu/s_scalbn.S build
23935         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23936         (libc: GLIBC_2_22): Remove unused version set.
23938 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23940         * config.make.in (enable-timezone-tools): New variable.
23941         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23942         (enable_timezone_tools): Export to generated files.
23943         * configure: Regenerate.
23944         * INSTALL: Regenerate.
23945         * manual/install.texi (--disable-timezone-tools): Document new flag.
23946         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23947         ifeq ($(enable-timezone-tools),yes) check.
23949 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23951         * timezone/Makefile: Revert previous change.
23953         [BZ #18980]
23954         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23955         (DEFINE_DBL_MIN): Likewise.
23956         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23957         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23958         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23959         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23960         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23961         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23962         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23963         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23964         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23965         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23966         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23967         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23968         (flt_min): Replace with use of DEFINE_FLT_MIN.
23969         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23970         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23971         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23972         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23973         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23974         (flt_min): Replace with use of DEFINE_FLT_MIN.
23975         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23976         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23977         (flt_min): Replace with use of DEFINE_FLT_MIN.
23978         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23979         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23980         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23981         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23982         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23983         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23984         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23985         (__ieee754_pow): Use DBL_NARROW_EVAL.
23986         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23987         (__ieee754_powf): Use FLT_NARROW_EVAL.
23988         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23989         (__ieee754_expf_sse2): Convert double-precision result to single
23990         precision.
23991         * sysdeps/i386/fpu/libm-test-ulps: Update.
23993 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23995         * timezone/Makefile: Ignore unused variable errors due to private.h
23996         (time_t_min) and (time_t_max).
23997         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23998         Likewise.
24000 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24002         [BZ #18981]
24003         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24004         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24005         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24006         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24007         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24008         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24009         (__scalbn): Use DBL_NARROW_EVAL.
24010         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24011         (__scalbnf): Use FLT_NARROW_EVAL.
24013 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24015         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24016         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24017         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24018         * stdio-common/printf_fp.c (___printf_fp):
24019         Use signbit to get the sign. Use isinf macro to allow inlining.
24020         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24021         * stdio-common/printf_size.c (__printf_size): Likewise.
24023 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24025         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24027 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24029         [BZ #18980]
24030         * sysdeps/generic/math_private.h: Include <float.h>.
24031         (math_narrow_eval): New macro.
24032         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24033         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24034         math_narrow_eval on overflowing return value.
24035         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24036         Likewise.
24037         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24038         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24039         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24040         Likewise.
24041         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24043 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24045         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24046         * math/Makefile: Remove isinf_ns.c.
24047         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24048         * math/multc3.c (__multc3): Likewise.
24049         * math/s_casin.c (__casin): Likewise.
24050         * math/s_casinf.c (__casinf): Likewise.
24051         * math/s_casinl.c (__casinl): Likewise.
24052         * math/s_cproj.c (__cproj): Likewise.
24053         * math/s_cprojf.c (__cprojf): Likewise.
24054         * math/s_cprojl.c (__cprofl): Likewise.
24055         * math/s_ctan.c (__ctan): Likewise.
24056         * math/s_ctanf.c (__ctanf): Likewise.
24057         * math/s_ctanh.c (__ctanh): Likewise.
24058         * math/s_ctanhf.c (__ctanhf): Likewise.
24059         * math/s_ctanhl.c (__ctanhl): Likewise.
24060         * math/s_ctanl.c (__ctanl): Likewise.
24061         * math/w_fmod.c (__fmod): Likewise.
24062         * math/w_fmodf.c (__fmodf): Likewise.
24063         * math/w_fmodl.c (_fmodl): Likewise.
24064         * math/w_remainder.c (__remainder): Likewise.
24065         * math/w_remainderf.c (__remainderf): Likewise.
24066         * math/w_remainderl.c (__remainderl): Likewise.
24067         * math/w_scalb.c (__scalb): Likewise.
24068         * math/w_scalbf.c (__scalbf): Likewise.
24069         * math/w_scalbl.c (__scalbl): Likewise.
24070         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24071         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24072         with isinf.
24073         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24075         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24076         __isinf_nsf with isinf.
24077         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24078         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24079         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24080         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24081         with isinf.
24082         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24083         __isinf_nsl with isinf.
24084         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24085         with isinf.
24086         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24087         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24088         __isinf_nsl with isinf.
24089         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24090         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24091         with isinf.
24093 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24095         * resolv/base64.c (rcsid): Remove unused static.
24096         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24097         static.  (tqpi1): Likewise.
24098         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24099         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24100         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24101         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24102         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24103         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24104         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24105         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24106         Likewise.
24108 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24110         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24111         <nptl/pthreadP.h>.
24112         (_longjmp_unwind): Use __libc_ptf_call.
24113         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24115 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24117         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24118         * sysdeps/arm/__longjmp.S: Likewise.
24120 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24122         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24123         Use __builtin_signbit.
24124         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24125         Use __builtin_signbitf.
24126         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24127         Use __builtin_signbitl.
24128         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24129         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24131 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24133         [BZ #15367]
24134         [BZ #17441]
24136         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24137         * math/math.h (fpclassify): Use __builtin_fpclassify when
24138         available.  (signbit): Use __builtin_signbit(f/l).
24139         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24140         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24141         (isinf): Use __builtin_isinf_sign.
24143 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24145         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24146         * benchtests/bench-math-inlines.c: New benchmark.
24147         * benchtests/bench-util.h: New file.
24148         * benchtests/bench-util.c: New file.
24149         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24151 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24153         * elf/tst-dlmopen1.c: Define TEST_SO.
24154         (do_test): Use TEST_SO.
24156         * elf/dl-load.c: Include libc-internal.h.
24157         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24159 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24161         [BZ #17887]
24162         * time/strptime_l.c (__strptime_internal): Make %z accept
24163         [+-]HH:MM time zones.
24165 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24167         [BZ #17886]
24168         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24169         valid time zone.
24171 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24173         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24174         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24175         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24176         (__ASSUME_FDATASYNC): Delete.
24178 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24180         * conform/linknamespace.pl: Require weak undefined symbols to be
24181         in the standard namespace.
24182         (%strong_syms): Rename to %seen_syms.
24183         (%strong_seen): Rename to %seen_where.
24185 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24187         [BZ #18970]
24188         * misc/error.c (error): Replace pthread_setcancelstate with
24189         __pthread_setcancelstate.
24190         (error_at_line): Likewise.
24191         * posix/wordexp.c (parse_comm): Likewise.
24192         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24193         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24194         (__pthread_setcancelstate): This.
24195         (pthread_setcancelstate): Add an alias.
24196         * nptl/nptl-init.c (pthread_functions): Replace
24197         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24198         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24199         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24200         hidden_proto.
24201         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24202         it with hidden_def.
24203         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24204         (pthread_setcancelstate): Renamed to ...
24205         (__pthread_setcancelstate): This.
24206         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24207         __libc_ptf_call with __pthread_setcancelstate.
24209 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24210             Andreas Schwab  <schwab@suse.de>
24212         [BZ #17118]
24213         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24214         result when imaginary part of argument is infinite using sine and
24215         cosine.
24216         * math/s_ctanf.c (__ctanf): Likewise.
24217         * math/s_ctanl.c (__ctanl): Likewise.
24218         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24219         of result when real part of argument is infinite using sine and
24220         cosine.
24221         * math/s_ctanhf.c (__ctanhf): Likewise.
24222         * math/s_ctanhl.c (__ctanhl): Likewise.
24223         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24224         (ctanh_test_data): Add more tests of ctanh.
24226 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24228         [BZ #15384]
24229         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24230         bit-mask as in subtraction.
24231         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24232         Likewise.
24233         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24234         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24235         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24237         [BZ #18951]
24238         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24239         underflow exception for small results.
24240         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24241         Likewise.
24242         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24243         Likewise.
24244         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24245         Likewise.
24246         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24247         Likewise.
24248         * math/auto-libm-test-in: Add more tests of tgamma.
24249         * math/auto-libm-test-out: Regenerated.
24251 2015-09-17  Andreas Schwab  <schwab@suse.de>
24253         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24255 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24257         [BZ #18977]
24258         * math/bits/mathcalls.h
24259         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24260         not declare.
24261         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24262         Likewise.
24263         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24264         Likewise.
24265         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24266         Likewise.
24267         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24268         Likewise.
24269         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24270         Likewise.
24271         * conform/data/math.h-data
24272         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24273         function.
24274         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24275         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24276         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24277         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24278         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24279         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24280         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24281         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24282         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24283         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24284         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24286         [BZ #6803]
24287         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24288         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24289         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24290         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24291         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24292         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24293         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24294         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24295         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24296         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24297         Likewise.
24298         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24299         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24300         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24301         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24302         long_double_symbol calls.
24303         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24304         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24305         strong alias of __ldexpl.
24306         (scalbnl): Define using long_double_symbol.
24307         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24308         Remove alias.
24309         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24310         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24311         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24312         (scalbln_test_data): Add more errno expectations.
24314 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24316         Cache the host port like we cache the task port.  This way we do not
24317         need to call the kernel just to get the port.  Furthermore, we no
24318         longer increase the reference count on every invocation of
24319         `mach_host_self'.
24321         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24322         Protect declarations against the macro expansion.
24323         * mach/mach_init.c (__mach_host_self_): New variable.
24324         (mach_init): Initialize `__mach_host_self_'.
24325         * mach/mach_init.h (__mach_host_self_): New declaration.
24326         (__mach_host_self, mach_host_self): New macros.
24327         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24328         Release reference.
24330 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24332         [BZ #4404]
24333         * po/de.po: Update from Translation Project.
24335         [BZ #16415]
24336         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24337         (__expm1l): Remove code to handle positive infinity and overflow.
24338         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24339         variable.
24340         (__expm1l): Remove code to handle positive infinity and overflow.
24342 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24343             Paul Pluzhnikov  <ppluzhnikov@google.com>
24345         [BZ #18872]
24346         * stdio-common/Makefile (tst-printf-bz18872): New test.
24347         (tst-printf-bz18872-mem.out): Likewise.
24348         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24349         * stdio-common/vfprintf.c: Fix memory leaks.
24351 2015-09-16  Andreas Schwab  <schwab@suse.de>
24353         [BZ #17244]
24354         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24355         Remove extra va_start/va_end calls.
24357         [BZ #17243]
24358         * posix/execl.c (execl): Add missing va_end.
24359         * posix/execle.c (execle): Likewise.
24360         * posix/execlp.c (execlp): Likewise.
24362 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24364         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24365         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24367 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24369         [BZ #18967]
24370         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24371         undefine around includes of <bits/mathcalls.h>.
24372         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24373         not declare function.
24374         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24375         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24376         (scalb): Likewise.
24377         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24378         not define macro.
24379         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24380         variable.
24381         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24382         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24383         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24385         [BZ #18857]
24386         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24387         return non-finite argument without doing ordered comparisons on
24388         it.
24390         [BZ #16296]
24391         * math/fenv.h (fegetround): Use __attribute_pure__.
24392         * include/fenv.h (__fegetround): Likewise.
24394         [BZ #18595]
24395         * math/s_ctan.c (__ctan): Force underflow exception for results
24396         whose real or imaginary part has small absolute value.
24397         * math/s_ctanf.c (__ctanf): Likewise.
24398         * math/s_ctanh.c (__ctanh): Likewise.
24399         * math/s_ctanhf.c (__ctanhf): Likewise.
24400         * math/s_ctanhl.c (__ctanhl): Likewise.
24401         * math/s_ctanl.c (__ctanl): Likewise.
24402         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24403         and ctanh.  Add more tests of ctan and ctanh.
24405         [BZ #15918]
24406         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24407         handling of cases where one argument is an infinity.
24409         [BZ #18875]
24410         [BZ #18966]
24411         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24412         (MO): New macro.
24413         (__ieee754_exp10): For small results, force underflow exception
24414         and remove excess range and precision from return value.
24415         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24416         (MO): New macro.
24417         (__ieee754_exp10f): For small results, force underflow exception
24418         and remove excess range and precision from return value.
24419         * math/auto-libm-test-in: Add more tests of exp10.
24420         * math/auto-libm-test-out: Regenerated.
24422 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #18875]
24425         [BZ #18961]
24426         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24427         (MO): New macro.
24428         (__ieee754_exp): For small results, force underflow exception and
24429         remove excess range and precision from return value.
24430         (__exp_finite): Likewise.
24431         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24432         (MO): New macro.
24433         (__ieee754_expf): For small results, force underflow exception and
24434         remove excess range and precision from return value.
24435         (__expf_finite): Likewise.
24436         * math/auto-libm-test-in: Add more tests of exp.
24437         * math/auto-libm-test-out: Regenerated.
24439         [BZ #16521]
24440         [BZ #18875]
24441         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24442         small results.
24443         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24444         (MO): New macro.
24445         (__ieee754_exp2): For small results, force underflow exception and
24446         remove excess range and precision from return value.
24447         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24448         (MO): New macro.
24449         (__ieee754_exp2f): For small results, force underflow exception
24450         and remove excess range and precision from return value.
24451         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24452         (MO): New macro.
24453         (__ieee754_exp2l): Force underflow exception for small results.
24454         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24455         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24456         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24457         (MO): New macro.
24458         (__ieee754_exp2l): Force underflow exception for small results.
24459         * math/auto-libm-test-in: Add more tests or exp2.
24460         * math/auto-libm-test-out: Regenerated.
24462 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24464         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24466         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24467         /dev/null.
24469 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24471         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24472         io fs process)): Drop spurious backslash.
24474 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24476         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24477         Use sysinfo system call instead of parsing /proc/meminfo.
24478         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24479         Likewise.
24481 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24483         [BZ #16985]
24484         * programs/localedef.c (main): Display argv[remaining] when
24485         output_path is NULL.
24487 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24489         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24490         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24491         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24492         tanh.
24493         * math/auto-libm-test-out: Regenerated.
24494         * sysdeps/i386/fpu/libm-test-ulps: Update.
24495         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24496         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24499 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24501         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24502         Use 'override' keyword to freeze the value here, preventing
24503         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24505 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24507         [BZ #14912]
24508         * sysdeps/aarch64/bits/atomic.h: Move to ...
24509         * sysdeps/aarch64/atomic-machine.h: ...here.
24510         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24511         _AARCH64_ATOMIC_MACHINE_H.
24512         * sysdeps/alpha/bits/atomic.h: Move to ...
24513         * sysdeps/alpha/atomic-machine.h: ...here.
24514         * sysdeps/arm/bits/atomic.h: Move to ...
24515         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24516         * bits/atomic.h: Move to ...
24517         * sysdeps/generic/atomic-machine.h: ...here.
24518         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24519         * sysdeps/i386/bits/atomic.h: Move to ...
24520         * sysdeps/i386/atomic-machine.h: ...here.
24521         * sysdeps/ia64/bits/atomic.h: Move to ...
24522         * sysdeps/ia64/atomic-machine.h: ...here.
24523         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24524         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24525         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24526         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24527         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24528         * sysdeps/microblaze/bits/atomic.h: Move to ...
24529         * sysdeps/microblaze/atomic-machine.h: ...here.
24530         * sysdeps/mips/bits/atomic.h: Move to ...
24531         * sysdeps/mips/atomic-machine.h: ...here.
24532         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24533         * sysdeps/powerpc/bits/atomic.h: Move to ...
24534         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24535         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24536         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24537         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24538         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24539         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24540         <atomic-machine.h> instead of <bits/atomic.h>.
24541         * sysdeps/s390/bits/atomic.h: Move to ...
24542         * sysdeps/s390/atomic-machine.h: ...here.
24543         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24544         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24545         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24546         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24547         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24548         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24549         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24550         * sysdeps/tile/bits/atomic.h: Move to ...
24551         * sysdeps/tile/atomic-machine.h: ...here.
24552         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24553         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24554         <sysdeps/tile/atomic-machine.h> instead of
24555         <sysdeps/tile/bits/atomic.h>.
24556         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24557         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24558         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24559         <sysdeps/tile/atomic-machine.h> instead of
24560         <sysdeps/tile/bits/atomic.h>.
24561         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24562         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24563         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24564         <sysdeps/arm/atomic-machine.h> instead of
24565         <sysdeps/arm/bits/atomic.h>.
24566         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24567         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24568         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24569         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24570         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24571         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24572         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24573         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24574         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24575         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24576         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24577         * sysdeps/x86_64/bits/atomic.h: Move to ...
24578         * sysdeps/x86_64/atomic-machine.h: ...here.
24579         * include/atomic.h: Include <atomic-machine.h> instead of
24580         <bits/atomic.h>.
24582         * sysdeps/mips/mips32/libm-test-ulps: Update.
24583         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24585         [BZ #18952]
24586         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24587         not convert non-integer negative arguments to int to determine the
24588         value of signgam.
24589         * math/auto-libm-test-in: Add more tests of lgamma.
24590         * math/auto-libm-test-out: Regenerated.
24592         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24593         cosh, csqrt, erfc, expm1 and lgamma.
24594         * math/auto-libm-test-out: Regenerated.
24595         * sysdeps/i386/fpu/libm-test-ulps: Update.
24596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24598 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24600         [BZ #2542]
24601         [BZ #2543]
24602         [BZ #2558]
24603         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24604         __lgamma_neg for arguments from -28.0 to -2.0.
24605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24606         __lgamma_negf for arguments from -15.0 to -2.0.
24607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24608         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24609         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24610         Call __lgamma_negl for arguments from -33.0 to -2.0.
24611         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24612         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24613         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24614         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24615         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24616         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24617         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24619         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24620         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24621         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24622         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24623         (__lgamma_neg): Likewise.
24624         (__lgamma_negl): Likewise.
24625         (__lgamma_product): Likewise.
24626         (__lgamma_productl): Likewise.
24627         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24628         * math/auto-libm-test-in: Add more tests of lgamma.
24629         * math/auto-libm-test-out: Regenerated.
24630         * sysdeps/i386/fpu/libm-test-ulps: Update.
24631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24633 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24635         [BZ #18675]
24636         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24638 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24640         [BZ #14912]
24641         * bits/libc-lock.h: Move to ...
24642         * sysdeps/generic/libc-lock.h: ...here.
24643         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24644         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24645         * sysdeps/mach/hurd/libc-lock.h: ...here.
24646         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24647         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24648         * sysdeps/mach/bits/libc-lock.h: Move to ...
24649         * sysdeps/mach/libc-lock.h: ...here.
24650         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24651         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24652         * sysdeps/nptl/libc-lock.h: ...here.
24653         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24654         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24655         * sysdeps/nptl/libc-lockP.h: ...here.
24656         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24657         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24658         <bits/libc-lock.h>.
24659         * dirent/scandir-tail.c: Likewise.
24660         * dlfcn/dlerror.c: Likewise.
24661         * elf/dl-close.c: Likewise.
24662         * elf/dl-iteratephdr.c: Likewise.
24663         * elf/dl-lookup.c: Likewise.
24664         * elf/dl-open.c: Likewise.
24665         * elf/dl-support.c: Likewise.
24666         * elf/dl-writev.h: Likewise.
24667         * elf/rtld.c: Likewise.
24668         * grp/fgetgrent.c: Likewise.
24669         * gshadow/fgetsgent.c: Likewise.
24670         * gshadow/sgetsgent.c: Likewise.
24671         * iconv/gconv_conf.c: Likewise.
24672         * iconv/gconv_db.c: Likewise.
24673         * iconv/gconv_dl.c: Likewise.
24674         * iconv/gconv_int.h: Likewise.
24675         * iconv/gconv_trans.c: Likewise.
24676         * include/link.h: Likewise.
24677         * inet/getnameinfo.c: Likewise.
24678         * inet/getnetgrent.c: Likewise.
24679         * inet/getnetgrent_r.c: Likewise.
24680         * intl/bindtextdom.c: Likewise.
24681         * intl/dcigettext.c: Likewise.
24682         * intl/finddomain.c: Likewise.
24683         * intl/gettextP.h: Likewise.
24684         * intl/loadmsgcat.c: Likewise.
24685         * intl/localealias.c: Likewise.
24686         * intl/textdomain.c: Likewise.
24687         * libidn/idn-stub.c: Likewise.
24688         * libio/libioP.h: Likewise.
24689         * locale/duplocale.c: Likewise.
24690         * locale/freelocale.c: Likewise.
24691         * locale/newlocale.c: Likewise.
24692         * locale/setlocale.c: Likewise.
24693         * login/getutent_r.c: Likewise.
24694         * login/getutid_r.c: Likewise.
24695         * login/getutline_r.c: Likewise.
24696         * login/utmp-private.h: Likewise.
24697         * login/utmpname.c: Likewise.
24698         * malloc/mtrace.c: Likewise.
24699         * misc/efgcvt.c: Likewise.
24700         * misc/error.c: Likewise.
24701         * misc/fstab.c: Likewise.
24702         * misc/getpass.c: Likewise.
24703         * misc/mntent.c: Likewise.
24704         * misc/syslog.c: Likewise.
24705         * nis/nis_call.c: Likewise.
24706         * nis/nis_callback.c: Likewise.
24707         * nis/nss-default.c: Likewise.
24708         * nis/nss_compat/compat-grp.c: Likewise.
24709         * nis/nss_compat/compat-initgroups.c: Likewise.
24710         * nis/nss_compat/compat-pwd.c: Likewise.
24711         * nis/nss_compat/compat-spwd.c: Likewise.
24712         * nis/nss_nis/nis-alias.c: Likewise.
24713         * nis/nss_nis/nis-ethers.c: Likewise.
24714         * nis/nss_nis/nis-grp.c: Likewise.
24715         * nis/nss_nis/nis-hosts.c: Likewise.
24716         * nis/nss_nis/nis-network.c: Likewise.
24717         * nis/nss_nis/nis-proto.c: Likewise.
24718         * nis/nss_nis/nis-pwd.c: Likewise.
24719         * nis/nss_nis/nis-rpc.c: Likewise.
24720         * nis/nss_nis/nis-service.c: Likewise.
24721         * nis/nss_nis/nis-spwd.c: Likewise.
24722         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24723         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24724         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24725         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24726         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24727         * nis/nss_nisplus/nisplus-network.c: Likewise.
24728         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24729         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24730         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24731         * nis/nss_nisplus/nisplus-service.c: Likewise.
24732         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24733         * nis/ypclnt.c: Likewise.
24734         * nptl/libc_pthread_init.c: Likewise.
24735         * nss/getXXbyYY.c: Likewise.
24736         * nss/getXXent.c: Likewise.
24737         * nss/getXXent_r.c: Likewise.
24738         * nss/nss_db/db-XXX.c: Likewise.
24739         * nss/nss_db/db-netgrp.c: Likewise.
24740         * nss/nss_db/nss_db.h: Likewise.
24741         * nss/nss_files/files-XXX.c: Likewise.
24742         * nss/nss_files/files-alias.c: Likewise.
24743         * nss/nsswitch.c: Likewise.
24744         * posix/regex_internal.h: Likewise.
24745         * posix/wordexp.c: Likewise.
24746         * pwd/fgetpwent.c: Likewise.
24747         * resolv/res_hconf.c: Likewise.
24748         * resolv/res_libc.c: Likewise.
24749         * shadow/fgetspent.c: Likewise.
24750         * shadow/lckpwdf.c: Likewise.
24751         * shadow/sgetspent.c: Likewise.
24752         * socket/opensock.c: Likewise.
24753         * stdio-common/reg-modifier.c: Likewise.
24754         * stdio-common/reg-printf.c: Likewise.
24755         * stdio-common/reg-type.c: Likewise.
24756         * stdio-common/vfprintf.c: Likewise.
24757         * stdio-common/vfscanf.c: Likewise.
24758         * stdlib/abort.c: Likewise.
24759         * stdlib/cxa_atexit.c: Likewise.
24760         * stdlib/fmtmsg.c: Likewise.
24761         * stdlib/random.c: Likewise.
24762         * stdlib/setenv.c: Likewise.
24763         * string/strsignal.c: Likewise.
24764         * sunrpc/auth_none.c: Likewise.
24765         * sunrpc/bindrsvprt.c: Likewise.
24766         * sunrpc/create_xid.c: Likewise.
24767         * sunrpc/key_call.c: Likewise.
24768         * sunrpc/rpc_thread.c: Likewise.
24769         * sysdeps/arm/backtrace.c: Likewise.
24770         * sysdeps/generic/ldsodefs.h: Likewise.
24771         * sysdeps/generic/stdio-lock.h: Likewise.
24772         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24773         * sysdeps/i386/backtrace.c: Likewise.
24774         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24775         * sysdeps/m68k/backtrace.c: Likewise.
24776         * sysdeps/mach/hurd/cthreads.c: Likewise.
24777         * sysdeps/mach/hurd/dirstream.h: Likewise.
24778         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24779         * sysdeps/nptl/malloc-machine.h: Likewise.
24780         * sysdeps/nptl/stdio-lock.h: Likewise.
24781         * sysdeps/posix/dirstream.h: Likewise.
24782         * sysdeps/posix/getaddrinfo.c: Likewise.
24783         * sysdeps/posix/system.c: Likewise.
24784         * sysdeps/pthread/aio_suspend.c: Likewise.
24785         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24786         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24787         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24788         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24789         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24790         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24791         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24792         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24793         * sysdeps/unix/sysv/linux/system.c: Likewise.
24794         * sysdeps/x86_64/backtrace.c: Likewise.
24795         * time/alt_digit.c: Likewise.
24796         * time/era.c: Likewise.
24797         * time/tzset.c: Likewise.
24798         * wcsmbs/wcsmbsload.c: Likewise.
24799         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24800         instead of <bits/libc-lock.h> in comment.
24802 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24804         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24805         Only use .set mips2 if the current ISA is below mips2.
24806         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24807         Likewise.
24808         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24809         mips32r2 if the current ISA is below mips32r2.
24810         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24811         (TLS_IE): Updated to use the TLD_RDHWR macro.
24812         (TLS_LE): Likewise.
24813         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24814         __ASSEMBLER__ condition.
24816 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24818         Fix parallel build of before-compile targets.
24820         * sysdeps/mach/Makefile ($(patsubst
24821         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24822         mach-before-compile target.
24823         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24824         io fs process)): Move rule to dedicated hurd-before-compile target.
24826 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24828         Fix rules generating headers in hurd/ and mach/ when initial make call
24829         has subdir= explicitly set.
24831         * sysdeps/mach/Makefile ($(patsubst
24832         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24833         calling $(MAKE).
24834         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24835         io fs process)): Force subdir to hurd when calling $(MAKE).
24836         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24837         subdir to mach when calling $(MAKE).
24839 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24841         Check sysheaders when looking for Mach and Hurd headers
24843         * sysdeps/mach/configure.ac: Add sysheaders check.
24844         * sysdeps/mach/configure: Regenerate.
24845         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24846         * sysdeps/mach/hurd/configure: Regenerate.
24848 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24850         [BZ #18921]
24851         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24852         Fix inverted sense of test of 'o_directory_works' value.
24853         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24854         Bernhard Voelker <mail@bernhard-voelker.de>.
24856 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24858         [BZ #14912]
24859         * bits/linkmap.h: Move to ...
24860         * sysdeps/generic/linkmap.h: ...here.
24861         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24862         * sysdeps/aarch64/linkmap.h: ...here.
24863         * sysdeps/arm/bits/linkmap.h: Move to ...
24864         * sysdeps/arm/linkmap.h: ...here.
24865         * sysdeps/hppa/bits/linkmap.h: Move to ...
24866         * sysdeps/hppa/linkmap.h: ...here.
24867         * sysdeps/ia64/bits/linkmap.h: Move to ...
24868         * sysdeps/ia64/linkmap.h: ...here.
24869         * sysdeps/mips/bits/linkmap.h: Move to ...
24870         * sysdeps/mips/linkmap.h: ...here.
24871         * sysdeps/s390/bits/linkmap.h: Move to ...
24872         * sysdeps/s390/linkmap.h: ...here.
24873         * sysdeps/sh/bits/linkmap.h: Move to ...
24874         * sysdeps/sh/linkmap.h: ...here.
24875         * sysdeps/x86/bits/linkmap.h: Move to ...
24876         * sysdeps/x86/linkmap.h: ...here.
24877         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24879 2015-09-04  Andreas Schwab  <schwab@suse.de>
24881         [BZ #18635]
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24883         (__makecontext): Terminate FDE before return label.
24884         (__novec_makecontext): Likewise.
24886 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24888         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24889         first member of struct sv in syscall macro.
24891 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24893         [BZ #14912]
24894         * bits/stdio-lock.h: Move to ...
24895         * sysdeps/generic/stdio-lock.h: ...here.
24896         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24897         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24898         * sysdeps/nptl/stdio-lock.h: ...here.
24899         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24900         * include/libio.h: Include <stdio-lock.h> instead of
24901         <bits/stdio-lock.h>.
24902         * sysdeps/nptl/fork.c: Likewise.
24903         * sysdeps/pthread/flockfile.c: Likewise.
24904         * sysdeps/pthread/ftrylockfile.c: Likewise.
24905         * sysdeps/pthread/funlockfile.c: Likewise.
24907         [BZ #14912]
24908         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24909         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24910         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24911         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24912         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24913         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24914         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24916 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24918         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24919         (test-xfail-tst-protected1b): New variable.
24921 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24923         [BZ #14912]
24924         * bits/libc-tsd.h: Move to ...
24925         * sysdeps/generic/libc-tsd.h: ...here.
24926         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24927         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24928         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24929         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24930         * include/ctype.h: Include <libc-tsd.h> instead of
24931         <bits/libc-tsd.h>.
24932         * include/rpc/rpc.h: Likewise.
24933         * locale/localeinfo.h: Likewise.
24934         * sunrpc/rpc_thread.c: Likewise.
24935         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24936         * sysdeps/nptl/malloc-machine.h: Likewise.
24938         * Makefile (headers): Remove bits/libc-lock.h.
24939         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24941         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24942         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24943         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24944         <bits/stdio-lock.h>.
24945         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24946         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24948 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24950         [BZ #18757]
24951         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24952         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24953         BZ #18757.
24955 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24957         * malloc/mtrace.pl: Filter out NULL entries.
24959 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24961         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24962         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24963         macro.
24965         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24966         (TCP_CC_INFO): Likewise.
24967         (TCP_SAVE_SYN): Likewise.
24968         (TCP_SAVED_SYN): Likewise.
24970 2015-08-31  Brett Neumeier <brett@neumeier.us>
24972         [BZ #18870]
24973         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24975 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24977         [BZ #18873]
24978         Fix broken overflow check in posix_fallocate
24979         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24980         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24981         Fix parenthesization typo.
24983 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24985         [BZ #18887]
24986         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24987         tst-mntent-blank-passno.
24988         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24989         * misc/tst-mntent-blank-corrupt.c: New test.
24990         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24991         * misc/tst-mntent.c (do_test): ... here.
24993 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24995         [BZ #4404]
24996         * po/de.po: Fix SIGALRM typo.
24998 2015-08-28  James Perkins  <james@loowit.net>
25000         * time/tst-strptime2.c (tests): Replace short list of test
25001         strings for strptime %z specifier with code which exhaustively
25002         tests every combination of sign and 0 to 5 digits. Tests for
25003         rejection of invalid strings.
25005 2015-08-28  James Perkins  <james@loowit.net>
25007         [BZ #16141]
25008         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25009         calculation, removing incorrect decimal time rounding, so that
25010         all minute values result in a valid seconds value.
25011         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25012         offset range limits to UTC-99:59 through UTC+99:59 to parse
25013         current and historical use cases.
25014         * time/tst-strptime2.c (tests): Modify and add tests for the
25015         strptime %z input field descriptor, specifically conversion of
25016         minutes to seconds and validating an offset range of -9959 to
25017         +9959.
25019 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25020             Dmitry V. Levin  <ldv@altlinux.org>
25022         [BZ #18877]
25023         * posix/Makefile (tests): Add tst-mmap-offset.
25024         * posix/tst-mmap.c: New file.
25025         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25026         offset calculation for negative values.
25028 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25030         * sysdeps/i386/init-arch.h: New file.
25031         * sysdeps/i386/i586/init-arch.h: Likewise.
25032         * sysdeps/i386/i686/init-arch.h: Likewise.
25033         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25034         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25035         * sysdeps/x86/cpu-features.h (bit_I586): New.
25036         (bit_I686): Likewise.
25037         (bit_CX8): Likewise.
25038         (bit_CMOV): Likewise.
25039         (index_CX8): Likewise.
25040         (index_CMOV): Likewise.
25041         (index_I586): Likewise.
25042         (index_I686): Likewise.
25043         (reg_CX8): Likewise.
25044         (reg_CMOV): Likewise.
25045         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25046         available at compile-time.
25047         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25048         available at compile-time.
25049         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25050         (USE_I686): Likewise.
25052 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25054         * sysdeps/i386/bcopy.S: New file.
25055         * sysdeps/i386/bzero.S: Likewise.
25056         * sysdeps/i386/memcpy.S: Likewise.
25057         * sysdeps/i386/memmove.S: Likewise.
25058         * sysdeps/i386/mempcpy.S: Likewise.
25059         * sysdeps/i386/memset.S: Likewise.
25060         * sysdeps/i386/bzero.c: Removed.
25061         * sysdeps/i386/memset.c: Likewise.
25062         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25063         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25064         * sysdeps/i386/i586/memset_chk.S: Likewise.
25065         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25066         * sysdeps/i386/memcpy_chk.S: Here.
25067         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25068         * sysdeps/i386/memmove_chk.S: Here.
25069         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25070         * sysdeps/i386/mempcpy_chk.S: Likewise.
25071         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25072         * sysdeps/i386/memset_chk.S: Likewise.
25074 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25076         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25077         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25078         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25079         * soft-fp/fmadf4.c: Ditto.
25080         * soft-fp/fmatf4.c: Ditto.
25082 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25084         * sysdeps/i386/i586/Implies: Removed.
25085         * sysdeps/i386/i686/Implies: Likewise.
25087 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25089         * sysdeps/i386/i486/strlen.S: Moved to ...
25090         * sysdeps/i386/strlen.S: Here.
25092 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25094         * sysdeps/i386/i486/strcat.S: Moved to ...
25095         * sysdeps/i386/strcat.S: Here.
25097 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25099         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25100         * sysdeps/i386/pthread_spin_trylock.S: Here.
25101         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25102         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25104 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25106         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25107         * sysdeps/i386/string-inlines.c: Here.
25109 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25111         * sysdeps/i386/i486/htonl.S: Moved ...
25112         * sysdeps/i386/htonl.S: here.
25114 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25116         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25117         * sysdeps/i386/bits/atomic.h: Here.
25119 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25121         * sysdeps/i386/i486/Versions: Removed.
25123 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25125         [BZ #2898]
25126         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25127         Based on patch by Aurelien Jarno.
25129 2015-08-26  Stan Shebs  <stanshebs@google.com>
25131         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25132         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25134 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25136         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25137         * sysdeps/powerpc/dl-procinfo.c:
25138         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25139         feature so it shows when LD_SHOW_AUXV=1.
25141 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25143         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25144         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25145         definition.  ISA 2.07B no longer requires full sync.
25147 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25149         [BZ #18863]
25150         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25151         (si_call_addr): Define.
25152         (si_syscall): Define.
25153         (si_arch): Define.
25155 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25157         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25158         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25159         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25160         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25161         (__memset_zero_constant_len_parameter): New.
25162         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25163         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25164         (__memset_zero_constant_len_parameter): Don't define if
25165         __memset_chk or USE_AS_BZERO are defined.
25167         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25168         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25169         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25171         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25172         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25173         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25174         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25175         comments.
25176         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25177         -mno-mmx for $(all-rtld-routines).
25178         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25179         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25180         i386.
25182 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25184         * sysdeps/generic/unwind.h
25185         (_Unwind_Word): Use __mode__(__unwind_word__)
25186         instead of __mode__(__word__).
25187         (_Unwind_Sword): Likewise.
25189         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25190         (MAX_NEEDED_INPUT): New define.
25191         (MAX_NEEDED_OUTPUT): New define.
25193         * NEWS: New item for IBM z13 string optimizations.
25195         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25196         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25197         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25198         * sysdeps/s390/multiarch/Makefile
25199         (sysdep_routines): Add memrchr functions.
25200         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25201         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25203         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25204         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25205         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25206         * sysdeps/s390/multiarch/Makefile
25207         (sysdep_routines): Add wmemcmp functions.
25208         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25209         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25210         * benchtests/bench-wmemcmp.c: New File.
25211         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25213         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25214         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25215         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25216         * sysdeps/s390/multiarch/Makefile
25217         (sysdep_routines): Add wmemset functions.
25218         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25219         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25220         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25221         * string/test-memset.c: Add wmemset support.
25222         * wcsmbs/test-wmemset.c: New File.
25223         * wcsmbs/Makefile (strop-tests): Add wmemset.
25224         * benchtests/bench-memset.c: Add wmemset support.
25225         * benchtests/bench-wmemset.c: New File.
25226         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25228         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25229         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25230         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25231         * sysdeps/s390/multiarch/Makefile
25232         (sysdep_routines): Add memccpy functions.
25233         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25234         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25235         * string/memccpy.c: Use MEMCCPY if defined.
25237         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25238         * sysdeps/s390/multiarch/memchr.c: Likewise.
25239         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25240         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25241         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25242         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25243         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25244         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25245         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25246         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25247         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25248         and rawmemchr functions.
25249         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25250         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25251         and wmemchr.
25252         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25253         * string/test-memchr.c: Add wmemchr support.
25254         * wcsmbs/test-wmemchr.c: New File.
25255         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25256         * benchtests/bench-memchr.c: Add wmemchr support.
25257         * benchtests/bench-wmemchr.c: New File.
25258         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25260         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25261         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25262         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25263         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25264         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25265         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25267         wcscspn functions.
25268         * sysdeps/s390/multiarch/ifunc-impl-list.c
25269         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25270         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25271         * string/test-strcspn.c: Add wcscspn support.
25272         * wcsmbs/test-wcscspn.c: New File.
25273         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25274         * benchtests/bench-strcspn.c: Add wcscspn support.
25275         * benchtests/bench-wcscspn.c: New File.
25276         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25278         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25279         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25280         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25281         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25282         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25283         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25285         wcspbrk functions.
25286         * sysdeps/s390/multiarch/ifunc-impl-list.c
25287         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25288         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25289         * string/test-strpbrk.c: Add wcspbrk support.
25290         * wcsmbs/test-wcspbrk.c: New File.
25291         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25292         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25293         * benchtests/bench-wcspbrk.c: New File.
25294         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25296         * sysdeps/s390/multiarch/strspn-c.c: New File.
25297         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25298         * sysdeps/s390/multiarch/strspn.c: Likewise.
25299         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25300         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25301         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25302         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25304         wcsspn functions.
25305         * sysdeps/s390/multiarch/ifunc-impl-list.c
25306         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25307         * string/test-strspn.c: Add wcsspn support.
25308         * wcsmbs/test-wcsspn.c: New File.
25309         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25310         * benchtests/bench-strspn.c: Add wcsspn support.
25311         * benchtests/bench-wcsspn.c: New File.
25312         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25314         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25315         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25316         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25317         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25318         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25319         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25321         wcsrchr functions.
25322         * sysdeps/s390/multiarch/ifunc-impl-list.c
25323         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25324         * benchtests/bench-wcsrchr.c: New File.
25325         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25327         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25328         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25329         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25330         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25331         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25332         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25334         wcschrnul functions.
25335         * sysdeps/s390/multiarch/ifunc-impl-list.c
25336         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25337         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25338         * string/test-strchr.c: Add wcschrnul support.
25339         * wcsmbs/test-wcschrnul.c: New File.
25340         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25341         * benchtests/bench-strchr.c: Add wcschrnul support.
25342         * benchtests/bench-wcschrnul.c: New File.
25343         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25345         * sysdeps/s390/multiarch/strchr-c.c: New File.
25346         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25347         * sysdeps/s390/multiarch/strchr.c: Likewise.
25348         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25349         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25350         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25352         wcschr functions.
25353         * sysdeps/s390/multiarch/ifunc-impl-list.c
25354         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25355         * string/strchr.c (STRCHR): Define and use macro.
25356         * benchtests/bench-wcschr.c: New File.
25357         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25359         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25360         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25361         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25362         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25363         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25364         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25365         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25366         wcsncmp functions.
25367         * sysdeps/s390/multiarch/ifunc-impl-list.c
25368         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25369         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25370         * benchtests/bench-strncmp.c: Add wcsncmp support.
25371         * benchtests/bench-wcsncmp.c: New File.
25372         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25374         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25375         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25376         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25377         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25378         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25379         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25380         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25381         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25382         wcscmp functions.
25383         * sysdeps/s390/multiarch/ifunc-impl-list.c
25384         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25385         * string/strcmp.c (STRCMP): Define and use macro.
25386         * benchtests/bench-wcscmp.c: New File.
25387         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25388         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25389         instead of _HAVE_STRING_ARCH_memchr.
25391         * sysdeps/s390/multiarch/strncat-c.c: New File.
25392         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25393         * sysdeps/s390/multiarch/strncat.c: Likewise.
25394         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25395         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25396         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25398         wcsncat functions.
25399         * sysdeps/s390/multiarch/ifunc-impl-list.c
25400         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25401         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25402         * string/test-strncat.c: Add wcsncat support.
25403         * wcsmbs/test-wcsncat.c: New File.
25404         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25405         * benchtests/bench-strncat.c: Add wcsncat support.
25406         * benchtests/bench-wcsncat.c: New File.
25407         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25409         * sysdeps/s390/multiarch/strcat-c.c: New File.
25410         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25411         * sysdeps/s390/multiarch/strcat.c: Likewise.
25412         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25413         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25414         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25416         wcscat functions.
25417         * sysdeps/s390/multiarch/ifunc-impl-list.c
25418         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25419         * string/strcat.c (STRCAT): Define and use macro.
25420         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25421         * string/test-strcat.c: Add wcscat support.
25422         * wcsmbs/test-wcscat.c: New File.
25423         * wcsmbs/Makefile (strop-tests): Add wcscat.
25424         * benchtests/bench-strcat.c: Add wcscat support.
25425         * benchtests/bench-wcscat.c: New File.
25426         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25428         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25429         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25430         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25431         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25432         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25433         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25434         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25435         wcpncpy functions.
25436         * sysdeps/s390/multiarch/ifunc-impl-list.c
25437         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25438         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25439         * string/test-stpncpy.c: Add wcpncpy support.
25440         * wcsmbs/test-wcpncpy.c: New File.
25441         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25442         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25443         * benchtests/bench-wcpncpy.c: New File.
25444         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25446         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25447         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25448         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25449         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25450         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25451         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25452         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25454         wcsncpy functions.
25455         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25456         * sysdeps/s390/multiarch/ifunc-impl-list.c
25457         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25458         * string/test-strncpy.c: Add wcsncpy support.
25459         * wcsmbs/test-wcsncpy.c: New File.
25460         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25461         * benchtests/bench-strncpy.c: Add wcsncpy support.
25462         * benchtests/bench-wcsncpy.c: New File.
25463         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25465         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25466         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25467         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25468         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25469         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25470         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25472         wcpcpy functions.
25473         * string/stpcpy.c: Use STPCPY if defined.
25474         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25475         * sysdeps/s390/multiarch/ifunc-impl-list.c
25476         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25477         * string/test-stpcpy.c: Add wcpcpy support.
25478         * wcsmbs/test-wcpcpy.c: New File.
25479         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25480         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25481         * benchtests/bench-wcpcpy.c: New File.
25482         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25484         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25485         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25486         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25487         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25488         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25489         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25490         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25491         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25492         wcscpy functions.
25493         * sysdeps/s390/multiarch/ifunc-impl-list.c
25494         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25495         * benchtests/bench-wcscpy.c: New File.
25496         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25498         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25499         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25500         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25501         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25502         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25503         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25504         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25505         wcsnlen functions.
25506         * sysdeps/s390/multiarch/ifunc-impl-list.c
25507         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25508         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25509         * string/test-strnlen.c: Add wcsnlen support.
25510         * wcsmbs/test-wcsnlen.c: New File.
25511         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25512         * benchtests/bench-strnlen.c: Add wcsnlen support.
25513         * benchtests/bench-wcsnlen.c: New File.
25514         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25516         * sysdeps/s390/multiarch/Makefile: New File.
25517         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25518         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25519         * sysdeps/s390/multiarch/strlen.c: Likewise.
25520         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25521         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25522         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25523         * string/strlen.c (STRLEN): Define and use macro.
25524         * sysdeps/s390/multiarch/ifunc-impl-list.c
25525         (IFUNC_VX_IMPL): New macro function.
25526         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25527         * benchtests/Makefile (wcsmbs-bench): New variable.
25528         (string-bench-all): Added wcsmbs-bench.
25529         * benchtests/bench-wcslen.c: New File.
25531         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25532         s390_vx_libc_ifunc2): New macro function.
25534         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25535         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25536         assembler support.
25537         * sysdeps/s390/configure: Regenerated.
25539         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25540         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25542         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25543         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25544         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25546         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25547         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25548         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25549         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25550         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25551         (memcmp, bcmp): Use __memcmp_default as alias source.
25552         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25553         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25554         Rename to __memcmp_default.
25555         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25556         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25557         (memcpy): Use __memcpy_default as alias source.
25558         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25559         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25560         Rename to __memcpy_default.
25561         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25562         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25563         (memset): Use __memset_default as alias source.
25564         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25565         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25566         Rename to __memset_default.
25567         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25568         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25569         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25570         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25571         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25572         (memcmp, bcmp): Use __memcmp_default as alias source.
25573         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25574         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25575         Rename to __memcmp_default.
25576         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25577         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25578         (memcpy): Use __memcpy_default as alias source.
25579         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25580         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25581         Rename to __memcpy_default.
25582         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25583         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25584         (memset): Use __memset_default as alias source.
25585         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25586         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25587         Rename to __memset_default.
25588         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25589         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25591         [BZ #18610]
25592         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25593         __ieee_instruction_pointer to __unused.
25594         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25595         __ieee_instruction_pointer.
25596         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25597         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25598         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25599         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25600         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25601         Mark dxc-field as reserved.
25603 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25605         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25606         if the weak reference is not null.
25608 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25610         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25612         [BZ #11214]
25613         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25615 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25617         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25618         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25619         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25620         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25621         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25622         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25623         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25624         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25625         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25626         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25627         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25628         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25629         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25630         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25631         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25632         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25633         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25634         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25636 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25638         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25639         register other than r0 for tabort, it has special meaning.
25640         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25641         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25642         transaction before starting syscall.
25644 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25646         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25648 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25650         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25652         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25653         * sysdeps/x86_64/rtld-memset.S: Likewise.
25654         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25655         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25656         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25657         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25659         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25661 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25663         * debug/strcpy_chk.c: Improve performance.
25664         * debug/stpcpy_chk.c: Likewise.
25665         * sysdeps/x86_64/strcpy_chk.S: Remove.
25666         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25668         [BZ #18240]
25669         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25671 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25673         [BZ #15128]
25674         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25675         ifuncmain8.
25676         (modules-names): Add ifuncmod8.
25677         ($(objpfx)ifuncmain8): New rule.
25678         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25679         <cpuid.h>.
25680         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25681         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25682         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25683         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25684         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25685         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25686         * sysdeps/x86_64/ifuncmain8.c: New file.
25687         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25688         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25689         Removed.
25690         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25691         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25692         Change rtld_savespace_sse to __glibc_unused2.
25693         (RTLD_CHECK_FOREIGN_CALL): Removed.
25694         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25695         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25696         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25698 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25700         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25702 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25704         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25705         Unconditionally set __fpcr to avoid uninialized warning.
25706         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25708 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25710         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25711         is corrupt.
25713         * malloc/arena.c (arena_get2): Drop unused argument.
25714         (arena_lock): Adjust.
25715         (arena_get_retry): Likewise.
25717 2015-08-24  Andreas Schwab  <schwab@suse.de>
25719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25720         Don't define.
25721         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25722         (__ASSUME_IPC64): Don't undef.
25723         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25724         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25725         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25726         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25727         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25728         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25729         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25730         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25731         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25732         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25733         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25734         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25735         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25736         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25737         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25738         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25739         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25740         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25741         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25742         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25743         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25745 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25747         * manual/Makefile (install): Only build manual when perl is available.
25749 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25752         '#undef memcpy' by '#undef memchr'.
25754 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25756         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25757         memchr not point to the internal __GI_memchr implementation.
25759 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25761         * timezone/Makefile (CFLAGS-zdump.c): Remove
25762         -Wno-strict-prototypes.
25763         (CFLAGS-zic.c): Likewise.
25764         (CFLAGS-ialloc.c): Likewise.
25765         (CFLAGS-scheck.c): Likewise.
25767         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25768         -Wno-error=undef.
25770 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25772         * i386/i686/multiarch/strcasestr-c.c: Removed.
25773         * x86_64/multiarch/strcasestr.c: Likewise.
25774         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25775         Remove strcasestr.
25777 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25779         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25781         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25782         variables for high and low parts before possibly modifying them.
25784 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25786         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25787         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25788         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25789         of "multiarch/init-arch.h".
25790         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25791         * sysdeps/x86/init-arch.h: This.
25793 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25795         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25796         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25798 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25800         [BZ #17787]
25801         * manual/macros.texi: Add twoexp macro.
25802         * manual/filesys.texi: Fix exponents.
25803         * manual/llio.texi: Likewise.
25804         * manual/stdio.texi: Likewise.
25806 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25808         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25809         incorrect use.
25811 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25813         [BZ #18370]
25814         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25815         whose real or imaginary part has small absolute value.
25816         * math/s_csqrtf.c (__csqrtf): Likewise.
25817         * math/s_csqrtl.c (__csqrtl): Likewise.
25818         * math/auto-libm-test-in: Add more tests of csqrt.
25819         * math/auto-libm-test-out: Regenerated.
25820         * sysdeps/i386/fpu/libm-test-ulps: Update.
25822 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25824         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25825         __ppc_set_ppr_very_low): New functions.
25826         * manual/platform.texi: Add documentation about
25827         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25829 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25831         * string/stpncpy.c (stpncpy): Improve performance using
25832         __strnlen/memcpy/memset.
25834 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25836         [BZ #18796]
25837         * scripts/test-installation.pl: Don't add -lmvec to build options if
25838         libmvec wasn't built.
25840 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25842         [BZ #14341]
25843         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25844         case when there is a gap between DT_REL and DT_JMPREL sections.
25845         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25846         (LDFLAGS-tst-split-dynreloc): New.
25847         (tst-split-dynreloc-ENV): Likewise.
25848         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25849         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25851 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25853         [BZ #18822]
25854         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25855         attribute_hidden.
25856         (__xstat64_conv): Likewise.
25857         (__xstat32_conv): Likewise.
25859 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25861         [BZ #18822]
25862         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25863         Don't load %ebx when calling __setcontext.  Call __setcontext
25864         with HIDDEN_JUMPTARGET.
25865         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25866         libc_hidden_def.
25868 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25870         * sysdeps/i386/i686/Makefile
25871         [$(subdir) == string] (sysdep_routines): Moved to ...
25872         * sysdeps/i386/Makefile: Here.
25873         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25874         * sysdeps/i386/cacheinfo.c: Here.
25875         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25876         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25877         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25878         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25880 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25882         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25883         __i586__ is defined.
25884         (HAS_I686): Defined to 1 if __i686__ is defined.
25886 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25888         * elf/Makefile [$(have-z-execstack) = yes]
25889         (CPPFLAGS-tst-execstack.c): New variable.
25891         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25892         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25893         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25894         UTMPX || _HAVE_UT_TV].
25895         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25896         UTMPX || _HAVE_UT_TV - 0].
25898 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25900         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25901         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25902         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25904 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25906         * sysdeps/powerpc/dl-procinfo.c:
25907         (_dl_powerpc_cap_flags): Added missing strings for some
25908         hwcap features.
25909         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25911 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25913         Port the 0x7efe...feff pattern to GCC 6.
25914         See Steve Ellcey's bug report in:
25915         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25916         * string/memrchr.c (MEMRCHR):
25917         * string/rawmemchr.c (RAWMEMCHR):
25918         * string/strchr.c (strchr):
25919         * string/strchrnul.c (STRCHRNUL):
25920         Rewrite code to avoid issues with signed shift overflow.
25922 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25924         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25925         whether cpuid is available only if HAS_CPUID is 0.
25926         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25927         (HAS_I586): Likewise.
25928         (HAS_I686): Likewise.
25930 2015-08-18  Zack Weinberg  <zackw@panix.com>
25932         * misc/Versions (libc): Add GLIBC_2.23.
25934 2015-08-18  Alan Modra  <amodra@gmail.com>
25936         [BZ #18421]
25937         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25938         .Lp__global.
25939         (_start): Load %dp via .Lp__global.
25940         [!SHARED]: Use .section .rodata.
25942 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25944         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25945         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25947 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25949         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25950         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25952 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25954         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25955         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25957 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25959         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25960         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25962 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25964         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25965         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25967 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25969         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25970         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25972 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25974         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25976 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25978         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25979         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25980         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25981         (__ASSUME_LWS_CAS): Delete.
25983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25985         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25986         * sysdeps/hppa/configure: Regenerated.
25987         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25988         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25989         * sysdeps/hppa/nptl/tls.h: Likewise.
25991 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25993         [BZ #18823]
25994         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25995         for scaling up small arguments.
25996         * math/s_csqrtf.c (__csqrtf): Likewise.
25997         * math/s_csqrtl.c (__csqrtl): Likewise.
25998         * math/auto-libm-test-in: Add more tests of csqrt.
25999         * math/auto-libm-test-out: Regenerated.
26001 2015-08-17  Andreas Schwab  <schwab@suse.de>
26003         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26004         version set GLIBC_2.19.
26006 2015-08-16  Zack Weinberg  <zackw@panix.com>
26008         [BZ #18681]
26009         * misc/regexp.h: This interface is no longer supported.
26010         Remove all contents, leaving only an #error directive.
26011         * misc/regexp.c (loc1, loc2, locs, step, advance):
26012         Demote to compatibility symbols.
26014 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26016         [BZ #18084]
26017         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26018         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26019         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26020         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26021         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26022         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26023         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26024         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26025         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26027 2015-08-15  Zack Weinberg  <zackw@panix.com>
26029         [BZ #18795]
26030         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26031         buffer length is known to be too large, not if it's known to be
26032         small enough.
26033         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26034         overflow at runtime, involving a length parameter, twice: once
26035         with a compile-time constant length parameter, once without.
26037 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26039         [BZ #18824]
26040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26041         scaling x * y up instead of down.
26042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26044         * math/auto-libm-test-in: Add more tests of fma.
26045         * math/auto-libm-test-out: Regenerated.
26047 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26049         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26051 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26053         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26054         unnecessary movq.
26055         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26056         Likewise.
26058 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26060         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26061         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26062         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26063         and tgamma.
26064         * math/auto-libm-test-out: Regenerated.
26065         * sysdeps/i386/fpu/libm-test-ulps: Update.
26066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26068         [BZ #16520]
26069         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26070         (__tanh): Force underflow exception for arguments with small
26071         absolute value.
26072         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26073         (__tanhf): Force underflow exception for arguments with small
26074         absolute value.
26075         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26076         (__tanhl): Force underflow exception for arguments with small
26077         absolute value.
26078         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26079         (__tanhl): Force underflow exception for arguments with small
26080         absolute value.
26081         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26082         (__tanhl): Force underflow exception for arguments with small
26083         absolute value.
26084         * math/auto-libm-test-in: Add more tests of tanh.
26085         * math/auto-libm-test-out: Regenerated.
26086         * sysdeps/i386/fpu/libm-test-ulps: Update.
26088 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26090         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26091         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26093 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26095         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26096         <cpuid.h>.
26098 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26100         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26101         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26103 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26105         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26106         Remove $(objpfx)init-arch.o.
26107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26108         init-arch.
26109         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26110         (INIT_ARCH_EXT): Defined as empty.
26111         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26112         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26113         __init_cpu_features call.  Replace HAS_XXX with
26114         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26116         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26118         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26120         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26121         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26122         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26125         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26126         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26127         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26128         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26129         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26131         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26147         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26148         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26149         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26151 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26153         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26154         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26155         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26156         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26157         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26158         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26159         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26160         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26161         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26162         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26163         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26164         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26165         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26166         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26167         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26168         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26169         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26170         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26171         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26172         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26173         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26174         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26175         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26176         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26177         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26178         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26179         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26180         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26181         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26182         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26183         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26184         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26185         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26186         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26187         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26188         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26189         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26190         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26191         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26192         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26193         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26194         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26195         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26197 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26199         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26200         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26201         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26202         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26203         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26204         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26205         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26206         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26207         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26208         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26209         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26210         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26211         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26212         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26213         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26214         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26215         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26216         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26217         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26218         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26220         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26221         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26222         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26224         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26225         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26226         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26227         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26228         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26229         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26230         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26231         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26232         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26233         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26234         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26235         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26236         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26237         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26238         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26239         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26240         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26241         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26243 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26245         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26246         (dl_platform_init): Call init_cpu_features.
26247         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26248         * sysdeps/i386/i686/cacheinfo.c
26249         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26250         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26251         * sysdeps/i386/i686/multiarch/Versions: Removed.
26252         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26253         Removed.
26254         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26255         * sysdeps/unix/sysv/linux/x86/Makefile
26256         (libpthread-sysdep_routines): Remove init-arch.
26257         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26258         <sysdeps/x86_64/dl-procinfo.c> instead of
26259         sysdeps/generic/dl-procinfo.c>.
26260         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26261         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26262         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26263         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26264         [$(subdir) == elf] (tests-static): Add
26265         tst-get-cpu-features-static.
26266         * sysdeps/x86/Versions: New file.
26267         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26268         * sysdeps/x86/cpu-features.c: Likewise.
26269         * sysdeps/x86/cpu-features.h: Likewise.
26270         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26271         * sysdeps/x86/libc-start.c: Likewise.
26272         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26273         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26274         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26275         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26276         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26277         Assume USE_MULTIARCH is defined and don't check it.
26278         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26279         (is_amd): Likewise.
26280         (max_cpuid): Likewise.
26281         (intel_check_word): Likewise.
26282         (__cache_sysconf): Don't call __init_cpu_features.
26283         (__x86_preferred_memory_instruction): Removed.
26284         (init_cacheinfo): Don't call __init_cpu_features. Replace
26285         __cpu_features with GLRO(dl_x86_cpu_features).
26286         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26287         (dl_platform_init): Call init_cpu_features.
26288         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26289         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26290         * sysdeps/x86_64/multiarch/Versions: Removed.
26291         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26292         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26293         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26294         Removed.
26295         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26297 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26299         [BZ #18820]
26300         * libio/Makefile (test-fmemopen-mem): New test.
26301         * libio/test-fmemopen.c (do_bz18820): New test.
26302         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26303         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26305 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26307         [BZ #16734]
26308         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26309         (FREE_BUF): Delete.
26310         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26311         * libio/genops.c (_IO_setb): Use malloc and free directly.
26312         (_IO_default_doallocate, _IO_default_finish): Likewise.
26313         ( _IO_unbuffer_all): Likewise.
26314         ( libc_freeres_fn): Likewise.
26315         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26316         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26317         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26318         (_IO_wdefault_doallocate): Likewise.
26320 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26322         [BZ #18086]
26323         * sysdeps/posix/nice.c (nice): Restore old errno.
26324         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26326 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26328         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26330 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26332         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26333         __bcopy and add a weak_alias to bcopy.
26334         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26335         for static build.
26337         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26338         cleanup macro usage.
26339         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26342         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26343         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26344         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26345         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26346         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26347         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26348         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26350         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26352         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26355         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26356         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26357         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26359         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26360         libc_hidden_def.
26361         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26363         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26364         (sysdep_routines): Add strstr-ppc64.
26365         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26367 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26369         [BZ #18778]
26370         * elf/Makefile (tests): Add Add tst-nodelete2.
26371         (modules-names): Add tst-nodelete2mod.
26372         (tst-nodelete2mod.so-no-z-defs): New.
26373         ($(objpfx)tst-nodelete2): Likewise.
26374         ($(objpfx)tst-nodelete2.out): Likewise.
26375         (LDFLAGS-tst-nodelete2): Likewise.
26376         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26377         out of loop through all loaded libraries.
26378         * elf/tst-nodelete2.c: New file.
26379         * elf/tst-nodelete2mod.c: Likewise.
26380         * elf/tst-znodelete-zlib.cc: Delete.
26382 2015-08-11  Andreas Schwab  <schwab@suse.de>
26384         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26385         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26386         (__openat64_nocancel): Likewise.
26388 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26390         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26391         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26392         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26393         * math/auto-libm-test-out: Regenerated.
26394         * sysdeps/i386/fpu/libm-test-ulps: Update.
26395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26397 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26399         [BZ #18790]
26400         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26401         threshold for returning +/- 1.
26402         * math/auto-libm-test-in: Add more tests of tanh.
26403         * math/auto-libm-test-out: Regenerated.
26404         * sysdeps/i386/fpu/libm-test-ulps: Update.
26406 2015-08-10  Andreas Schwab  <schwab@suse.de>
26408         [BZ #18781]
26409         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26410         MORE_OFLAGS to oflag.
26411         * io/test-lfs.c (do_test): Test openat64.
26413 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26415         [BZ #18789]
26416         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26417         smaller threshold for returning the argument.
26418         * math/auto-libm-test-in: Add more tests of sinh.
26419         * math/auto-libm-test-out: Regenerated.
26420         * sysdeps/i386/fpu/libm-test-ulps: Update.
26422 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26424         [BZ #18674]
26425         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26426         break.
26428 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26430         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26431         (generated): Don't add $(addprefix z.,$(tzfiles)).
26433 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26435         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26436         * scripts/sysd-rules.awk: Likewise.
26438 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26440         * iconvdata/tst-tables.sh: Change echo -n to printf.
26441         * nss/db-Makefile: Likewise.
26442         * posix/tst-getconf.sh: Likewise.
26443         * stdio-common/tst-unbputc.sh: Likewise.
26445 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26447         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26448         MADV_*_PAGES defines behind this feature check.
26450 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26452         [BZ #18480]
26453         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26454         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26455         Define.
26456         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26457         LOAD_REGS_5, LOAD_REGS_6): Update.
26458         (INTERNAL_SYSCALL): Update using new LOAD defines.
26459         (INTERNAL_SYSCALL_NCS): Likewise.
26460         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26462 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26464         [BZ #16734]
26465         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26467 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26469         [BZ #17905]
26470         * catgets/Makefile (tst-catgets-mem): New test.
26471         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26472         * catgets/open_catalog.c (__open_catalog): Likewise.
26473         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26475 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26477         [BZ #18787]
26478         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26479         clobber registers.
26480         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26481         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26482         Cast return to __typeof (oldval).
26484 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26486         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26487         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26488         and delete sys/syscall.h include.
26490 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26492         [BZ #16517]
26493         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26494         (tan): Force underflow exception for arguments with small absolute
26495         value.
26496         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26497         (__kernel_tanf): Force underflow exception for arguments with
26498         small absolute value.
26499         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26500         (__kernel_tanl): Force underflow exception for arguments with
26501         small absolute value.
26502         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26503         (__kernel_tanl): Force underflow exception for arguments with
26504         small absolute value.
26505         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26506         (__kernel_tanl): Force underflow exception for arguments with
26507         small absolute value.
26508         * math/auto-libm-test-in: Add more tests of tan.
26509         * math/auto-libm-test-out: Regenerated.
26511 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26513         Fix sysdeps/i386/fpu/s_scalbn.S build
26515         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26517 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26519         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26521 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26523         Fix gcrt0.o compilation
26525         When static-start-installed-name is different from
26526         start-installed-name, we must not use the shared objects.
26528         * csu/Makefile
26529         (extra-objs): Add gmon-start.o when building shared library and
26530         $(static-start-installed-name) is different from
26531         $(start-installed-name).
26532         $(objpfx)g$(static-start-installed-name): When building shared
26533         library and $(static-start-installed-name) is different from
26534         $(static-start-installed-name), revert to non-shared rule,
26535         i.e. using $(objpfx)% and gmon-start.o.
26537 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #16519]
26540         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26541         (__ieee754_sinh): Force underflow exception for arguments with
26542         small absolute value.
26543         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26544         (__ieee754_sinhf): Force underflow exception for arguments with
26545         small absolute value.
26546         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26547         (__ieee754_sinhl): Force underflow exception for arguments with
26548         small absolute value.
26549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26550         (__ieee754_sinhl): Force underflow exception for arguments with
26551         small absolute value.
26552         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26553         (__ieee754_sinhl): Force underflow exception for arguments with
26554         small absolute value.
26555         * math/auto-libm-test-in: Add more tests of sinh.
26556         * math/auto-libm-test-out: Regenerated.
26557         * sysdeps/i386/fpu/libm-test-ulps: Update.
26559 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26561         * libio/oldfileops.c: Include unistd.h.
26563 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26565         * stdlib/isomac.c: Include ctype.h.
26567 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26569         * dirent/tst-seekdir.c (main): Converted to ...
26570         (do_test): ... this.
26571         (TEST_FUNCTION): New macro.
26572         Include test-skeleton.c.
26573         * elf/tst-dlmodcount.c (main): Converted to ...
26574         (do_test): ... this.
26575         (TEST_FUNCTION): New macro.
26576         Include test-skeleton.c.
26577         * elf/tst-order-main.c (main): Converted to ...
26578         (do_test): ... this.
26579         (TEST_FUNCTION): New macro.
26580         Include test-skeleton.c.
26581         * elf/tst-pie2.c (main): Converted to ...
26582         (do_test): ... this.
26583         (TEST_FUNCTION): New macro.
26584         Include test-skeleton.c.
26585         * inet/tst-ether_aton.c (main): Converted to ...
26586         (do_test): ... this.
26587         (TEST_FUNCTION): New macro.
26588         Include test-skeleton.c.
26589         * misc/tst-mntent.c (main): Converted to ...
26590         (do_test): ... this.
26591         (TEST_FUNCTION): New macro.
26592         Include test-skeleton.c.
26593         * misc/tst-tsearch.c (main): Converted to ...
26594         (do_test): ... this.
26595         (TEST_FUNCTION): New macro.
26596         Include test-skeleton.c.
26597         * posix/tst-regexloc.c (main): Converted to ...
26598         (do_test): ... this.
26599         (TEST_FUNCTION): New macro.
26600         Include test-skeleton.c.
26601         * resolv/tst-aton.c (main): Converted to ...
26602         (do_test): ... this.
26603         (TEST_FUNCTION): New macro.
26604         Include test-skeleton.c.
26605         * stdio-common/test-fwrite.c (main): Converted to ...
26606         (do_test): ... this.
26607         (TEST_FUNCTION): New macro.
26608         Include test-skeleton.c.
26609         * stdio-common/tst-ferror.c (main): Converted to ...
26610         (do_test): ... this.
26611         (TEST_FUNCTION): New macro.
26612         Include test-skeleton.c.
26613         * stdio-common/tst-printf.c (main): Converted to ...
26614         (do_test): ... this.
26615         (TEST_FUNCTION): New macro.
26616         Include test-skeleton.c.
26617         * stdio-common/tst-printfsz.c (main): Converted to ...
26618         (do_test): ... this.
26619         (TEST_FUNCTION): New macro.
26620         Include test-skeleton.c.
26621         * stdlib/tst-strtod.c (main): Converted to ...
26622         (do_test): ... this.
26623         (TEST_FUNCTION): New macro.
26624         Include test-skeleton.c.
26625         * string/tst-strlen.c (main): Converted to ...
26626         (do_test): ... this.
26627         (TEST_FUNCTION): New macro.
26628         Include test-skeleton.c.
26629         * string/tst-svc.c (main): Converted to ...
26630         (do_test): ... this.
26631         (TEST_FUNCTION): New macro.
26632         Include test-skeleton.c.
26633         * time/tst-strptime.c (main): Converted to ...
26634         (do_test): ... this.
26635         (TEST_FUNCTION): New macro.
26636         Include test-skeleton.c.
26637         * timezone/tst-timezone.c (main): Converted to ...
26638         (do_test): ... this.
26639         (TEST_FUNCTION): New macro.
26640         Include test-skeleton.c.
26642 2015-08-05  Zack Weinberg  <zackw@panix.com>
26644         * misc/regexp.h: Update comments.
26646 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26648         [BZ #18635]
26649         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26650         before return label.
26652 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26654         [BZ #18661]
26655         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26656         when calling __errno_location.
26657         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26658         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26660 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26662         [BZ #18661]
26663         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26664         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26665         __gettimeofday.
26667 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26669         [BZ #18661]
26670         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26671         (__start_context): Don't use pop to restore %rdi so that stack
26672         is aligned to 16 bytes when calling __setcontext.
26674 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26676         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26677         only for libc.
26678         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26680 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26682         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26683         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26684         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26686 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26688         * string/memccpy.c (memccpy):
26689         Improve performance by using memchr/memcpy/__mempcpy.
26691 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26693         * string/strncpy.c (strncpy):
26694         Improve performance by using __strnlen/memcpy.
26696 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26698         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26699         Optimize to avoid an unnecessary FPCR read.
26701 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26703         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26704         Optimize to reduce FPCR/FPSR accesses.
26706 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26708         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26709         dead->data[category] != NULL.
26711 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26713         [BZ #18647]
26714         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26715         and |x| close to 1, use absolute value of x when computing log.
26716         * math/auto-libm-test-in: Add more tests of pow.
26717         * math/auto-libm-test-out: Regenerated.
26719 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26721         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26722         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26723         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26725 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26727         [BZ #18525]
26728         * locales/km_KH: Remove timezone definition.
26729         * locales/lo_LA: Likewise.
26730         * locales/my_MM: Likewise.
26731         * locales/nan_TW@latin: Likewise.
26732         * locales/th_TH: Likewise.
26733         * locales/uk_UA: Likewise.
26735 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26737         [BZ #18265]
26738         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26739         (wcsncat): Likewise.
26740         (wcscmp): Likewise.
26741         (wcsncmp): Likewise.
26743 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26745         * test-skeleton.c (usage): New function.
26746         (main): Call usage when opt is '?'.
26748 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26750         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26751         before first use.
26753 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26755         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26756         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26757         in there too.
26759 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26761         * version.h (RELEASE): Set to "development".
26762         (VERSION): Set to "2.22.90"
26764         * version.h (RELEASE): Set to "stable".
26765         (VERSION): Set to "2.22"
26766         * include/features.h (__GLIBC_MINOR__): Set to 22.
26768 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26770         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26771         Restructure macro to avoid "value computed is not used" warning.
26772         (atomic_compare_and_exchange_val_acq): Likewise.
26774 2015-08-04  Andreas Schwab  <schwab@suse.de>
26776         [BZ #18635]
26777         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26778         ret.
26779         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26781 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26783         * po/pl.po: Updated translation.
26784         * po/uk.po: Likewise.
26785         * po/fi.po: Likewise.
26786         * po/ko.po: Likewise.
26787         * po/ru.po: Likewise.
26788         * po/vi.po: Likewise.
26790 2015-07-31  Zack Weinberg  <zackw@panix.com>
26792         [BZ #18681]
26793         * regexp.h: Add unconditional #warning stating that this header
26794         will be removed soon.  Revise banner comment to match.
26795         (compile): Consistently use ERROR instead of RETURN to report
26796         errors (partial fix for BZ #18681).
26797         * regexp.c: Don't include regexp.h. Remove some unnecessary
26798         declarations.
26800 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26802         * po/libc.pot: Regenerated.
26804 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26806         [BZ #18740]
26807         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26808         float-vlen4-arch-ext-cflags): Removed.
26809         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26810         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26812 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26814         [BZ #14113]
26815         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26816         aligned to __aligned__.
26817         (pthread_cond_t, pthread_rwlock_t): Likewise.
26819 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26821         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26823 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26825         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26826         (struct sigaction): Change sa_flags from a long to an int, and add
26827         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26829 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26831         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26832         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26833         sysdeps/generic/sysdep.h include.
26834         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26835         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26836         sysdeps/hppa/sysdep.h.
26837         (ENTRY, PSEUDO): Undefine before defining.
26839 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26841         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26842         from scratch to use INTERNAL_SYSCALL.
26844 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26846         [BZ #18078]
26847         * scripts/check-localplt.awk: Support alternate relocations.
26848         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26849         sections.
26850         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26851         malloc entries with + REL R_386_GLOB_DAT.
26852         * sysdeps/x86_64/localplt.data: New file.
26854 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26856         [BZ #18731]
26857         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26859         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26861 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26863         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26865 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26867         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26868         directly in terms of __sync_fetch_and_add and delete (int) cast.
26870 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26872         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26873         the -D_ASM_IA64_CURRENT_H flag.
26875 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26877         [BZ #18641]
26878         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26880 2015-07-27  Andreas Schwab  <schwab@suse.de>
26882         * conform/conformtest.pl (checknamespace): Filter out string
26883         literals while tokenizing.
26885 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26887         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26888         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26889         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26891 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26893         * nptl/tst-join7mod.c: Add #include <string.h>.
26895 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26897         * sysdeps/nios2/libm-test-ulps: Update.
26899 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26901         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26902         Fix order of arguments to the rt_sigprocmask syscall.
26903         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26904         Likewise.
26906 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26908         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26910 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26912         [BZ #18457]
26913         * nptl/Makefile (tests): New test case tst-join7.
26914         (modules-names): New test case module tst-join7mod.
26915         * nptl/tst-join7.c: New file.
26916         * nptl/tst-join7mod.c: New file.
26917         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26918         all translation units in libc.so, libpthread.so and rtld.
26920 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26924 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26926         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26927         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26928         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26929         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26932         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26933         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26934         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26935         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26936         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26937         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26938         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26939         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26940         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26941         implementation.
26943 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26945         [BZ #17711]
26946         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26947         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26948         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26949         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26950         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26951         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26953 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26955         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26956         instead of just saying load lock in the comments.
26958 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26960         * sysdeps/unix/Subdirs: Moved ...
26961         * sysdeps/posix/Subdirs: ... here.
26962         * login/pty.h (struct termios, struct winsize): Add forward decls.
26963         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26964         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26965         * sysdeps/arm/nacl/libc.abilist: Updated.
26966         * sysdeps/nacl/libutil.abilist: New file.
26968         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26969         (SIGWINCH): New macro.
26971         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26972         * sysdeps/arm/nacl/libc.abilist: Add it.
26974 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26976         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26978 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26980         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26981         Swap __glibc_reserved0 and sa_flags order.
26983 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26985         [BZ #18657]
26986         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26987         are pending TLS destructor calls.
26988         * include/link.h (struct link_map): Add concurrency note for
26989         L_TLS_DTOR_COUNT.
26990         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26991         Don't touch the link map flag.  Atomically increment
26992         l_tls_dtor_count.
26993         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26994         Avoid taking the load lock and don't touch the link map flag.
26995         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26996         * stdlib/Makefile (tests): Use it.
26997         * stdlib/tst-tls-atexit.c (do_test): dlopen
26998         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26999         to allow tst-tls-atexit-nodelete test case to use it.
27001 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27003         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27004         to bits/types.h.
27005         (msgqnum_t): New typedef.
27006         (msglen_t): Likewise.
27007         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27008         and msg_qbytes type to msglen_t.
27010 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27012         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27013         pad0 to __glibc_reserved0.
27014         (struct stat64): Likewise.
27016 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27018         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27019         Change sa_flags from a long to an int and add __glibc_reserved0 before
27020         it for padding.
27022 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27024         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27025         anonymous by deleting "siginfo" name.
27027 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27029         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27030         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27031         rather than __nacl_irt_filename.
27032         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27034         * NEWS: New item for arm-nacl port.
27035         * sysdeps/arm/nacl/libc.abilist: New file.
27036         * sysdeps/nacl/ld.abilist: New file.
27037         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27038         * sysdeps/nacl/libanl.abilist: New file.
27039         * sysdeps/nacl/libcrypt.abilist: New file.
27040         * sysdeps/nacl/libdl.abilist: New file.
27041         * sysdeps/nacl/libm.abilist: New file.
27042         * sysdeps/nacl/libpthread.abilist: New file.
27043         * sysdeps/nacl/libresolv.abilist: New file.
27044         * sysdeps/nacl/librt.abilist: New file.
27046 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27048         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27049         __startcontext to initialize the new context.
27050         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27051         up CFI directive to forbid further backtracing.
27053 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27055         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27056         reference.
27057         * charmaps/ANSI_X3.4-1968: Likewise.
27058         * charmaps/BS_4730: Likewise.
27059         * charmaps/BS_VIEWDATA: Likewise.
27060         * charmaps/CP1250: Likewise.
27061         * charmaps/CP1251: Likewise.
27062         * charmaps/CP1252: Likewise.
27063         * charmaps/CP1253: Likewise.
27064         * charmaps/CP1254: Likewise.
27065         * charmaps/CP1255: Likewise.
27066         * charmaps/CP1256: Likewise.
27067         * charmaps/CSN_369103: Likewise.
27068         * charmaps/EBCDIC-DK-NO: Likewise.
27069         * charmaps/GB_1988-80: Likewise.
27070         * charmaps/GREEK-CCITT: Likewise.
27071         * charmaps/GREEK7: Likewise.
27072         * charmaps/INIS-8: Likewise.
27073         * charmaps/ISIRI-3342: Likewise.
27074         * charmaps/ISO_2033-1983: Likewise.
27075         * charmaps/ISO_5427-EXT: Likewise.
27076         * locales/POSIX: Likewise.
27077         * locales/ar_SA: Likewise.
27078         * locales/be_BY: Likewise.
27079         * locales/be_BY@latin: Likewise.
27080         * locales/ca_ES: Likewise.
27081         * locales/cs_CZ: Likewise.
27082         * locales/da_DK: Likewise.
27083         * locales/de_BE: Likewise.
27084         * locales/de_CH: Likewise.
27085         * locales/de_LU: Likewise.
27086         * locales/en_AU: Likewise.
27087         * locales/en_BW: Likewise.
27088         * locales/en_CA: Likewise.
27089         * locales/en_DK: Likewise.
27090         * locales/en_GB: Likewise.
27091         * locales/en_IE: Likewise.
27092         * locales/en_NZ: Likewise.
27093         * locales/en_ZA: Likewise.
27094         * locales/en_ZW: Likewise.
27095         * locales/es_AR: Likewise.
27096         * locales/es_BO: Likewise.
27097         * locales/es_CL: Likewise.
27098         * locales/es_CO: Likewise.
27099         * locales/es_DO: Likewise.
27100         * locales/es_EC: Likewise.
27101         * locales/es_ES: Likewise.
27102         * locales/es_HN: Likewise.
27103         * locales/es_MX: Likewise.
27104         * locales/es_PA: Likewise.
27105         * locales/es_PE: Likewise.
27106         * locales/es_PY: Likewise.
27107         * locales/es_SV: Likewise.
27108         * locales/es_US: Likewise.
27109         * locales/es_UY: Likewise.
27110         * locales/es_VE: Likewise.
27111         * locales/et_EE: Likewise.
27112         * locales/fa_IR: Likewise.
27113         * locales/fo_FO: Likewise.
27114         * locales/fr_CA: Likewise.
27115         * locales/fr_CH: Likewise.
27116         * locales/gv_GB: Likewise.
27117         * locales/he_IL: Likewise.
27118         * locales/hr_HR: Likewise.
27119         * locales/id_ID: Likewise.
27120         * locales/is_IS: Likewise.
27121         * locales/it_CH: Likewise.
27122         * locales/iw_IL: Likewise.
27123         * locales/kl_GL: Likewise.
27124         * locales/ko_KR: Likewise.
27125         * locales/kw_GB: Likewise.
27126         * locales/lg_UG: Likewise.
27127         * locales/lt_LT: Likewise.
27128         * locales/lv_LV: Likewise.
27129         * locales/mi_NZ: Likewise.
27130         * locales/nhn_MX: Likewise.
27131         * locales/nl_BE: Likewise.
27132         * locales/pl_PL: Likewise.
27133         * locales/sk_SK: Likewise.
27134         * locales/sl_SI: Likewise.
27135         * locales/sv_FI: Likewise.
27136         * locales/tl_PH: Likewise.
27137         * locales/tr_TR: Likewise.
27138         * locales/vi_VN: Likewise.
27140 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27142         [BZ #17475]
27143         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27144         of tu_IN and bh_IN.
27146 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27148         [BZ #18694]
27149         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27150         bits/wordsize.h.
27151         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27153 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27155         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27156         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27157         (spawn_thread): New function.
27158         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27159         (do_test): ... here.  Use IS_LOADED to test for its
27160         availability.
27162 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27164         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27166 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27168         [BZ #18696]
27169         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27170         si_addr_bnd.
27171         (si_lower): New.
27172         (si_upper): Likewise.
27174 2015-07-16  David S. Miller  <davem@davemloft.net>
27176         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27178 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27180         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27181         buffer.
27182         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27183         fail output information.
27185 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27188         and strstr-ppc64..
27189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27190         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27191         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27192         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27193         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27195 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27197         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27198         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27199         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27200         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27202 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27204         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27205         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27206         rtld_hidden_proto.
27207         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27209 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27212         the test can fail.
27214         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27216         [BZ #18676]
27217         * elf/tst-nodelete-opened.c: New test case.
27218         * elf/tst-nodelete-opened-lib.c: New test case module.
27219         * elf/Makefile (tests, modules-names): Use them.
27220         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27221         early.
27223 2015-07-15  David S. Miller  <davem@davemloft.net>
27225         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27226         futex-intenal.h
27227         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27228         * sysdeps/sparc/sparc64/Makefile: Likewise.
27229         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27230         Remove space from macro define.
27231         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27233 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27235         [BZ #17475]
27236         * locale/iso-639.def: Update Bhili and Tulu language codes as
27237         per iso639-3.
27239 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27241         * elf/tst-leaks1.c (main): Converted to ...
27242         (do_test): ... this.
27243         (TEST_FUNCTION): New macro.
27244         Include test-skeleton.c.
27245         * localedata/tst-langinfo.c (main): Converted to ...
27246         (do_test): ... this.
27247         (TEST_FUNCTION): New macro.
27248         Include test-skeleton.c.
27249         * math/test-fpucw.c (main): Converted to ...
27250         (do_test): ... this.
27251         (TEST_FUNCTION): New macro.
27252         Include test-skeleton.c.
27253         * math/test-tgmath.c (main): Converted to ...
27254         (do_test): ... this.
27255         (TEST_FUNCTION): New macro.
27256         Include test-skeleton.c.
27257         * math/test-tgmath2.c (main): Converted to ...
27258         (do_test): ... this.
27259         (TEST_FUNCTION): New macro.
27260         Include test-skeleton.c.
27261         * setjmp/tst-setjmp.c (main): Converted to ...
27262         (do_test): ... this.
27263         (TEST_FUNCTION): New macro.
27264         Include test-skeleton.c.
27265         * stdio-common/tst-sscanf.c (main): Converted to ...
27266         (do_test): ... this.
27267         (TEST_FUNCTION): New macro.
27268         Include test-skeleton.c.
27269         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27270         (do_test): ... this.
27271         (TEST_FUNCTION): New macro.
27272         Include test-skeleton.c.
27274         * elf/tst-audit9.c (main): Converted to ...
27275         (do_test): ... this.
27276         (TEST_FUNCTION): New macro.
27277         Include test-skeleton.c.
27279 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27281         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27283 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27285         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27286         New variable.
27288 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27290         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27292 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27294         * sysdeps/generic/dl-fileid.h: New file.
27295         * sysdeps/posix/dl-fileid.h: New file.
27296         * sysdeps/nacl/dl-fileid.h: New file.
27297         * include/link.h: Include <dl-fileid.h>.
27298         (struct link_map): Replace l_dev and l_ino with l_file_id.
27299         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27300         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27301         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27303 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27305         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27307 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27309         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27310         Add iff $CXX is set.
27311         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27312         Likewise.
27313         (tst-nodelete-zmodiff): Likewise.
27314         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27316 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27318         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27320 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27322         * sysdeps/aarch64/fpu/math_private.h
27323         (define math_opt_barrier): Add AArch64 version.
27324         (math_force_eval): Likewise.
27326 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27328         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27330 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27332         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27333         %ld with %jd and cast to intmax_t.
27334         (do_test_length_zero): Likewise.
27336 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27338         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27340 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27342         * sysdeps/tile/libm-test-ulps: Regenerated.
27344         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27345         Comment out the whole function, not just its body.
27347 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27349         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27350         locks.
27352         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27354 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27356         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27357         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27359 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27361         * sysdeps/nptl/futex-internal.h: New file.
27362         * sysdeps/nacl/futex-internal.h: New file.
27363         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27364         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27365         error checking.
27366         (setxid_unmark_thread): Likewise.
27367         (__nptl_setxid): Likewise.
27368         (__wait_lookup_done): Likewise.
27369         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27370         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27371         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27372         * nptl/pthread_once.c (clear_once_control): Likewise.
27373         (__pthread_once_slow): Likewise.
27374         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27375         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27376         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27377         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27378         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27379         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27380         Likewise.
27381         (__pthread_rwlock_rdlock): Likewise.
27382         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27383         Likewise.
27384         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27385         Likewise.
27386         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27387         Likewise.
27388         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27389         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27390         Likewise.
27391         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27392         __ASSUME_PRIVATE_FUTEX check.
27393         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27394         Check that shared futexes are supported.
27395         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27396         wrappers with error checking.
27397         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27398         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27399         * nptl/pthread_barrierattr_setpshared.c
27400         (pthread_barrierattr_setpshared): Check that shared futexes are
27401         supported.
27402         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27403         Likewise.
27404         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27405         Likewise.
27406         * nptl/sem_init.c (futex_private_if_supported): Remove.
27407         (__new_sem_init): Adapt and check that shared futexes are supported.
27408         * nptl/sem_open.c (sem_open): Likewise.
27409         * nptl/sem_post.c (futex_wake): Remove.
27410         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27411         (do_futex_wait): Use futex wrappers with error checking.
27412         * nptl/sem_wait.c: Include lowlevellock.h.
27413         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27414         Use futex_supports_pshared.
27415         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27416         Use futex wrappers with error checking.
27417         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27418         Likewise.
27419         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27420         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27421         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27422         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27423         (futex_wake): Likewise.
27424         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27425         (do_futex_wait): Use futex wrappers with error checking.
27426         (__new_sem_wait_slow): Update EINTR handling.
27427         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27429 2015-07-09  Martin Sebor  <msebor@redhat.com>
27431         [BZ #18435]
27432         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27433         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27434         * nptl/Makefile (test-xfail-tst-once5): Define.
27436 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27438         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27439         * elf/dl-minimal.c: For readability, reorder some definitions and
27440         introduce more page breaks.  Include <stdio.h>.
27441         (__libc_fatal): New function.
27443         * include/unistd.h: Add rtld_hidden_proto for _exit.
27444         * posix/_exit.c: Add rtld_hidden_def.
27445         * sysdeps/mach/hurd/_exit.c: Likewise.
27446         * sysdeps/nacl/_exit.c: Likewise.
27447         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27448         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27450 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27453         bndmov encoding with zero displacement.
27455 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27456             H.J. Lu  <hongjiu.lu@intel.com>
27458         [BZ #18134]
27459         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27460         * sysdeps/i386/configure: Regenerated.
27461         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27462         (_dl_runtime_profile): Save and restore Intel MPX return bound
27463         registers when calling _dl_call_pltexit.  Add
27464         PRESERVE_BND_REGS_PREFIX before return.
27465         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27466         (LRV_BND1_OFFSET): Likewise.
27467         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27468         lrv_bnd1.
27469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27470         typo in bndmov encoding.
27471         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27472         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27473         branch instructions to preserve bounds.
27475 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27478         [GLIBC_2.22]: Add fmemopen.
27480 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27482         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27483         returns an error, also try to use host port from __mach_host_self for
27484         the __vm_wire call.
27485         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27487 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27489         [BZ #18400]
27490         [BZ #18648]
27491         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27492         Fix pr_uid and pr_gid members.
27493         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27494         definition to elf_greg_t.
27496 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27498         [BZ #18383]
27499         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27500         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27501         * sysdeps/arm/configure: Regenerated.
27502         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27503         (test-xfail-tst-tlsalign-static): Variable removed.
27505         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27506         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27507         rather than explicit 'ln -s'.
27509         * resolv/rpc/netdb.h: New file.
27510         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27512 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27514         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27515         length buffers.
27516         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27517         test-skeleton.c.
27519         [BZ #6544]
27520         [BZ #11216]
27521         [BZ #12836]
27522         [BZ #13151]
27523         [BZ #13152]
27524         [BZ #14292]
27525         * include/stdio.h (fmemopen): Remove hidden prototype.
27526         (__fmemopen): Add new hidden prototype.
27527         * libio/Makefile: Add oldfmemopen object.
27528         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27529         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27530         compliance.
27531         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27532         symbol compatibility.
27533         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27534         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27535         fmemopen.
27536         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27537         on append and read mode.
27538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27539         fmemopen.
27540         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27541         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27542         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27543         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27544         Likewise.
27545         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27546         [GLIBC_2.22]: Likewise.
27547         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27548         Likewise.
27549         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27550         Likewise.
27551         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27552         [GLIBC_2.22]: Likewise.
27553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27554         [GLIBC_2.22]: Likewise.
27555         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27556         [GLIBC_2.22]: Likewise.
27557         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27558         [GLIBC_2.22]: Likewise.
27559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27560         [GLIBC_2.22]: Likewise.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27562         [GLIBC_2.22]: Likewise.
27563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27564         [GLIBC_2.22]: Likewise.
27565         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27566         Likewise.
27567         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27568         Likewise.
27569         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27570         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27571         [GLIBC_2.22]: Likewise.
27572         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27573         [GLIBC_2.22]: Likewise.
27574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27575         [GLIBC_2.22]: Likewise.
27576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27577         [GLIBC_2.22]: Likewise.
27578         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27579         Likewise.
27580         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27581         Likewise.
27582         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27583         Likewise.
27584         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27585         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27587 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27589         [BZ #18643]
27590         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27591         IPV6_PATHMTU, and IPV6_DONTFRAG.
27593 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27595         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27596         and _IO_UNBUFFERED.
27597         * libio/oldfileops.c: Likewise.
27598         * libio/wfileops.c: Likewise.
27600 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27602         * nscd/selinux.c: Delete selinux/flask.h include.
27604 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27606         [BZ #18641]
27607         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27608         (putpwent): Likewise.
27609         (getpwnam): Likewise.
27610         (getpwent_r): Likewise.
27611         (getpwuid_r): Likewise.
27612         (getpwnam_r): Likewise.
27613         (fgetpwent_r): Likewise.
27615 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27617         [BZ #18557]
27618         * inet/rcmd.c (__validuser2_sa): Check user first to
27619         short-circuit host check.
27621 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27622             Mikhail Ilin  <m.ilin@samsung.com>
27624         [BZ #17833]
27625         * elf/Makefile (tests): Add tst-nodelete.
27626         (modules-names): Add tst-nodelete-uniquemod.
27627         (tst-nodelete-uniquemod.so-no-z-defs): New.
27628         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27629         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27630         ($(objpfx)tst-nodelete): Likewise.
27631         ($(objpfx)tst-nodelete.out): Likewise.
27632         (LDFLAGS-tst-nodelete): Likewise.
27633         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27634         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27635         implement forced object deletion.
27636         (_dl_close): Pass false to _dl_close_worker.
27637         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27638         * elf/tst-nodelete.cc: New file.
27639         * elf/tst-nodeletelib.cc: Likewise.
27640         * elf/tst-znodeletelib.cc: Likewise.
27641         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27643 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27645         [BZ #18508]
27646         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27647         Depend on $(libdl).
27648         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27649         is not called infinitely times.
27650         (backtrace_helper): New function.
27651         (trace_arg): New struct.
27652         (st1): Enlarge stack size.
27653         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27654         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27655         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27656         Likewise.
27658 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27660         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27662 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27664         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27665         Include sys/types.h instead of bits/types.h.
27666         Remove inclusion of bits/wordsize.h.
27668 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27670         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27671         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27672         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27673         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27674         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27675         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27677 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27679         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27680         link-defines.sym.
27681         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27682         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27683         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27684         and LR_SIZE.
27685         * sysdeps/i386/link-defines.sym: New file.
27687 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27689         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27690         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27691         ($(objpfx)tst-audit3): New rule.
27692         ($(objpfx)tst-audit3.out): Likewise.
27693         * sysdeps/i386/tst-audit3.c: New file.
27694         * sysdeps/i386/tst-audit3.h: Likewise.
27695         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27696         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27698 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27700         [BZ #18633]
27701         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27702         pointer in C code.
27703         (__strcat_c): Likewise.
27704         (__strcat_g): Likewise.
27706 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27708         [BZ #18592]
27709         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27711 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27713         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27714         New function.  (__ieee754_sqrtf): New function.
27715         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27716         New function.
27717         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27718         New function.
27720 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27722         * sysdeps/ieee754/support.c: Remove unused file.
27724 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27726         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27727         registers instead of d ones so the layout is kernel abi compatible.
27728         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27729         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27730         Likewise.
27732 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27734         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27736 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27738         [BZ #18619]
27739         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27740         and return argument in case of subnormal argument.
27742 2015-07-01  Martin Sebor  <msebor@redhat.com>
27744         [BZ #18435]
27745         * nptl/Makefile: Add tst-once5.cc.
27746         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27747         Remove macro redefinitions.
27748         * nptl/tst-once5.cc: New test.
27750 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27752         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27754         * sysdeps/arm/libm-test-ulps: Regenerated.
27756         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27757         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27759 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27761         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27762         lll_lock_wait_private and lll_futex_wake probes.
27764         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27765         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27766         Likewise.
27767         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27768         atomic_spin_nop.
27769         * sysdeps/x86_64/bits/atomic.h: Likewise.
27770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27771         to atomic_spin_nop and move ...
27772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27773         ... here and ...
27774         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27775         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27776         atomic_spin_nop instead of BUSY_WAIT_NOP.
27777         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27778         Likewise.
27779         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27780         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27781         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27782         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27783         instead of atomic_delay.
27785 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27787         [BZ #18613]
27788         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27789         X_ADJ not X when adjusting exponent.
27790         (__ieee754_gamma_r): Do intermediate computations in
27791         round-to-nearest then adjust overflowing and underflowing results
27792         as needed.
27793         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27794         of X_ADJ not X when adjusting exponent.
27795         (__ieee754_gammaf_r): Do intermediate computations in
27796         round-to-nearest then adjust overflowing and underflowing results
27797         as needed.
27798         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27799         log of X_ADJ not X when adjusting exponent.
27800         (__ieee754_gammal_r): Do intermediate computations in
27801         round-to-nearest then adjust overflowing and underflowing results
27802         as needed.  Use 1.0L not 1.0f as numerator of division.
27803         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27804         log of X_ADJ not X when adjusting exponent.
27805         (__ieee754_gammal_r): Do intermediate computations in
27806         round-to-nearest then adjust overflowing and underflowing results
27807         as needed.  Use 1.0L not 1.0f as numerator of division.
27808         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27809         of X_ADJ not X when adjusting exponent.
27810         (__ieee754_gammal_r): Do intermediate computations in
27811         round-to-nearest then adjust overflowing and underflowing results
27812         as needed.  Use 1.0L not 1.0f as numerator of division.
27813         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27814         to auto-libm-test-in.
27815         (tgamma_test): Use ALL_RM_TEST.
27816         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27817         tests of tgamma with spurious-overflow.
27818         * math/auto-libm-test-out: Regenerated.
27819         * math/gen-libm-have-vector-test.sh: Do not check for START.
27820         * sysdeps/i386/fpu/libm-test-ulps: Update.
27821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27823         [BZ #18612]
27824         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27825         arguments, just return 0.5 times the argument, with underflow
27826         forced as needed.
27827         * math/auto-libm-test-in: Add more tests of j1.
27828         * math/auto-libm-test-out: Regenerated.
27830         [BZ #16559]
27831         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27832         (__ieee754_j1): Force underflow exception for small results.
27833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27834         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27835         (__ieee754_j1f): Force underflow exception for small results.
27836         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27837         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27839         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27840         (__ieee754_j1l): Force underflow exception for small results.
27841         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27842         * math/auto-libm-test-in: Add more tests of j1 and jn.
27843         * math/auto-libm-test-out: Regenerated.
27845         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27846         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27847         (PF_MPLS): Likewise.
27848         (AF_IB): Likewise.
27849         (AF_MPLS): Likewise.
27850         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27851         value and macro.
27852         (MS_RMT_MASK): Include MS_LAZYTIME.
27854 2015-06-26  Mel Gorman  <mgorman@suse.de>
27856         [BZ #18502]
27857         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27858         already minimal.
27860 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27862         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27863         (DT_MIPS_NUM): Update.
27864         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27865         DT_MIPS_RLD_MAP_REL.
27867 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27869         [BZ #16559]
27870         [BZ #18602]
27871         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27872         round-to-nearest internally then recompute results that
27873         underflowed to zero in the original rounding mode.
27874         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27875         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27876         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27877         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27878         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27879         * sysdeps/i386/fpu/libm-test-ulps: Update.
27880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27882 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27884         * NEWS: Fixed description of link with vector math library.
27886 2015-06-25  Andreas Schwab  <schwab@suse.de>
27888         [BZ #18549]
27889         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27890         * libio/test-fmemopen.c (do_test): Add test for it.
27892 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27894         [BZ #17841]
27895         * Makeconfig (no-pie-ldflag): New.
27896         (+link): Set to $(+link-pie) if default to PIE.
27897         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27898         * config.make.in (build-pie-default): New.
27899         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27900         is default.  AC_SUBST.
27901         * configure: Regenerated.
27902         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27904 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27906         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27907         to 'unsigned int'.
27909         * resolv/gai_misc.h (struct waitlist): Change type of field
27910         counterp to 'volatile unsigned int *'.
27911         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27912         FUTEXADDR and OLDVAL.
27913         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27914         Give local variable TOTAL type 'volatile unsigned int'.
27915         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27916         * resolv/gai_suspend.c (gai_suspend):
27917         Give local variable CNTR type 'unsigned int'.
27919         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27920         counterp to 'volatile unsigned int *'.
27921         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27922         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27923         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27924         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27925         Give local variable TOTAL type 'volatile unsigned int'.
27926         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27928 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27930         [BZ #18383]
27931         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27932         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27933         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27934         comment for i386/x86-64.
27935         (test-xfail-tst-tlsalign-extern-static): Removed.
27937 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27939         * math/test-double.h: New file.
27940         * math/test-float.h: Likewise.
27941         * math/test-ldouble.h: Likewise.
27942         * math/test-math-inline.h: Likewise.
27943         * math/test-math-no-inline.h: Likewise.
27944         * math/test-math-scalar.h: Likewise.
27945         * math/test-math-vector.h: Likewise.
27946         * math/test-vec-loop.h: Remove file.  Contents moved into
27947         test-math-vector.h.
27948         * math/libm-test.inc (MATHCONST): Do not document macro.
27949         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27950         and test-math-scalar.h.
27951         (FUNC): Remove macro.
27952         (FUNC_TEST): Likewise.
27953         (FLOAT): Likewise.
27954         (MATHCONST): Likewise.
27955         (PRINTF_EXPR): Likewise.
27956         (PRINTF_XEXPR): Likewise.
27957         (PRINTF_NEXPR): Likewise.
27958         (TEST_DOUBLE): Likewise.
27959         (TEST_MATHVEC): Likewise.
27960         (__NO_MATH_INLINES): Likewise.
27961         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27962         and test-math-scalar.h.
27963         (FUNC): Remove macro.
27964         (FUNC_TEST): Likewise.
27965         (FLOAT): Likewise.
27966         (MATHCONST): Likewise.
27967         (PRINTF_EXPR): Likewise.
27968         (PRINTF_XEXPR): Likewise.
27969         (PRINTF_NEXPR): Likewise.
27970         (TEST_FLOAT): Likewise.
27971         (TEST_MATHVEC): Likewise.
27972         (__NO_MATH_INLINES): Likewise.
27973         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27974         and test-math-scalar.h.
27975         (FUNC): Remove macro.
27976         (FUNC_TEST): Likewise.
27977         (FLOAT): Likewise.
27978         (MATHCONST): Likewise.
27979         (PRINTF_EXPR): Likewise.
27980         (PRINTF_XEXPR): Likewise.
27981         (PRINTF_NEXPR): Likewise.
27982         (TEST_DOUBLE): Likewise.
27983         (TEST_MATHVEC): Likewise.
27984         (TEST_INLINE): Likewise.
27985         (__NO_MATH_INLINES): Likewise.
27986         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27987         test-math-scalar.h.
27988         (FUNC): Remove macro.
27989         (FUNC_TEST): Likewise.
27990         (FLOAT): Likewise.
27991         (MATHCONST): Likewise.
27992         (PRINTF_EXPR): Likewise.
27993         (PRINTF_XEXPR): Likewise.
27994         (PRINTF_NEXPR): Likewise.
27995         (TEST_FLOAT): Likewise.
27996         (TEST_MATHVEC): Likewise.
27997         (TEST_INLINE): Likewise.
27998         (__NO_MATH_INLINES): Likewise.
27999         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28000         and test-math-scalar.h.
28001         (FUNC): Remove macro.
28002         (FUNC_TEST): Likewise.
28003         (FLOAT): Likewise.
28004         (MATHCONST): Likewise.
28005         (PRINTF_EXPR): Likewise.
28006         (PRINTF_XEXPR): Likewise.
28007         (PRINTF_NEXPR): Likewise.
28008         (TEST_LDOUBLE): Likewise.
28009         (TEST_MATHVEC): Likewise.
28010         (TEST_INLINE): Likewise.
28011         (__NO_MATH_INLINES): Likewise.
28012         * math/test-ldouble.c: Include test-ldouble.h,
28013         test-math-no-inline.h and test-math-scalar.h.
28014         (FUNC): Remove macro.
28015         (FUNC_TEST): Likewise.
28016         (FLOAT): Likewise.
28017         (MATHCONST): Likewise.
28018         (PRINTF_EXPR): Likewise.
28019         (PRINTF_XEXPR): Likewise.
28020         (PRINTF_NEXPR): Likewise.
28021         (TEST_LDOUBLE): Likewise.
28022         (TEST_MATHVEC): Likewise.
28023         (__NO_MATH_INLINES): Likewise.
28024         * math/test-double-vlen2.h: Include test-double.h,
28025         test-math-no-inline.h and test-math-vector.h.
28026         (FLOAT): Remove macro.
28027         (FUNC): Likewise.
28028         (MATHCONST): Likewise.
28029         (PRINTF_EXPR): Likewise.
28030         (PRINTF_XEXPR): Likewise.
28031         (PRINTF_NEXPR): Likewise.
28032         (TEST_DOUBLE): Likewise.
28033         (TEST_MATHVEC): Likewise.
28034         (__NO_MATH_INLINES): Likewise.
28035         (CNCT): Likewise.
28036         (CONCAT): Likewise.
28037         (WRAPPER_NAME): Likewise.
28038         (WRAPPER_DECL): Likewise.
28039         (WRAPPER_DECL_ff): Likewise.
28040         (WRAPPER_DECL_fFF): Likewise.
28041         (VECTOR_WRAPPER): Likewise.
28042         (VECTOR_WRAPPER_ff): Likewise.
28043         (VECTOR_WRAPPER_fFF): Likewise.
28044         (VEC_LEN): New macro.
28045         * math/test-double-vlen4.h: Include test-double.h,
28046         test-math-no-inline.h and test-math-vector.h.
28047         (FLOAT): Remove macro.
28048         (FUNC): Likewise.
28049         (MATHCONST): Likewise.
28050         (PRINTF_EXPR): Likewise.
28051         (PRINTF_XEXPR): Likewise.
28052         (PRINTF_NEXPR): Likewise.
28053         (TEST_DOUBLE): Likewise.
28054         (TEST_MATHVEC): Likewise.
28055         (__NO_MATH_INLINES): Likewise.
28056         (CNCT): Likewise.
28057         (CONCAT): Likewise.
28058         (WRAPPER_NAME): Likewise.
28059         (WRAPPER_DECL): Likewise.
28060         (WRAPPER_DECL_ff): Likewise.
28061         (WRAPPER_DECL_fFF): Likewise.
28062         (VECTOR_WRAPPER): Likewise.
28063         (VECTOR_WRAPPER_ff): Likewise.
28064         (VECTOR_WRAPPER_fFF): Likewise.
28065         (VEC_LEN): New macro.
28066         * math/test-double-vlen8.h: Include test-double.h,
28067         test-math-no-inline.h and test-math-vector.h.
28068         (FLOAT): Remove macro.
28069         (FUNC): Likewise.
28070         (MATHCONST): Likewise.
28071         (PRINTF_EXPR): Likewise.
28072         (PRINTF_XEXPR): Likewise.
28073         (PRINTF_NEXPR): Likewise.
28074         (TEST_DOUBLE): Likewise.
28075         (TEST_MATHVEC): Likewise.
28076         (__NO_MATH_INLINES): Likewise.
28077         (CNCT): Likewise.
28078         (CONCAT): Likewise.
28079         (WRAPPER_NAME): Likewise.
28080         (WRAPPER_DECL): Likewise.
28081         (WRAPPER_DECL_ff): Likewise.
28082         (WRAPPER_DECL_fFF): Likewise.
28083         (VECTOR_WRAPPER): Likewise.
28084         (VECTOR_WRAPPER_ff): Likewise.
28085         (VECTOR_WRAPPER_fFF): Likewise.
28086         (VEC_LEN): New macro.
28087         * math/test-float-vlen4.h: Include test-float.h,
28088         test-math-no-inline.h and test-math-vector.h.
28089         (FLOAT): Remove macro.
28090         (FUNC): Likewise.
28091         (MATHCONST): Likewise.
28092         (PRINTF_EXPR): Likewise.
28093         (PRINTF_XEXPR): Likewise.
28094         (PRINTF_NEXPR): Likewise.
28095         (TEST_FLOAT): Likewise.
28096         (TEST_MATHVEC): Likewise.
28097         (__NO_MATH_INLINES): Likewise.
28098         (CNCT): Likewise.
28099         (CONCAT): Likewise.
28100         (WRAPPER_NAME): Likewise.
28101         (WRAPPER_DECL): Likewise.
28102         (WRAPPER_DECL_ff): Likewise.
28103         (WRAPPER_DECL_fFF): Likewise.
28104         (VECTOR_WRAPPER): Likewise.
28105         (VECTOR_WRAPPER_ff): Likewise.
28106         (VECTOR_WRAPPER_fFF): Likewise.
28107         (VEC_LEN): New macro.
28108         * math/test-float-vlen8.h: Include test-float.h,
28109         test-math-no-inline.h and test-math-vector.h.
28110         (FLOAT): Remove macro.
28111         (FUNC): Likewise.
28112         (MATHCONST): Likewise.
28113         (PRINTF_EXPR): Likewise.
28114         (PRINTF_XEXPR): Likewise.
28115         (PRINTF_NEXPR): Likewise.
28116         (TEST_FLOAT): Likewise.
28117         (TEST_MATHVEC): Likewise.
28118         (__NO_MATH_INLINES): Likewise.
28119         (CNCT): Likewise.
28120         (CONCAT): Likewise.
28121         (WRAPPER_NAME): Likewise.
28122         (WRAPPER_DECL): Likewise.
28123         (WRAPPER_DECL_ff): Likewise.
28124         (WRAPPER_DECL_fFF): Likewise.
28125         (VECTOR_WRAPPER): Likewise.
28126         (VECTOR_WRAPPER_ff): Likewise.
28127         (VECTOR_WRAPPER_fFF): Likewise.
28128         (VEC_LEN): New macro.
28129         * math/test-float-vlen16.h: Include test-float.h,
28130         test-math-no-inline.h and test-math-vector.h.
28131         (FLOAT): Remove macro.
28132         (FUNC): Likewise.
28133         (MATHCONST): Likewise.
28134         (PRINTF_EXPR): Likewise.
28135         (PRINTF_XEXPR): Likewise.
28136         (PRINTF_NEXPR): Likewise.
28137         (TEST_FLOAT): Likewise.
28138         (TEST_MATHVEC): Likewise.
28139         (__NO_MATH_INLINES): Likewise.
28140         (CNCT): Likewise.
28141         (CONCAT): Likewise.
28142         (WRAPPER_NAME): Likewise.
28143         (WRAPPER_DECL): Likewise.
28144         (WRAPPER_DECL_ff): Likewise.
28145         (WRAPPER_DECL_fFF): Likewise.
28146         (VECTOR_WRAPPER): Likewise.
28147         (VECTOR_WRAPPER_ff): Likewise.
28148         (VECTOR_WRAPPER_fFF): Likewise.
28149         (VEC_LEN): New macro.
28150         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28151         test-vec-loop.h.
28152         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28153         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28154         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28155         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28156         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28157         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28158         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28160 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28162         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28163         (__getlogin_r): ... this.
28165 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28167         [BZ #18594]
28168         * math/s_ccosh.c (__ccosh): Compare with least normal value
28169         instead of comparing class with FP_SUBNORMAL.
28170         * math/s_ccoshf.c (__ccoshf): Likewise.
28171         * math/s_ccoshl.c (__ccoshl): Likewise.
28172         * math/s_cexp.c (__cexp): Likewise.
28173         * math/s_cexpf.c (__cexpf): Likewise.
28174         * math/s_cexpl.c (__cexpl): Likewise.
28175         * math/s_csin.c (__csin): Likewise.
28176         * math/s_csinf.c (__csinf): Likewise.
28177         * math/s_csinh.c (__csinh): Likewise.
28178         * math/s_csinhf.c (__csinhf): Likewise.
28179         * math/s_csinhl.c (__csinhl): Likewise.
28180         * math/s_csinl.c (__csinl): Likewise.
28181         * math/s_ctan.c (__ctan): Likewise.
28182         * math/s_ctanf.c (__ctanf): Likewise.
28183         * math/s_ctanh.c (__ctanh): Likewise.
28184         * math/s_ctanhf.c (__ctanhf): Likewise.
28185         * math/s_ctanhl.c (__ctanhl): Likewise.
28186         * math/s_ctanl.c (__ctanl): Likewise.
28187         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28188         csin, csinh, ctan and ctanh.
28189         * math/auto-libm-test-out: Regenerated.
28190         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28191         * sysdeps/i386/fpu/libm-test-ulps: Update.
28192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28194 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28196         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28197         return value is wrong, print the expected value too.
28199 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28201         [BZ #18585]
28202         * elf/readlib.c (is_gdb_python_file): New.
28203         (process_file): Don't issue errors on filenames with -gdb.py
28204         suffix.
28206 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28208         * math/auto-libm-test-in: Add more tests of csin and csinh.
28209         * math/auto-libm-test-out: Regenerated.
28210         * math/libm-test.inc (csin_test_data): Remove tests moved to
28211         auto-libm-test-in.
28212         (csinh_test_data): Likewise.
28214         [BZ #18593]
28215         * math/s_csin.c (__csin): Negate before rather than after possibly
28216         overflowing multiplication.
28217         * math/s_csinf.c (__csinf): Likewise.
28218         * math/s_csinh.c (__csinh): Likewise.
28219         * math/s_csinhf.c (__csinhf): Likewise.
28220         * math/s_csinhl.c (__csinhl): Likewise.
28221         * math/s_csinl.c (__csinl): Likewise.
28222         * math/auto-libm-test-in: Add some tests of csin and csinh.
28223         * math/auto-libm-test-out: Regenerated.
28224         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28225         (csinh_test_data): Likewise.
28226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28228         [BZ #18586]
28229         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28230         underflow exception for small results.
28232 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28234         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28235         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28236         variable and included header.
28237         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28238         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28239         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28245         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28246         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28247         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28248         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28249         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28250         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28251         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28252         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28254 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28256         [BZ #16526]
28257         [BZ #16538]
28258         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28259         (__sin): Force underflow exception for arguments with small
28260         absolute value.
28261         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28262         (__kernel_sinf): Force underflow exception for arguments with
28263         small absolute value.
28264         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28265         (__kernel_sincosl): Force underflow exception for arguments with
28266         small absolute value.
28267         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28268         (__kernel_sinl): Force underflow exception for arguments with
28269         small absolute value.
28270         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28271         (__kernel_sincosl): Force underflow exception for arguments with
28272         small absolute value.
28273         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28274         (__kernel_sinl): Force underflow exception for arguments with
28275         small absolute value.
28276         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28277         (__kernel_sinl): Force underflow exception for arguments with
28278         small absolute value.
28279         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28280         (__kernel_sinf): Force underflow exception for arguments with
28281         small absolute value.
28282         * math/auto-libm-test-in: Add more tests of sin and sincos.
28283         * math/auto-libm-test-out: Regenerated.
28285         [BZ #18245]
28286         [BZ #18583]
28287         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28288         (__kernel_standard_l): Use feholdexcept and fesetenv around
28289         conversion to double instead of special-casing overflow and
28290         underflow.
28291         * math/libm-test.inc (fmod_test_data): Add more tests.
28292         (remainder_test_data): Likewise.
28293         (sqrt_test_data): Likewise.
28295 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28297         [BZ #17403]
28298         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28299         atomic_read_barrier, atomic_write_barrier): Define.
28300         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28301         atomic_read_barrier, atomic_write_barrier): Define.
28303 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28305         * math/Makefile [$(PERL) != no]
28306         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28307         dependency on libm-test.stmp below the inclusion of Rules.
28309 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28311         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28313         and included header.
28314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28316         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28318         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28322         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28323         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28324         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28325         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28326         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28327         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28328         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28329         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28330         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28331         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28332         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28334 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28336         [BZ #18371]
28337         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28338         intermediate but not final result might underflow.
28339         * math/s_csqrtf.c (__csqrtf): Likewise.
28340         * math/s_csqrtl.c (__csqrtl): Likewise.
28341         * math/auto-libm-test-in: Add more tests of csqrt.
28342         * math/auto-libm-test-out: Regenerated.
28343         * sysdeps/i386/fpu/libm-test-ulps: Update.
28345         [BZ #18219]
28346         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28347         threshold on absolute value of exponent for which scaling is used.
28348         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28349         * math/auto-libm-test-in: Add more tests of exp2.
28350         * math/auto-libm-test-out: Regenerated.
28352 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28354         [BZ #17977]
28355         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28356         when initializing interface list, based on the bug analysis
28357         and the patch proposed by Eric Newton.
28358         * resolv/tst-res_hconf_reorder.c: New test.
28359         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28360         tst-res_hconf_reorder.
28361         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28362         and $(shared-thread-library).
28363         (tst-res_hconf_reorder-ENV): New variable.
28365         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28366         in comment.
28368 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28370         [BZ #16353]
28371         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28372         (__expm1): Force underflow exception for arguments with small
28373         absolute value.
28374         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28375         (__expm1f): Force underflow exception for arguments with small
28376         absolute value.
28377         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28378         (__expm1): Force underflow exception for arguments with small
28379         absolute value.
28380         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28381         (__expm1f): Force underflow exception for arguments with small
28382         absolute value.
28383         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28384         Check for small arguments before calling __expm1.
28385         * math/auto-libm-test-in: Do not mark underflow exceptions as
28386         possibly missing for bug 16353.
28387         * math/auto-libm-test-out: Regenerated.
28389 2015-06-22  Andreas Schwab  <schwab@suse.de>
28391         [BZ #18513]
28392         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28393         PTR queries.
28395 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28397         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28399         * string/strcoll_l.c: Remove unused struct element idxnow.
28401 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28403         [BZ #18569]
28404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28405         underflow and return argument in case of subnormal argument.
28406         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28407         Likewise.
28408         * math/auto-libm-test-in: Add more tests of expm1.
28409         * math/auto-libm-test-out: Regenerated.
28411         [BZ #16361]
28412         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28413         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28414         tiny results.
28415         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28416         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28417         tiny results.
28418         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28419         mark underflow exceptions as possibly missing for bug 16361.
28420         * math/auto-libm-test-out: Regenerated.
28422 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28424         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28425         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28426         Remove variable.
28427         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28428         (test-xfail-XOPEN2K8/utmpx.h/conform).
28430         * conform/conformtest.pl ($xerrors): New variable.
28431         (note_error): New function.
28432         (compiletest): New argument $xfail.  Use not_error.
28433         (runtest): Likewise.
28434         (top level): Handle xfail- lines.  Update calls to compiletest and
28435         runtest.  Handle xfail- and optional- in headers listed with
28436         allow-header.
28437         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28438         (O_EXEC): Likewise.
28439         (O_SEARCH): Likewise.
28440         * conform/data/stropts.h-data (ioctl): Likewise.
28441         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28442         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28443         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28444         (msghdr.msg_controllen): Likewise.
28445         (cmsghdr.cmsg_len): Likewise.
28446         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28447         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28448         variable.
28449         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28450         (test-xfail-XPG4/stropts.h/conform): Likewise.
28451         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28452         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28453         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28454         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28455         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28456         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28457         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28458         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28459         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28460         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28461         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28462         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28463         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28464         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28465         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28466         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28467         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28468         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28469         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28471 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28473         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28474         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28475         definitions for proper unfolding of __MATHDECL_VEC.
28477 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28479         * benchtests/bench-strcoll.c:
28480         Include string.h.
28481         (main): Remove unused variable res.
28483 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28485         * timezone/Makefile (%/UTC %/Universal):
28486         Generate test-result files for UTC and Universal.
28488 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28490         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28492 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28494         [BZ #16350]
28495         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28496         for arguments with small absolute value.
28497         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28498         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28499         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28500         (__asinh): Force underflow exception for arguments with small
28501         absolute value.
28502         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28503         (__asinhf): Force underflow exception for arguments with small
28504         absolute value.
28505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28506         (__asinhl): Force underflow exception for arguments with small
28507         absolute value.
28508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28509         (__asinhl): Force underflow exception for arguments with small
28510         absolute value.
28511         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28512         (__asinhl): Force underflow exception for arguments with small
28513         absolute value.
28514         * math/auto-libm-test-in: Do not mark underflow exceptions as
28515         possibly missing for bug 16350.
28516         * math/auto-libm-test-out: Regenerated.
28518         * include/bits/ipc.h: Remove file.
28519         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28520         variable.
28521         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28522         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28523         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28524         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28525         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28526         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28527         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28528         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28529         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28531         * math/auto-libm-test-in: Remove spurious underflow allowance for
28532         tests of cexp.
28533         * math/auto-libm-test-out: Regenerated.
28535         [BZ #18558]
28536         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28537         unconditional definition.
28538         (MCAST_BLOCK_SOURCE): Likewise.
28539         (MCAST_UNBLOCK_SOURCE): Likewise.
28540         (MCAST_LEAVE_GROUP): Likewise.
28541         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28542         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28543         (MCAST_MSFILTER): Likewise.
28544         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28545         Remove variable.
28546         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28547         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28548         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28549         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28550         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28552 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28554         * NEWS: Mention addition of x86_64 vector sincosf.
28555         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28556         * math/test-float-vlen4.h: Likewise.
28557         * math/test-float-vlen8.h: Likewise.
28558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28559         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28561         * sysdeps/x86_64/fpu/Versions: New versions added.
28562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28564         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28565         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28566         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28571         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28572         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28573         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28574         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28575         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28576         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28577         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28578         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28579         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28580         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28581         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28583         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28584         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28585         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28587         * NEWS: Mention addition of x86_64 vector sincos.
28588         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28589         * math/math.h (__MATHDECL_VEC): New macro.
28590         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28591         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28592         declaration under condition.
28593         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28594         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28595         TEST_VEC_LOOP change.
28596         * math/test-double-vlen4.h: Likewise.
28597         * math/test-double-vlen8.h: Likewise.
28598         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28599         * math/test-float-vlen4.h: Likewise.
28600         * math/test-float-vlen8.h: Likewise.
28601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28602         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28604         * sysdeps/x86_64/fpu/Versions: New versions added.
28605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28608         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28613         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28614         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28615         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28616         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28617         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28618         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28619         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28620         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28622         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28626         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28630         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28631         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28632         redirections for powf.
28633         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28634         * sysdeps/x86_64/fpu/Versions: New versions added.
28635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28636         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28637         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28638         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28639         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28640         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28641         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28644         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28645         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28646         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28647         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28648         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28649         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28650         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28659         * math/test-float-vlen16.h: Fixed 2 argument macro.
28660         * math/test-float-vlen4.h: Likewise.
28661         * math/test-float-vlen8.h: Likewise.
28662         * NEWS: Mention addition of x86_64 vector powf.
28664 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28666         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28667         and redefine.
28668         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28669         and redefine.
28670         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28671         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28674         [BZ #18553]
28675         * resource/getpriority.c (getpriority): Rename to __getpriority
28676         and define as weak alias of __getpriority.
28677         * resource/setpriority.c (setpriority): Rename to __setpriority
28678         and define as weak alias of __setpriority.
28679         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28680         __getpriority and define as weak alias of __getpriority.
28681         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28682         __setpriority and define as weak alias of __setpriority.
28683         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28684         strong name.
28685         (setpriority): Use __setpriority as strong name.
28686         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28687         __getpriority and define as weak alias of __getpriority.
28688         * include/sys/resource.h (__getpriority): Declare.  Use
28689         libc_hidden_proto.
28690         (__setpriority): Likewise.
28691         (getpriority): Don't use libc_hidden_proto.
28692         (setpriority): Likewise.
28693         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28694         getpriority.  Call __setpriority instead of setpriority.
28695         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28696         Remove variable.
28698         [BZ #18547]
28699         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28700         as weak alias of __getttynam.  Use prototype function definition.
28701         Call __setttyent, __getttyent and __endttyent instead of
28702         setttyent, getttyent and endttyent.
28703         (getttyent): Rename to __getttyent and define as weak alias of
28704         __getttyent.  Call __setttyent instead of setttyent.  Call
28705         __fgets_unlocked instead of fgets_unlocked.
28706         (setttyent): Rename to __setttyent and define as weak alias of
28707         __setttyent.
28708         (endttyent): Rename to __endttyent and define as weak alias of
28709         __endttyent.
28710         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28711         (__setttyent): Likewise.
28712         (__endttyent): Likewise.
28713         (getttyent): Don't use libc_hidden_proto.
28714         (setttyent): Likewise.
28715         (endttyent): Likewise.
28716         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28717         __endttyent instead of setttyent, getttyent and endttyent.
28718         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28719         Remove variable.
28721         [BZ #18546]
28722         * socket/recv.c (__recv): Use libc_hidden_def.
28723         * socket/socket.c (__socket): Likewise.
28724         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28725         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28726         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28727         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28728         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28729         libc_hidden_def.
28730         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28731         libc_hidden_weak.
28732         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28733         Use libc_hidden_proto.
28734         (__recv): Likewise.
28735         * socket/Versions (libc): Export __recv and __socket at version
28736         GLIBC_PRIVATE.
28737         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28738         instead of recv.
28739         (init_mq_netlink): Call __socket instead of socket.
28740         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28741         Remove variable.
28743         [BZ #18545]
28744         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28745         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28746         hidden_weak.
28747         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28748         define as alias of __mq_timedsend.  Use hidden_weak.
28749         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28750         __mq_timedsend as strong name.
28751         (mq_timedreceive): Use __mq_timedreceive as strong name.
28752         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28753         (__mq_timedreceive): Likewise.
28754         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28755         __mq_timedreceive instead of mq_timedreceive.
28756         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28757         instead of mq_timedsend.
28758         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28759         Remove variable.
28761         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28762         hidden_def and hidden_weak instead of libc_hidden_def and
28763         libc_hidden_weak.
28764         (top level): Refer to hidden_def in comment.
28765         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28766         macro.  Use it instead of libc_hidden_def.
28767         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28768         specify __GI_* name explicitly.
28769         (mq_timedreceive): Likewise.
28770         (mq_setattr): Likewise.
28772         [BZ #18544]
28773         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28774         __pthread_barrier_init and define as weak alias of
28775         __pthread_barrier_init.
28776         * sysdeps/sparc/nptl/pthread_barrier_init.c
28777         (pthread_barrier_init): Likewise.
28778         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28779         __pthread_barrier_wait and define as weak alias of
28780         __pthread_barrier_wait.
28781         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28782         (pthread_barrier_wait): Likewise.
28783         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28784         (pthread_barrier_wait): Likewise.
28785         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28786         (pthread_barrier_wait): Likewise.
28787         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28788         (pthread_barrier_wait): Likewise.
28789         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28790         __pthread_barrier_wait at version GLIBC_PRIVATE.
28791         * include/pthread.h (__pthread_barrier_init): Declare.
28792         (__pthread_barrier_wait): Likewise.
28793         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28794         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28795         (helper_thread): Likewise.
28796         (init_mq_netlink): Call __pthread_barrier_init instead of
28797         pthread_barrier_init.
28799         [BZ #18542]
28800         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28801         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28802         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28803         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28804         vswscanf.
28805         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28806         Remove variable.
28808         [BZ #18540]
28809         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28810         strong alias of _IO_fflush.  Use libc_hidden_def.
28811         * libio/iofflush_u.c (fflush_unlocked): Rename to
28812         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28813         Use libc_hidden_weak.
28814         * include/stdio.h (__fflush_unlocked): Declare.  Use
28815         libc_hidden_proto.
28816         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28817         fflush_unlocked.
28818         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28819         Remove variable.
28821         [BZ #18539]
28822         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28823         define as weak alias of __addseverity.
28824         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28825         Remove variable.
28826         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28827         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28828         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28830         [BZ #18536]
28831         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28832         (__tfind): Likewise.
28833         (__tdelete): Likewise.
28834         (__twalk): Likewise.
28835         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28836         __twalk to GLIBC_PRIVATE.
28837         * include/search.h (__tsearch): Use libc_hidden_proto.
28838         (__tfind): Likewise.
28839         (__tdelete): Likewise.
28840         (__twalk): Likewise.
28841         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28842         Call __tdelete instead of tdelete.
28843         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28844         tfind.  Call __tsearch instead of tsearch.
28845         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28846         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28847         Remove variable.
28848         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28850         [BZ #18534]
28851         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28852         (dprintf): Define as a weak alias of __dprintf, not a strong
28853         alias.
28854         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28855         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28856         dprintf.
28857         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28858         Remove variable.
28859         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28860         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28862         [BZ #18533]
28863         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28864         not a strong alias.
28865         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28866         Remove variable.
28868         [BZ #18532]
28869         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28870         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28871         (in6addr_loopback): Rename to __in6addr_loopback and define as
28872         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28873         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28874         libc_hidden_proto.
28875         (__in6addr_any): Likewise.
28876         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28877         in6addr_any.
28878         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28879         variable.
28880         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28882 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28884         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28885         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28886         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28887         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28888         redirections for pow.
28889         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28890         * sysdeps/x86_64/fpu/Versions: New versions added.
28891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28892         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28893         build of SSE, AVX2 and AVX512 IFUNC versions.
28894         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28895         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28900         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28901         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28902         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28903         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28904         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28905         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28906         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28907         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28908         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28911         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28912         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28913         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28914         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28915         * NEWS: Mention addition of x86_64 vector pow.
28917         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28918         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28919         redirections for expf.
28920         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28921         * sysdeps/x86_64/fpu/Versions: New versions added.
28922         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28923         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28924         build of SSE, AVX2 and AVX512 IFUNC versions.
28925         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28927         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28929         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28930         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28931         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28932         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28933         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28934         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28935         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28936         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28937         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28938         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28939         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28940         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28942         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28943         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28944         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28945         * NEWS: Mention addition of x86_64 vector expf.
28947         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28948         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28949         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28950         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28951         redirections for exp.
28952         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28953         * sysdeps/x86_64/fpu/Versions: New versions added.
28954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28955         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28956         build of SSE, AVX2 and AVX512 IFUNC versions.
28957         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28958         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28962         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28963         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28964         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28965         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28966         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28967         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28968         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28969         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28970         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28972         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28973         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28974         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28975         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28976         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28977         * NEWS: Mention addition of x86_64 vector exp.
28979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28981         redirections for logf.
28982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28983         * sysdeps/x86_64/fpu/Versions: New versions added.
28984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28986         build of SSE, AVX2 and AVX512 IFUNC versions.
28987         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28991         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28992         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28993         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28994         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28995         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28996         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28997         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28998         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28999         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29000         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29001         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29002         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29005         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29006         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29007         * NEWS: Mention addition of x86_64 vector logf.
29009         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29010         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29011         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29012         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29013         redirections for log.
29014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29015         * sysdeps/x86_64/fpu/Versions: New versions added.
29016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29018         build of SSE, AVX2 and AVX512 IFUNC versions.
29019         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29020         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29021         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29022         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29023         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29024         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29025         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29026         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29027         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29028         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29029         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29030         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29032         test.
29033         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29035         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29036         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29037         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29038         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29039         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29040         * NEWS: Mention addition of x86_64 vector log.
29042 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29044         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29045         cfi_adjust_cfa_offset argument.
29046         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29047         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29049         [BZ #18034]
29050         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29051         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29052         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29053         ordering using ldar.
29054         (_dl_tlsdesc_dynamic): Likewise.
29055         (_dl_tlsdesc_return_lazy): Likewise.
29056         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29057         relaxed atomics instead of volatile and synchronize with release store.
29058         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29059         volatile.
29060         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29062 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29065         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29067         * sysdeps/x86_64/fpu/Versions: New versions added.
29068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29070         build of SSE, AVX2 and AVX512 IFUNC versions.
29071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29075         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29076         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29077         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29078         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29079         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29080         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29081         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29082         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29083         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29084         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29085         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29086         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29090         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29091         * NEWS: Mention addition of x86_64 vector sinf.
29093 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29095         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29096         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29097         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29098         Remove variable.
29099         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29100         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29102 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #18530]
29105         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29106         strong alias of _IO_fputs.  Use libc_hidden_def.
29107         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29108         and define as weak alias of __fputs_unlocked.  Use
29109         libc_hidden_weak.
29110         * include/stdio.h (__fputs_unlocked): Declare.  Use
29111         libc_hidden_proto.
29112         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29113         fputs_unlocked.
29115         [BZ #18529]
29116         * resolv/netdb.h [__USE_POSIX]: Change condition to
29117         [__USE_XOPEN2K].
29118         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29119         not expect.
29120         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29121         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29122         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29123         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29124         [XPG4 || UNIX98] (AI_ALL): Likewise.
29125         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29126         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29127         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29128         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29129         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29130         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29131         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29132         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29133         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29134         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29135         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29136         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29137         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29138         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29139         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29140         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29141         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29142         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29143         [XPG4 || UNIX98] (gai_strerror): Likewise.
29144         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29145         [XPG4 || UNIX98] (getnameinfo): Likewise.
29147         [BZ #18528]
29148         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29149         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29150         __USE_XOPEN2K8].
29151         (getgrent): Likewise.
29152         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29153         expect.
29154         [XPG3 || POSIX2008] (endgrent): Likewise.
29155         [XPG3] (setgrent): Likewise.
29156         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29157         variable.
29158         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29160         [BZ #18527]
29161         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29162         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29163         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29164         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29165         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29166         * include/unistd.h (__getlogin_r): Declare.  Use
29167         libc_hidden_proto.
29168         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29169         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29170         variable.
29171         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29172         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29173         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29175 2015-06-12  Martin Sebor  <msebor@redhat.com>
29177         [BZ #18512]
29178         * Makerules (check-install-supported): New target.
29179         (install): Add check-install-supported as a dependency.
29180         * manual/install.texi (Installing the C Library): Document
29181         that overriding prefix and exec_prefix is not supported.
29182         Mention DESTDIR.
29183         * INSTALL: Regenerate from the above.
29185 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29187         [BZ #18519]
29188         * posix/Versions (libc): Export __libc_pread at version
29189         GLIBC_PRIVATE.
29190         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29191         instead of pread.
29192         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29193         variable.
29195         [BZ #18522]
29196         * misc/efgcvt_r.c
29197         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29198         (cvt_symbol): Use weak_alias instead of strong_alias.
29199         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29200         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29201         Remove variable.
29202         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29203         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29205         [BZ #18520]
29206         * inet/herrno.c (h_errno): Rename to __h_errno.
29207         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29208         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29209         to __h_errno instead of h_errno.
29210         * nptl/herrno.c (h_errno): Rename to __h_errno.
29211         (__h_errno_location): Refer to __h_errno not h_errno.
29212         * resolv/Versions (h_errno): Rename to __h_errno.
29213         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29214         Remove variable.
29215         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29217 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29219         * configure.ac: More strict check for AVX512 assembler support.
29220         * configure: Regenerated.
29222         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29223         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29225         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29227         * sysdeps/x86_64/fpu/Versions: New versions added.
29228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29230         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29236         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29237         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29238         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29239         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29240         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29241         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29242         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29243         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29244         test.
29245         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29249         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29251         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29252         * NEWS: Mention addition of x86_64 vector sin.
29254 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29256         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29257         comment.
29259 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29261         [BZ #18479]
29262         * nptl/pt-interp.c: New file.
29263         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29264         Add pt-interp.
29265         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29266         $(common-objpfx)runtime-linker.h.
29268 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29270         * Makeconfig (+interp): Remove unused variable.
29271         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29272         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29273         $(elf-objpfx)runtime-linker.h.
29274         ($(elf-objpfx)runtime-linker.h): Rename to
29275         $(common-objpfx)runtime-linker.h and move ...
29276         * Makerules [$(build-shared) = yes]: ... here.
29277         * elf/interp.c: Include <runtime-linker.h> instead of
29278         <elf/runtime-linker.h>.
29280 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29282         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29283         (__gettimeofday_syscall): Remove vsyscall fallback.
29284         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29285         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29286         Add syscall fallback function.
29287         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29288         if vDSO is not present.
29289         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29290         fallback function.
29291         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29292         present.
29293         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29294         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29296 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29298         [BZ #18497]
29299         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29300         of wcscmp.
29301         (wcscmp): Define as weak alias of WCSCMP.
29302         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29303         wcscoll.
29304         (USE_HIDDEN_DEF): Define.
29305         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29306         __wcscoll.  Don't use libc_hidden_weak.
29307         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29308         wcscmp.
29309         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29310         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29311         __GI_wcscmp.
29312         (weak_alias): Undefine and redefine.
29313         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29314         __wcscmp and define as weak alias of __wcscmp.
29315         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29316         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29317         (__wcscoll): Likewise.
29318         (wcscmp): Don't use libc_hidden_proto.
29319         (wcscoll): Likewise.
29320         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29321         wcscoll.
29322         * posix/regexec.c (check_node_accept_bytes): Likewise.
29323         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29324         variable.
29325         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29326         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29328         [BZ #18507]
29329         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29330         __fstatvfs and define as weak alias of __fstatvfs.  Use
29331         libc_hidden_weak.
29332         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29333         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29334         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29335         Define as alias of __fstatvfs, not fstatvfs.
29336         (fstatvfs64): Likewise.
29337         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29338         Define as alias of __statvfs, not statvfs.
29339         (statvfs64): Likewise.
29340         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29341         Remove variable.
29343 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29346         (HAVE_GETCPU_VSYSCALL): Define.
29347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29348         (HAVE_GETCPU_VSYSCALL): Likewise.
29349         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29350         * sysdeps/unix/sysv/linux/sched_getcpu.c
29351         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29352         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29353         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29354         prototype.
29355         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29356         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29357         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29359         Define.
29360         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29361         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29362         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29363         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29365 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29367         * sysdeps/x86_64/fpu/Makefile: New file.
29368         * sysdeps/x86_64/fpu/Versions: New file.
29369         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29370         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29371         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29372         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29373         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29374         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29375         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29378         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29382         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29383         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29384         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29385         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29386         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29387         * sysdeps/x86_64/configure: Regenerated.
29388         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29389         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29390         * manual/install.texi (Configuring and compiling): Document
29391         --disable-mathvec.
29392         * INSTALL: Regenerated.
29393         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29395         * math/Makefile: Added rules for vector tests.
29396         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29397         declaration under condition.
29398         * math/test-double-vlen2.h: New file.
29399         * math/test-double-vlen4.h: New file.
29400         * math/test-double-vlen8.h: New file.
29401         * math/test-vec-loop.h: Added initialization macro.
29402         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29404         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29406         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29409         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29410         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29411         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29412         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29414         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29415         * sysdeps/x86_64/fpu/Versions: New versions added.
29416         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29419         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29420         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29421         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29422         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29423         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29426         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29427         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29428         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29429         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29430         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29432         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29433         * NEWS: Mention addition of x86_64 vector cosf.
29435         * math/Makefile: Added CFLAGS for new tests.
29436         * math/test-float-vlen16.h: New file.
29437         * math/test-float-vlen4.h: New file.
29438         * math/test-float-vlen8.h: New file.
29439         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29440         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29442         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29443         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29444         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29445         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29449         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29451 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29453         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29454         * locale/programs/ld-ctype.c: Likewise.
29456 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29458         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29459         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29460         bit_ZMM16_31_state): New macro.
29461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29462         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29464 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29466         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29468 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29470         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29472 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29474         [BZ #18498]
29475         * libio/memstream.c (open_memstream): Rename to __open_memstream
29476         and define as weak alias of __open_memstream.
29477         * include/stdio.h (__open_memstream): Declare.  Use
29478         libc_hidden_proto.
29479         (open_memstream): Don't use libc_hidden_proto.
29480         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29481         open_memstream.
29482         * posix/getopt.c (_getopt_internal_r): Likewise.
29483         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29484         variable.
29485         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29486         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29487         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29489         [BZ #18496]
29490         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29491         instead of wcrtomb.
29493         [BZ #18483]
29494         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29495         [__USE_XOPEN2K8].  Remove redundant #endif.
29496         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29497         Remove redundant #if.
29498         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29499         Remove variable.
29500         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29501         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29503         [BZ #18495]
29504         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29505         (__iswlower): Likewise.
29506         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29507         (__iswlower): Likewise.
29508         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29509         instead of towlower.
29510         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29511         instead of iswlower.  Call __towupper instead of towupper.
29512         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29513         instead of iswalnum.
29515 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29517         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29518         errors to stderr.
29520 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29522         [BZ #15661]
29523         [BZ #17322]
29524         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29525         Check for overflow properly.  Check for O_APPEND.  Ignore large
29526         file system block sizes.  Add comments about problems.
29527         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29528         * manual/filesys.texi (Storage Allocation): New node.
29530 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29532         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29533         cancellable syscalls.
29534         (SYS_ify): Add guard to no redefine it.
29535         (INLINE_SYSCALL): Likewise.
29536         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29537         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29538         SYSCALL_CANCEL instead.
29539         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29540         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29541         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29542         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29543         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29544         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29545         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29546         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29547         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29548         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29549         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29550         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29551         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29552         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29553         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29555         Likewise.
29556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29557         (__libc_pread64): Likewise.
29558         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29559         (__libc_preadv): Likewise.
29560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29561         (__libc_readv64): Likewise.
29562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29563         (__libc_pwrite): Likewise.
29564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29565         (__libc_pwrite64): Likewise.
29566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29567         (__libc_pwritev): Likewise.
29568         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29569         (__libc_pwritev64): Likewise.
29570         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29571         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29572         (sync_file_range): Likewise.
29573         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29574         Likewise.
29575         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29576         Likewise.
29577         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29578         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29579         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29580         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29581         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29582         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29583         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29584         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29586         Likewise.
29587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29588         (__libc_read64): Likewise.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29590         Likewise.
29591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29592         Likewise.
29593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29594         Likewise.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29596         Likewise.
29597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29598         (__libc_pread64): Likewise.
29599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29600         Likewise.
29601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29602         (__libc_pwrite64): Likewise.
29603         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29604         (sync_file_range): Likewise.
29605         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29606         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29607         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29608         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29609         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29610         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29611         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29612         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29613         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29614         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29615         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29616         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29617         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29618         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29619         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29620         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29621         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29622         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29623         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29624         Likewise.
29625         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29626         Likewise.
29627         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29628         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29629         Likewise.
29630         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29631         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29632         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29633         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29634         Likewise.
29635         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29636         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29637         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29638         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29639         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29641 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29643         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29644         Include dl-vdso.
29645         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29646         Use VDSO routines for gettimeofday, clock_gettime if
29647         available.
29648         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29649         Declare VDSO symbols.
29650         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29651         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29652         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29653         * sysdeps/unix/sysv/linux/arm/Versions: Add
29654         __vdso_clock_gettime.
29656 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29658         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29659         be an inline implementation regardless of library is built within.
29660         (open_not_cancel_2): Likewise.
29661         (__read_nocancel): Likewise.
29662         (__write_nocancel): Likewise.
29663         (openat_not_cancel): Likewise.
29664         (openat_not_cancel_3): Likewise.
29665         (openat64_not_cancel): Likewise.
29666         (openat64_not_cancel_3): Likewise.
29667         (__close_nocancel): Likewise.
29668         (pause_not_cancel): Likewise.
29669         (nanosleep_not_cancel): Likewise.
29670         (sigsuspend_not_cancel): Likewise.
29672 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29674         [BZ #14958]
29675         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29676         wake-up.
29677         (__pthread_rwlock_rdlock_slow): Likewise.
29678         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29679         Likewise.
29680         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29681         Likewise.
29682         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29683         * nptl/tst-rwlock16.c: New file.
29684         * nptl/Makefile (tests): Add new test.
29686 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29688         [BZ #18324]
29689         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29690         missing wake-up of readers.
29691         * nptl/tst-rwlock15.c: New file.
29692         * nptl/Makefile (tests): Add new test.
29694 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29696         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29697         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29698         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29699         and __nacl_supply_interface_rtld.
29700         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29701         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29702         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29703         Add __nacl_supply_interface_rtld.
29704         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29706 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29708         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29709         isfinite.
29710         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29711         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29713 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29715         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29716         __signbit* with standard C99 macros.
29717         * math/e_exp10l.c: Likewise.
29718         * math/e_exp2l.c: Likewise.
29719         * math/e_scalb.c: Likewise.
29720         * math/e_scalbf.c: Likewise.
29721         * math/e_scalbl.c: Likewise.
29722         * math/s_ldexp.c: Likewise.
29723         * math/s_ldexpf.c: Likewise.
29724         * math/s_ldexpl.c: Likewise.
29725         * math/w_atan2.c: Likewise.
29726         * math/w_atan2f.c: Likewise.
29727         * math/w_atan2l.c: Likewise.
29728         * math/w_cosh.c: Likewise.
29729         * math/w_coshf.c: Likewise.
29730         * math/w_coshl.c: Likewise.
29731         * math/w_exp10.c: Likewise.
29732         * math/w_exp10f.c: Likewise.
29733         * math/w_exp10l.c: Likewise.
29734         * math/w_exp2.c: Likewise.
29735         * math/w_exp2f.c: Likewise.
29736         * math/w_exp2l.c: Likewise.
29737         * math/w_fmod.c: Likewise.
29738         * math/w_fmodf.c: Likewise.
29739         * math/w_fmodl.c: Likewise.
29740         * math/w_hypot.c: Likewise.
29741         * math/w_hypotf.c: Likewise.
29742         * math/w_hypotl.c: Likewise.
29743         * math/w_jnl.c: Likewise.
29744         * math/w_lgamma.c: Likewise.
29745         * math/w_lgamma_r.c: Likewise.
29746         * math/w_lgammaf.c: Likewise.
29747         * math/w_lgammaf_r.c: Likewise.
29748         * math/w_lgammal.c: Likewise.
29749         * math/w_lgammal_r.c: Likewise.
29750         * math/w_pow.c: Likewise.
29751         * math/w_powf.c: Likewise.
29752         * math/w_powl.c: Likewise.
29753         * math/w_remainder.c: Likewise.
29754         * math/w_remainderf.c: Likewise.
29755         * math/w_remainderl.c: Likewise.
29756         * math/w_scalb.c: Likewise.
29757         * math/w_scalbf.c: Likewise.
29758         * math/w_scalbl.c: Likewise.
29759         * math/w_scalbln.c: Likewise.
29760         * math/w_scalblnf.c: Likewise.
29761         * math/w_scalblnl.c: Likewise.
29762         * math/w_sinh.c: Likewise.
29763         * math/w_sinhf.c: Likewise.
29764         * math/w_sinhl.c: Likewise.
29765         * math/w_tgamma.c: Likewise.
29766         * math/w_tgammaf.c: Likewise.
29767         * math/w_tgammal.c: Likewise.
29768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29769         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29770         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29771         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29772         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29774         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29775         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29776         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29778         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29779         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29780         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29781         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29785         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29786         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29787         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29789         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29792         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29793         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29794         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29795         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29796         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29797         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29798         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29799         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29800         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29801         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29802         * stdio-common/printf_fp.c: Likewise.
29803         * stdio-common/printf_fphex.c: Likewise.
29804         * stdio-common/printf_size.c: Likewise.
29806 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29808         [BZ #18470]
29809         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29810         strnlen.
29811         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29812         Remove variable.
29813         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29814         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29815         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29816         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29817         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29818         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29819         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29820         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29821         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29822         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29824         [BZ #18468]
29825         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29826         weak alias of __wmemchr.  Use libc_hidden_weak.
29827         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29828         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29829         instead of wmemchr.
29831 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29833         [BZ #18383]
29834         * elf/tst-tlsalign-extern.c: New file.
29835         * elf/tst-tlsalign-extern-static.c: New file.
29836         * elf/tst-tlsalign-vars.c: New file.
29837         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29838         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29839         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29840         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29841         (test-xfail-tst-tlsalign-extern-static): New variable.
29843 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29845         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29846         Use variable name _sc_err instead of err.
29847         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29848         instead of ret.
29849         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29850         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29851         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29852         (INLINE_SYSCALL): Likewise.
29854         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29855         * include/string.h (__strnlen): Use libc_hidden_proto.
29856         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29857         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29858         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29859         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29860         (libc_hidden_def): Undefine and redefine.
29861         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29862         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29863         __GI_strnlen.
29864         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29865         libc_hidden_def.
29866         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29868         [BZ #18469]
29869         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29870         weak alias of __towlower.  Use libc_hidden_weak.
29871         (towupper): Rename to __towupper and define as weak alias of
29872         __towupper.  Use libc_hidden_weak.
29873         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29874         (__towupper): Likewise.
29875         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29876         __towlower instead of towlower.
29878 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29880         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29881         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29883 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29885         * sysdeps/aarch64/libm-test-ulps: Update.
29887 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29889         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29890         Define.
29891         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29893         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29894         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29895         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29896         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29897         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29899 2015-06-01  Martin Sebor  <msebor@redhat.com>
29901         [BZ #18116]
29902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29903         (__setcontext): Use extended four-operand version of mtsf whenever
29904         possible.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29906         (__novec_swapcontext): Likewise.
29908 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29910         * benchtests/scripts/compare_bench.py: New file.
29911         * benchtests/scripts/import_bench.py (mean): New function.
29912         (split_list): Likewise.
29913         (do_for_all_timings): Likewise.
29914         (compress_timings): Likewise.
29916         * benchtests/scripts/import_bench.py: New file.
29917         * benchtests/scripts/validate_benchout.py: Import import_bench
29918         instead of jsonschema.
29919         (validate_bench): Remove function.
29920         (main): Use import_bench.
29922 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29924         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29925         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29927 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29931 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29933         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29934         set THREAD_SELF->tid to a magic value and futex-wake it.
29935         Pass its address to the thread_exit system call.
29936         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29937         bit is clear.
29938         * sysdeps/nacl/lowlevellock.h: New file.
29939         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29941         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29942         Add TIMEOUT to current time, don't subtract it.
29944 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29946         [BZ #2981]
29947         [BZ #18422]
29948         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29949         ($(objpfx)tst-audit2.out): Also depend on
29950         $(objpfx)tst-auditmod9b.so.
29951         * elf/tst-audit2.c: Include <dlfcn.h>.
29952         (calloc_called): New.
29953         (calloc): Allow to be called more than once.
29954         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29956 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29958         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29959         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29961 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29963         * stdlib/monetary.h: Fix comment.
29965 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29967         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29968         Avoid using variables in #defines that might cause shadowing.
29969         (INTERNAL_VSYSCALL_CALL): Likewise.
29971 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29973         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29975         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29976         * nptl/lll_timedlock_wait.c: ... to this new file.
29977         * nptl/Makefile (libpthread-routines): Add it.
29978         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29979         * nptl/lll_timedwait_tid.c: ... to this new file.
29980         * nptl/Makefile (libpthread-routines): Add it.
29981         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29982         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29983         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29984         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29985         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29986         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29987         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29988         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29989         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29990         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29992 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29994         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29995         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29996         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29998         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30000         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30001         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30002         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30003         * sysdeps/unix/sysv/linux/tile/sysdep.h
30004         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30005         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30006         using vDSO syscall macro.
30008 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30010         [BZ #17293]
30011         * uk_UA: Fix sorting order for Ukrainian locale
30013 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30015         * stdlib/monetary.h: Fix comment.
30017 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30019         [BZ #18234]
30020         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30021         st_mtim and st_ctim members.
30022         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30023         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30024         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30025         (struct stat64): Likewise.
30026         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30027         (struct stat64): Likewise.
30028         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30029         (struct stat64): Likewise.
30031 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30033         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30034         Define and include sysdep-vdso.h.
30035         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30036         Likewise.
30037         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30038         Likewise.
30039         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30040         Define with VDSO_SYMBOL and use PTR_MANGLE.
30041         (__vdso_clock_gettime): Likewise.
30042         (__vdso_clock_getres): Likewise.
30043         (_libc_vdso_platform_setup): Likewise.
30044         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30045         Likewise.
30046         (_libc_vdso_platform_setup): Likewise.
30047         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30048         Likewise.
30049         (__vdso_clock_gettime): Likewise.
30050         (__vdso_clock_getres): Likewise.
30051         (__vdso_get_tbfreq): Likewise.
30052         (__vdso_getcpu): Likewise.
30053         (__vdso_time): Likewise.
30054         (__vdso_sigtramp_rt64): Likewise.
30055         (__vdso_signtramp32): Likewise.
30056         (__vdso_sigtramp_rt32): Likewise.
30057         (_libc_vdso_platform_setup): Likewise.
30058         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30059         Likewise.
30060         (__vdso_clock_gettime): Likewise.
30061         (__vdso_clock_getres): Likewise.
30062         (_libc_vdso_platform_setup): Likewise.
30063         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30064         Likewise.
30065         (__vdso_clock_gettime): Likewise.
30066         (_libc_vdso_platform_setup): Likewise.
30067         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30068         Likewise.
30069         (__vdso_getcpu): Likewise.
30070         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30071         Use VDSO_SYMBOL macro to define.
30072         (__vdso_clock_gettime): Likewise.
30073         (__vdso_clock_getres): Likewise.
30074         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30075         Likewise.
30076         (__vdso_clock_gettime): Likewise.
30077         (__vdso_clock_getres): Likewise.
30078         (__vdso_get_tbfreq): Likewise.
30079         (__vdso_getcpu): Likewise.
30080         (__vdso_time): Likewise.
30081         (__vdso_sigtramp_rt64): Likewise.
30082         (__vdso_signtramp32): Likewise.
30083         (__vdso_sigtramp_rt32): Likewise.
30084         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30085         Likewise.
30086         (__vdso_clock_gettime): Likewise.
30087         (__vdso_clock_getres): Likewise.
30088         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30089         Likewise.
30090         (__vdso_clock_gettime): Likewise.
30091         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30092         Likewise.
30093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30094         macro.
30095         (INTERNAL_VSYSCALL): Likewise.
30096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30097         Remove macro.
30098         (INTERNAL_VSYSCALL): Likewise.
30099         (INTERNAL_VSYSCALL_NCS): Likewise.
30100         (INTERNAL_VSYSCALL_CALL): New macro.
30101         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30103         Likewise.
30104         (INTERNAL_VSYSCALL): Likewise.
30105         (INTERNAL_VSYSCALL_NCS): Likewise.
30106         (INTERNAL_VSYSCALL_CALL): New macro.
30107         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30109         (INLINE_VSYSCALL): Remove macro.
30110         (INTERNAL_VSYSCALL): Remove macro.
30111         (INTERNAL_VSYSCALL_NCS): Remove macro.
30112         (INTERNAL_VSYSCALL_CALL): New macro.
30113         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30114         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30115         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30116         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30117         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30119         (INLINE_VSYSCALL): Remove macro.
30120         (INTERNAL_VSYSCALL): Likewise.
30121         (INTERNAL_VSYSCALL_NCS): Likewise.
30122         (INTERNAL_VSYSCALL_CALL): New macro.
30123         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30124         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30125         PTR_DEMANGLE on vDSO pointer.
30126         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30127         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30128         macro.
30129         (INTERNAL_SYSCALL): Likewise.
30130         (INTERNAL_VSYSCALL_NCS): Remove macro.
30131         (INTERNAL_VSYSCALL_CALL): New macro.
30132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30133         Remove macro.
30134         (INTERNAL_VSYSCALL): Likewise.
30135         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30136         sysdep-vdso.h instead of libc-vdso.h.
30137         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30138         definition.
30139         (INLINE_VSYSCALL): Likewise.
30140         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30141         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30142         definition.
30143         (INLINE_VSYSCALL): Likewise.
30144         (INTERNAL_VSYSCALL): Likewise.
30145         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30146         * sysdeps/unix/sysv/linux/timespec_get.c
30147         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30148         (timespec_get): Use ANSI prototype.
30149         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30150         and definition for Linux.
30152 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30154         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30155         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30157 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30159         [BZ #2981]
30160         [BZ #18410]
30161         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30162         for missing DT_PLTRELSZ.
30164 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30166         Remove obsolete aliases that broke 'locale -a'
30167         [BZ #18412]
30168         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30169         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30170         breaking some applications that use 'locale -a' output.
30171         Change the encoding of this file from Latin-1 to ASCII to avoid
30172         other potential problems with people grepping this file.
30174 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30176         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30177         -fasynchronous-unwind-tables.
30178         (CFLAGS-sendto.c): Likewise.
30179         (CFLAGS-sendmsg.c): Likewise.
30180         (CFLAGS-connect.c): Likewise.
30181         (CFLAGS-recvmsg.c): Likewise.
30182         (CFLAGS-recvfrom.c): Likewise.
30183         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30184         (SOCKETCALL): New macro: non-cancellable socketcall.
30185         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30186         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30187         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30188         * sysdeps/unix/sysv/linux/accept.c: New file.
30189         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30190         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30191         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30192         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30193         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30194         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30195         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30196         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30197         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30198         * sysdeps/unix/sysv/linux/send.c: Likewise.
30199         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30200         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30201         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30202         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30203         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30204         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30205         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30206         prototype.
30207         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30208         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30209         instead of __internal_xxx function.
30210         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30211         prototype.
30212         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30213         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30214         instead of __internal_xxx function.
30215         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30216         prototype.
30217         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30218         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30219         instead of __internal_xxx function.
30220         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30221         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30222         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30223         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30224         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30225         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30226         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30227         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30228         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30229         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30230         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30231         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30232         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30233         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30234         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30235         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30236         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30237         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30238         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30239         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30242         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30243         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30244         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30245         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30246         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30247         * sysdeps/unix/sysv/linux/send.S: Likewise.
30248         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30249         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30250         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30251         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30252         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30253         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30254         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30255         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30256         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30257         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30258         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30259         socketcall is implemented in GLIBC.
30261 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30263         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30264         (__fma): Ignore uninitialized warnings around packing.
30265         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30266         (__fmaf): Ignore uninitialized warnings around packing.
30267         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30268         (__fmal): Ignore uninitialized warnings around packing.
30270         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30271         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30272         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30273         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30275         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30276         switch statement into default case.
30277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30279         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30280         a conditional in forcing "inexact".
30281         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30282         Likewise.
30284 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30286         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30287         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30288         for each INTERNAL_SYSCALL use.
30290 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30292         [BZ #438]
30293         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30294         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30295         variable.
30297         [BZ #18444]
30298         * string/basename.c (basename): Rename to __basename and define as
30299         weak alias of __basename.  Use libc_hidden_weak.
30300         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30301         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30302         __basename instead of basename.
30303         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30304         Remove variable.
30305         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30307 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30309         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30310         (_IO_JUMPS_FILE_plus): New.
30311         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30312         _IO_CAST_FIELD_ACCESS.
30313         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30314         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30315         * libio/freopen.c (freopen): Likewise.
30316         * libio/freopen64.c (freopen64): Likewise.
30317         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30318         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30319         * libio/iofwide.c (_IO_fwide): Likewise.
30320         * libio/memstream.c (open_memstream): Likewise.
30321         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30322         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30323         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30325 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30327         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30328         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30329         NADJ.
30330         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30331         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30332         NADJ.
30333         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30334         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30335         NADJ.
30337         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30338         (p == 4) case.
30340         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30341         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30342         Remove variable.
30343         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30344         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30345         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30347 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30349         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30350         Adjust jump table label generation macros.
30352 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30354         * stdio-common/vfprintf.c (vfprintf): Move local variables
30355         args_malloced, specs, specs_malloced, and the code after
30356         do_positional to the printf_positional function.
30357         (printf_positional): New function.
30359 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30361         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30362         function.
30363         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30364         STEP4_TABLE, process_arg): Move macro definitions
30365         out of the vfprintf function.  (Cosmetic change only.)
30367 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30369         * benchtests/Makefile (stdio-common-bench): Define.
30370         (benchset): Add stdio-common-bench.
30371         * sprintf-inputs: New file.
30372         * sprintf-source.c: New file.
30374 2015-05-21  Andreas Schwab  <schwab@suse.de>
30376         [BZ #13028]
30377         [BZ #17053]
30378         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30379         of struct __res_state.
30380         * resolv/res_send.c (__libc_res_nsend): Likewise.
30381         (get_nsaddr): New function.
30382         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30383         statp directly.
30385 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30387         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30388         -D_POSIX_C_SOURCE=199506L.
30390         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30392         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30393         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30394         Do not mention otherwise.
30395         [POSIX] (_XOPEN_VERSION): Do not expect.
30396         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30397         [POSIX] (_POSIX2_C_BIND): Likewise.
30398         [POSIX] (_POSIX2_VERSION): Likewise.
30399         [POSIX] (_XOPEN_XPG2): Likewise.
30400         [POSIX] (_XOPEN_XPG3): Likewise.
30401         [POSIX] (_XOPEN_XPG4): Likewise.
30402         [POSIX] (_XOPEN_UNIX): Likewise.
30403         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30404         [POSIX] (_POSIX_BARRIERS): Likewise.
30405         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30406         [POSIX] (_POSIX_CPUTIME): Likewise.
30407         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30408         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30409         [POSIX] (_POSIX_SHELL): Likewise.
30410         [POSIX] (_POSIX_SPAWN): Likewise.
30411         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30412         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30413         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30414         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30415         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30416         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30417         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30418         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30419         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30420         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30421         [POSIX] (_POSIX2_PBS): Likewise.
30422         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30423         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30424         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30425         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30426         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30427         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30428         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30429         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30430         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30431         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30432         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30433         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30434         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30435         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30436         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30437         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30438         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30439         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30440         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30441         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30442         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30443         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30444         [POSIX] (_SC_2_C_BIND): Likewise.
30445         [POSIX] (_SC_2_C_VERSION): Likewise.
30446         [POSIX] (_SC_2_PBS): Likewise.
30447         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30448         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30449         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30450         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30451         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30452         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30453         [POSIX] (_SC_BARRIERS): Likewise.
30454         [POSIX] (_SC_BASE): Likewise.
30455         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30456         [POSIX] (_SC_DEVICE_IO): Likewise.
30457         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30458         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30459         [POSIX] (_SC_FD_MGMT): Likewise.
30460         [POSIX] (_SC_FIFO): Likewise.
30461         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30462         [POSIX] (_SC_FILE_LOCKING): Likewise.
30463         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30464         [POSIX] (_SC_IOV_MAX): Likewise.
30465         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30466         [POSIX] (_SC_NETWORKING): Likewise.
30467         [POSIX] (_SC_PAGE_SIZE): Likewise.
30468         [POSIX] (_SC_PASS_MAX): Likewise.
30469         [POSIX] (_SC_PIPE): Likewise.
30470         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30471         [POSIX] (_SC_REGEXP): Likewise.
30472         [POSIX] (_SC_SHELL): Likewise.
30473         [POSIX] (_SC_SIGNALS): Likewise.
30474         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30475         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30476         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30477         [POSIX] (_SC_USER_GROUPS): Likewise.
30478         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30479         [POSIX] (_SC_STREAMS): Likewise.
30480         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30481         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30482         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30483         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30484         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30485         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30486         [POSIX] (_PC_FILESIZEBITS): Likewise.
30487         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30488         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30489         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30490         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30491         [POSIX] (uid_t): Likewise.
30492         [POSIX] (gid_t): Likewise.
30493         [POSIX] (off_t): Likewise.
30494         [POSIX] (pid_t): Likewise.
30495         [POSIX] (cuserid): Allow.
30496         (_SC_2_CHAR_TERM): Require constant.
30497         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30498         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30499         variable.
30501 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30503         * sysdeps/nacl/pthread-pids.h: New file.
30504         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30505         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30507         * nptl/pthread-pids.h: New file.
30508         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30509         * nptl/nptl-init.c: Include <pthread-pids.h>.
30510         (__pthread_initialize_minimal_internal):
30511         Call __pthread_initialize_pids instead of set_tid_address syscall.
30513         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30514         * sysdeps/posix/usleep.c: ... here.
30516 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30518         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30519         call_pselect6 object.
30520         [$(subdir) = io]: Remove call_sync_file_range object.
30521         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30522         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30523         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30524         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30526 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30528         * math/s_cproj.c: Add include "math_private.h".
30529         * math/s_cprojf.c: Likewise.
30530         * math/s_cprojl.c: Likewise.
30532 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30534         [BZ #18244]
30535         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30536         high mantissa bit when testing whether P is a NaN.
30537         * math/libm-test.inc (remainder_test_data): Add more tests.
30538         (remquo_test_data): Likewise.
30540         [BZ #18049]
30541         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30542         below -32, return the argument, with underflow if subnormal.
30543         * math/auto-libm-test-in: Add more tests of atanh.
30544         * math/auto-libm-test-out: Regenerated.
30546 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30548         [BZ #18434]
30549         * nptl/tst-sem15.c: New file.
30550         * nptl/Makefile (tests): Add it.
30551         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30552         s/<</>>/ to fix typo in EOVERFLOW check.
30553         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30555 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30557         * manual/strings.texi (envz_remove): Fix typo in safety
30558         annotations.
30560 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30561             Steve Ellcey  <sellcey@imgtec.com>
30563         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30564         in order to avoid strict alias warnings.
30565         (iruserok_af): Ditto for ra.
30567 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30569         [BZ #17581]
30570         * malloc/hooks.c
30571         (magicbyte): Convert to a function and avoid returning 0x01.
30572         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30573         (mem2chunk_check): Fix unsigned comparisons to zero.
30574         Hoist defs of sz and magic.
30576 2015-05-19  Richard Henderson  <rth@redhat.com>
30578         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30580         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30582 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30584         [BZ #16159]
30585         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30586         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30587         (reused_arena): Find a non-corrupt arena.
30588         (heap_trim): Pass arena to unlink.
30589         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30590         malloc_printerr.
30591         (top_check): Likewise.
30592         (free_check): Likewise.
30593         (realloc_check): Likewise.
30594         * malloc/malloc.c (malloc_printerr): Add arena argument.
30595         (unlink): Likewise.
30596         (munmap_chunk): Adjust.
30597         (ARENA_CORRUPTION_BIT): New macro.
30598         (arena_is_corrupt): Likewise.
30599         (set_arena_corrupt): Likewise.
30600         (sysmalloc): Use mmap if there are no usable arenas.
30601         (_int_malloc): Likewise.
30602         (__libc_malloc): Don't fail if arena_get returns NULL.
30603         (_mid_memalign): Likewise.
30604         (__libc_calloc): Likewise.
30605         (__libc_realloc): Adjust for additional argument to
30606         malloc_printerr.
30607         (_int_free): Likewise.
30608         (malloc_consolidate): Likewise.
30609         (_int_realloc): Likewise.
30610         (_int_memalign): Don't touch corrupt arenas.
30611         * malloc/tst-malloc-backtrace.c: New test case.
30613         * Makefile (summarize-tests): Fix return value on success.
30615         * manual/string.texi (Envz Functions): Add envz_remove.
30617 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30619         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30620         (invalid_name): New function, broken out of ...
30621         (__opendirat): ... here.  Call it.
30622         (need_isdir_precheck): New function, broken out of ...
30623         (__opendirat): ... here.  Call it.
30624         Use __fxstatat64, not __xstatat64.
30625         (opendir_oflags): New function, broken out of ...
30626         (__opendirat): ... here.  Call it.
30627         (opendir_tail): New function, broken out of ...
30628         (__opendirat): ... here.  Call it.
30629         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30630         opendir_tail, rather than punting to __opendirat.
30631         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30633 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30635         * .gitignore: Ignore generated *.pyc.
30637 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30639         * include/stdio.h: Define __need_wint_t.
30640         * test-skeleton.c: Avoid `for' loop initial declaration.
30641         * nptl/tst-initializers1.c: Use test-skeleton.c.
30643 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30645         [BZ #18418]
30646         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30648 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30650         [BZ #16352]
30651         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30652         (__ieee754_atanh): Force underflow exception for results with
30653         small absolute value.
30654         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30655         (__ieee754_atanhf): Force underflow exception for results with
30656         small absolute value.
30657         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30658         (__ieee754_atanh): Force underflow exception for results with
30659         small absolute value.
30660         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30661         (__ieee754_atanhf): Force underflow exception for results with
30662         small absolute value.
30663         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30664         (__ieee754_atanhl): Force underflow exception for results with
30665         small absolute value.
30666         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30667         (__ieee754_atanhl): Force underflow exception for results with
30668         small absolute value.
30669         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30670         (__ieee754_atanhl): Force underflow exception for results with
30671         small absolute value.
30672         * math/auto-libm-test-in: Do not allow missing underflow
30673         exceptions from atanh.
30674         * math/auto-libm-test-out: Regenerated.
30676         [BZ #18221]
30677         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30678         2**-28 as threshold for returning x or +/- 1/x.
30679         * math/auto-libm-test-in: Add more tests of tan.
30680         * math/auto-libm-test-out: Regenerated.
30682         [BZ #18220]
30683         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30684         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30685         * math/auto-libm-test-in: Add another test of lgamma.
30686         * math/auto-libm-test-out: Regenerated.
30688 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30690         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30691         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30692         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30693         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30694         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30695         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30696         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30697         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30699         (log1): Use fabs.  (my_log2): Use fabs.
30700         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30701         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30703         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30704         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30705         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30706         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30707         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30708         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30709         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30710         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30712 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30714         [BZ #18217]
30715         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30716         as threshold for returning 1 - x.
30717         * math/auto-libm-test-in: Add more tests of erfc.
30718         * math/auto-libm-test-out: Regenerated.
30720 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30722         [BZ #18196]
30723         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30724         threshold for large arguments.
30725         * math/auto-libm-test-in: Add another test of atan.
30726         * math/auto-libm-test-out: Regenerated.
30728         [BZ #16339]
30729         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30730         (__log1p): Force underflow exception for results with small
30731         absolute value.
30732         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30733         (__log1pf): Force underflow exception for results with small
30734         absolute value.
30735         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30736         (__log1p): Force underflow exception for results with small
30737         absolute value.
30738         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30739         (__log1pf): Force underflow exception for results with small
30740         absolute value.
30741         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30742         (__log1pl): Force underflow exception for results with small
30743         absolute value.
30744         * math/auto-libm-test-in: Do not allow missing underflow
30745         exceptions from log1p.
30746         * math/auto-libm-test-out: Regenerated.
30748 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30749             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30751         [BZ #16704]
30752         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30754 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30756         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30757         (libmvec): New variable.
30758         * configure.ac: Added option for mathvec build.
30759         * configure: Regenerated.
30760         * mathvec/Depend: New file.
30761         * mathvec/Makefile: New file.
30762         * shlib-versions: Added libmvec.
30763         * math/Makefile: Added rule for libm.so installation.
30765         * bits/math-vector.h: New file.
30766         * bits/libm-simd-decl-stubs.h: New header.
30767         * math/Makefile (headers): Added new header
30768         libm-simd-decl-stubs.h.
30769         * math/math.h (__MATHCALL_VEC): New macro.
30771         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30772         for conditions in testing functions.
30773         * math/Makefile: Added call of libm-have-vector-test.sh.
30774         * math/libm-test.inc (HAVE_VECTOR): New macros.
30776         * math/libm-test.inc: START refactored.
30777         * math/test-double.c (TEST_MATHVEC): Add define.
30778         * math/test-float.c: Likewise.
30779         * math/test-idouble.c: Likewise.
30780         * math/test-ifloat.c: Likewise.
30781         * math/test-ildoubl.c: Likewise.
30782         * math/test-ldouble.c: Likewise.
30783         * sysdeps/generic/math-tests-arch.h
30784         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30785         architecture check.
30787         * math/test-double.c (FUNC_TEST): New macro.
30788         * math/test-float.c: Likewise.
30789         * math/test-idouble.c: Likewise.
30790         * math/test-ifloat.c: Likewise.
30791         * math/test-ildoubl.c: Likewise.
30792         * math/test-ldouble.c: Likewise.
30793         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30795 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30797         * sysdeps/nacl/fdopendir.c: New file.
30799         * dirent/scandir-tail.c: New file.
30800         * dirent/scandir64-tail.c: New file.
30801         * dirent/Makefile (routines): Add them.
30802         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30803         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30804         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30805         [!SCANDIR] (SCANDIR_TAIL): New macro.
30806         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30807         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30808         (SCANDIRAT): Macro removed.
30809         (SCANDIR_TAIL): New macro.
30810         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30811         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30812         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30813         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30814         (READDIR): Macro removed.
30815         (SCANDIR_TAIL): New macro.
30816         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30817         (SCANDIR_TAIL): New macro.
30819         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30820         * dirent/scandir-cancel.c: ... to this new file.
30821         * dirent/Makefile (routines): Add it.
30822         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30823         * sysdeps/unix/sysv/linux/i386/scandir64.c
30824         (SKIP_SCANDIR_CANCEL): Macro removed.
30825         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30827         * dirent/tst-scandir.c: New file.
30828         * dirent/tst-scandir64.c: New file.
30829         * dirent/Makefile (tests): Add them.
30831 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30833         [BZ #18409]
30834         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30836 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30838         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30839         list.
30841 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30843         * benchtests/bench-strcoll.c: New benchmark.
30844         * benchtests/Makefile: Generate locales and run benchmark.
30845         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30846         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30847         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30848         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30849         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30850         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30851         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30852         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30853         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30854         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30855         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30856         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30857         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30858         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30859         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30860         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30861         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30862         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30863         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30864         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30865         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30866         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30867         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30868         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30870 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30872         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30873         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30875 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30877         * posix/uname-values.h: New file.
30878         * posix/uname.c: Include that instead of <config-name.h>.
30879         * sysdeps/nacl/uname-values.h: New file.
30880         * sysdeps/arm/nacl/uname-values.h: New file.
30882 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30884         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30885         splitting into fields.
30887 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30889         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30890         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30891         * locale/localeinfo.h: Add enum collation_encoding_type.
30892         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30893         * programs/ld-collate.c (collate_output): Add encoding type info.
30894         * string/strcoll_l.c (STRDIFF): New function.
30895         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30896         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30898 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30900         [BZ #18397]
30901         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30902         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30903         <fpu_control.h> instead of <math/fpu_control.c>.
30904         * sysdeps/mips/mips32/fpu/Makefile: New file.
30906 2015-05-11  Andreas Schwab  <schwab@suse.de>
30908         [BZ #18007]
30909         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30910         nss_endgrent.
30911         (_nss_compat_endgrent): Call nss_endgrent.
30912         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30913         nss_endpwent.
30914         (_nss_compat_endpwent): Call nss_endpwent.
30915         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30916         needent, call nss_setspent only if non-zero.
30917         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30918         (internal_endspent): Don't call nss_endspent.
30919         (_nss_compat_endspent): Call nss_endspent.
30920         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30921         Remove.  All uses removed.
30922         (internal_setent): Remove parameter stayopen, add parameter
30923         stream.  Use it instead of global variable.
30924         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30925         (internal_endent, internal_getent): Add parameter stream.  Use it
30926         instead of global variable.
30927         (CONCAT(_nss_files_end,ENTNAME))
30928         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30929         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30930         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30931         uses removed.
30932         (internal_setent, internal_endent): Add parameter stream.  Use it
30933         instead of global variable.
30934         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30935         stream.
30936         (get_next_alias): Add parameter stream.
30937         (_nss_files_getaliasent_r): Pass global stream.
30938         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30939         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30940         (_nss_files_gethostbyname4_r): Pass local stream to
30941         internal_setent, internal_getent and internal_endent.  Remove
30942         locking.
30944 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30946         * tst-strfmon1.c (tests): Update expected currency symbol.
30948 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30950         * sysdeps/nacl/gethostname.c: New file.
30952 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30954         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30955         and sinh.
30956         * math/auto-libm-test-out: Regenerated.
30957         * sysdeps/i386/fpu/libm-test-ulps: Update.
30958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30960 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30962         [BZ #18125]
30963         * stdlib/tst-setcontext3.c: New file.
30964         * stdlib/tst-setcontext3.sh: New file.
30965         * stdlib/Makefile (tests): Add tst-setcontext3.
30966         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30967         to verify test program created output file.
30968         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30969         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30970         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30971         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30973 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30975         [BZ #18383]
30976         * elf/tst-tlsalign.c: New file.
30977         * elf/tst-tlsalign-static.c: New file.
30978         * elf/tst-tlsalign-lib.c: New file.
30979         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30980         (tests-static): Add tst-tlsalign-static.
30981         (modules-names): Add tst-tlsalign-lib.
30982         (test-xfail-tst-tlsalign): New variable.
30983         (test-xfail-tst-tlsalign-static): New variable.
30985         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30986         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30988 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30990         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30991         csqrt, erfc, sin and sincos.
30992         * math/auto-libm-test-out: Regenerated.
30993         * sysdeps/i386/fpu/libm-test-ulps: Update.
30994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30996 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30998         * sysdeps/aarch64/libm-test-ulps: Update.
31000 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31002         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31003         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31004         * math/auto-libm-test-out: Regenerated.
31005         * sysdeps/i386/fpu/libm-test-ulps: Update.
31006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31008 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31010         [BZ #18265]
31011         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31012         (wcsncpy): Likewise.
31014 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31016         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31017         Assume __ASSUME_FALLOCATE is always true.
31018         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31019         (__posix_fallocate64_l64): Likewise.
31020         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31021         (posix_fallocate): Likewise.
31022         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31023         (__posix_fallocate64_l64): Likewise.
31024         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31025         [!__ASSUME_FALLOCATE]: Add comment.
31027 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31029         * sysdeps/unix/sysv/linux/i386/Makefile
31030         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31031         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31032         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31033         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31034         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31035         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31036         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31038 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31040         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31041         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31042         tgamma.
31043         * math/auto-libm-test-out: Regenerated.
31044         * sysdeps/i386/fpu/libm-test-ulps: Update.
31045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31047 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31049         * math/auto-libm-test-in: Add more tests of tgamma.
31050         * math/auto-libm-test-out: Regenerated.
31051         * sysdeps/i386/fpu/libm-test-ulps: Update.
31052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31054         * math/auto-libm-test-in: Add more tests of tanh.
31055         * math/auto-libm-test-out: Regenerated.
31056         * sysdeps/i386/fpu/libm-test-ulps: Update.
31057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059         * math/auto-libm-test-in: Add more tests of tan.
31060         * math/auto-libm-test-out: Regenerated.
31061         * sysdeps/i386/fpu/libm-test-ulps: Update.
31062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31065         * math/auto-libm-test-out: Regenerated.
31066         * sysdeps/i386/fpu/libm-test-ulps: Update.
31067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31069         * math/auto-libm-test-in: Add another test of pow.
31070         * math/auto-libm-test-out: Regenerated.
31071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31073         * math/auto-libm-test-in: Add more tests of lgamma.
31074         * math/auto-libm-test-out: Regenerated.
31075         * sysdeps/i386/fpu/libm-test-ulps: Update.
31076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31078         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31079         log1p.
31080         * math/auto-libm-test-out: Regenerated.
31081         * sysdeps/i386/fpu/libm-test-ulps: Update.
31082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31084 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31086         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31087         Elf64_Chdr structs and ELFCOMPRESS constants.
31089 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31091         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31092         expm1.
31093         * math/auto-libm-test-out: Regenerated.
31094         * sysdeps/i386/fpu/libm-test-ulps: Update.
31095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31097         * math/auto-libm-test-in: Add more tests of erf and erfc.
31098         * math/auto-libm-test-out: Regenerated.
31099         * sysdeps/i386/fpu/libm-test-ulps: Update.
31100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31102 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31104         * config.h.in (HAVE_AARCH64_BE): Add.
31106 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31108         * math/auto-libm-test-in: Add more tests of csqrt.
31109         * math/auto-libm-test-out: Regenerated.
31110         * sysdeps/i386/fpu/libm-test-ulps: Update.
31111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31113         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31114         * math/auto-libm-test-out: Regenerated.
31115         * sysdeps/i386/fpu/libm-test-ulps: Update.
31116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31118         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31120 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31122         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31123         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31125         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31126         (euidaccess, eaccess): Define as weak aliases.
31128         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31129         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31130         but __suseconds_t is often 'long int' so some sources assume that
31131         type is being used (e.g. they use %ld to print tv_usec).
31133 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31135         [BZ #18007]
31136         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31137         (CVE-2014-8121)
31138         * nss/tst-nss-getpwent.c: New file.
31139         * nss/Makefile (tests): Add new test.
31141 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31143         [BZ #18346]
31144         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31145         exponents less than 48 as cases where high part of mantissa needs
31146         examining to determine whether argument is integral.
31147         * math/libm-test.inc (round_test_data): Add more tests.
31149 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31151         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31153 2015-04-27  David S. Miller  <davem@davemloft.net>
31155         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31156         __tls_get_addr.
31157         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31159 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31161         [BZ #18333]
31162         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31164 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31166         [BZ #18333]
31167         * time/tzset.c (parse_tzname): Return error on memory allocation
31168         failure.
31169         * test-skeleton.c (struct temp_name_list): Change type of name
31170         member to non-const.
31171         (add_temp_file): Create a copy of the file name.
31172         (delete_temp_files): Deallocate memory.
31173         (create_temp_file): Add comment.
31175 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31177         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31178         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31180 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31182         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31183         * sysdeps/arm/configure: Regenerated.
31185 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31187         [BZ #17715]
31188         * time/tzfile.c (__tzfile_read): Check for large values of
31189         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31190         * time/tzset.c (__tzstring_len): New function, based on the old
31191         __tzstring function.
31192         (__tzstring): Call __tzstring_len.
31193         (parse_tzname): New helper function extracted from
31194         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31195         the input string.
31196         (parse_offset): New helper function extracted from
31197         __tzset_parse_tz.  Replace switch with fallthrough with
31198         initialization before sscanf.
31199         (parse_rule): Likewise.
31200         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31201         new-style function definition.
31202         * timezone/Makefile (tests): Add tst-tzset.
31203         (tst-tzset.out): Dependencies on time zone files.
31204         (tst-tzset-ENV): Set TZDIR.
31205         (testdata/XT%): Copy crafted time zone files.
31206         * timezone/README: Mention crafted time zone files.
31207         * timezone/testdata/XT1, timezone/testdata/XT2,
31208         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31209         files.
31210         * timezone/tst-tzset.c: New test.
31212 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31214         * Makeconfig (+gccwarn): Remove -Winline.
31216 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31218         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31220 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31222         * NEWS: Mention sysconf() cache information support for s390.
31223         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31225 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31227         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31228         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31229         (__nearbyint): Likewise.
31230         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31231         (copysignl): Likewise.
31233 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31235         [BZ #18287]
31236         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31237         based on padding.  (CVE-2015-1781)
31239 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31241         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31242         libc-vdso.h.
31243         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31244         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31245         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31246         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31247         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31248         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31249         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31250         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31251         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31252         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31253         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31254         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31255         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31256         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31257         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31258         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31259         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31260         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31261         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31262         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31263         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31264         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31265         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31267 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31269         * stdlib/setenv.c (__add_to_environ):
31270         Dump core quickly if setenv (..., NULL, ...) is called.
31271         This time, do it the right way, and pacify GCC with a pragma.
31273 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31275         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31276         IMAP->l_prev cannot be null, and #if out the code for the contrary
31277         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31278         believe that NS (&_dl_ns[NSID]) could point outside the array.
31280         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31281         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31282         before using NSID as an index.
31284 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31286         [BZ #17825]
31287         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31288         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31289         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31291 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31293         Add preliminary port to Google Native Client on ARM.
31294         * abi-tags (.*-.*-nacl.*): New entry.
31295         * sysdeps/arm/nacl: New directory.
31296         * sysdeps/nacl: New directory.
31298 2015-04-16  David S. Miller  <davem@davemloft.net>
31300         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31301         lowlevellock-futex.h
31303 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31305         * sysdeps/tile/configure.ac: New file.
31306         * sysdeps/tile/configure: Regenerated.
31308 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31310         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31311         conditionals for weak_alias and libc_hidden_weak.
31312         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31313         libc_hidden_weak and weak_alias.
31314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31315         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31316         and weak_alias for static one.
31318 2015-04-15  David S. Miller  <davem@davemloft.net>
31320         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31322 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31324         [BZ #18206]
31325         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31326           Use signed comparision instead of substraction to avoid
31327           overflow bug.
31328         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31329           Take the sign of ret.
31330         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31331           Do not expect precise return values. Only the sign matters.
31332         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31333         * wcsmbs/test-wcsncmp.c: New File.
31334         * string/test-strncmp.c: Add wcsncmp support.
31336 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31338         [BZ #6792]
31339         * math/w_log1p.c: New file.
31340         * math/w_log1pf.c: Likewise.
31341         * math/w_log1pl.c: Likewise.
31342         * math/Makefile (libm-calls): Add w_log1p.
31343         * math/s_log1pl.c (log1pl): Remove weak_alias.
31344         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31345         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31346         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31347         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31348         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31349         [NO_LONG_DOUBLE] (log1pl): Likewise.
31350         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31351         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31352         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31353         (log1p): Remove long_double_symbol.
31354         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31355         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31356         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31357         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31358         remove weak_alias for corresponding log1p function.
31359         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31360         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31361         * sysdeps/ia64/fpu/w_log1p.c: New file.
31362         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31363         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31364         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31366 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31368         [BZ #18247]
31369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31370         decimal exponent by 1.
31371         * stdlib/tst-strtod-round-data: Add more tests.
31372         * stdlib/tst-strtod-round.c (tests): Regenerated.
31374 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31376         * math/auto-libm-test-in: Add more tests of clog and clog10.
31377         * math/auto-libm-test-out: Regenerated.
31378         * sysdeps/i386/fpu/libm-test-ulps: Update.
31379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31381 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31383         * Makeconfig (module-cppflags): Exclude all .v.i files.
31384         (skip-module-cppflags): Variable removed.
31386         * configure.ac (libc_config_ok): Initialize before reading
31387         preconfigure scripts, not after.
31388         * configure: Regenerated.
31390         * test-skeleton.c (TIMEOUT): Move #define to top level.
31391         (main): Grok environment variable TEST_DIRECT.  If set, print
31392         test expectation details into that file and then behave as if
31393         given --direct.
31395 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31397         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31398         warning on 32-bit.
31400 2015-04-08  David S. Miller  <davem@davemloft.net>
31402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31404 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31406         * math/auto-libm-test-in: Add more tests of atanh.
31407         * math/auto-libm-test-out: Regenerated.
31408         * sysdeps/i386/fpu/libm-test-ulps: Update.
31409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31411         * math/auto-libm-test-in: Add more tests of atan.
31412         * math/auto-libm-test-out: Regenerated.
31413         * sysdeps/i386/fpu/libm-test-ulps: Update.
31414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31416 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31418         * elf/pldd.c (main): Rewrite to use struct
31419         scratch_buffer instead of extend_alloca.
31420         * elf/pldd-xx.c (find_maps): Likewise.
31421         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31422         <alloca.h>.
31423         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31424         scratch_buffer instead of extend_alloca.
31425         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31426         grp/compat-initgroups.c.
31427         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31428         Rewrite to use struct scratch_buffer instead of extend_alloca.
31429         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31430         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31432 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31434         * math/auto-libm-test-in: Add more tests of cbrt.
31435         * math/auto-libm-test-out: Regenerated.
31436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31438         * math/auto-libm-test-in: Add more tests of cabs.
31439         * math/auto-libm-test-out: Regenerated.
31440         * sysdeps/i386/fpu/libm-test-ulps: Update.
31441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31443         [BZ #18210]
31444         [BZ #18211]
31445         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31446         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31447         computations.
31448         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31449         clog10.
31450         * math/auto-libm-test-out: Regenerated.
31451         * sysdeps/i386/fpu/libm-test-ulps: Update.
31452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31454         [BZ #18197]
31455         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31456         (atan): Set FE_TONEAREST mode for internal computations.
31457         * math/auto-libm-test-in: Add more tests of atan.
31458         * math/auto-libm-test-out: Regenerated.
31460 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31462         [BZ #17930]
31463         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31465 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31467         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31469 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31471         * include/scratch_buffer.h: New file.
31472         * malloc/scratch_buffer_grow.c: Likewise.
31473         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31474         * malloc/scratch_buffer_set_array_size.c: Likewise.
31475         * malloc/tst-scratch_buffer.c: Likewise.
31476         * malloc/Makefile (routines): Add scratch_buffer_grow.
31477         (tests): Add test case.
31478         * malloc/Versions (GLIBC_PRIVATE): Export
31479         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31480         __libc_scratch_buffer_set_array_size.
31482 2015-04-06  Richard Henderson  <rth@redhat.com>
31484         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31485         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31487         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31488         unsigned int before printing.
31490 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31492         [BZ #17596]
31493         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31494         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31496 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31498         * include/libc-internal.h (libc_max_align_t): Define.
31500 2015-04-02  Andreas Schwab  <schwab@suse.de>
31502         [BZ #16850]
31503         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31505 2015-04-02  Mel Gorman  <mgorman@suse.de>
31507         [BZ #17195]
31508         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31509         as well as the main arena.
31511 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31513         [BZ #18185]
31514         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31515         sharing L2 cache to 2 for Silvermont/Knights Landing.
31517 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31519         [BZ #17711]
31520         * config.make.in (have-protected-data): New.
31521         * configure.ac: Check linker support for protected data symbol.
31522         * configure: Regenerated.
31523         * elf/Makefile (modules-names): Add tst-protected1moda and
31524         tst-protected1modb if $(have-protected-data) is yes.
31525         (tests): Add tst-protected1a and tst-protected1b if
31526         $(have-protected-data) is yes.
31527         ($(objpfx)tst-protected1a): New.
31528         ($(objpfx)tst-protected1b): Likewise.
31529         (tst-protected1modb.so-no-z-defs): Likewise.
31530         * elf/tst-protected1a.c: New file.
31531         * elf/tst-protected1b.c: Likewise.
31532         * elf/tst-protected1mod.h: Likewise.
31533         * elf/tst-protected1moda.c: Likewise.
31534         * elf/tst-protected1modb.c: Likewise.
31536 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31538         [BZ #17711]
31539         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31540         indicates it is called from do_lookup_x on relocation against
31541         protected data, skip the data definion in the executable from
31542         copy reloc.
31543         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31544         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31545         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31546         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31547         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31548         otherwise to 0.
31549         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31550         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31551         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31552         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31553         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31554         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31556 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31558         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31559         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31561 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31563         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31564         THREAD_SETMEM_NC.
31565         * sysdeps/x86_64/nptl/tls.h: Ditto.
31567 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31569         * dlfcn/tststatic.c (main): Converted to ...
31570         (do_test): ... this.
31571         (TEST_FUNCTION): New macro.
31572         Include test-skeleton.c.
31574 2015-03-26  Alan Modra  <amodra@gmail.com>
31576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31577         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31578         zero for undefined weak.
31579         (elf_machine_plt_conflict): Similarly.
31581 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31583         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31584         atanh.
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         * math/auto-libm-test-in: Add another test of asin.
31590         * math/auto-libm-test-out: Regenerated.
31591         * sysdeps/i386/fpu/libm-test-ulps: Update.
31592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31595         Remove macro.
31596         (LLL_EBX_REG): Likewise.
31597         (LLL_ENTER_KERNEL): Likewise.
31599         * math/auto-libm-test-in: Add more tests of asin.
31600         * math/auto-libm-test-out: Regenerated.
31601         * sysdeps/i386/fpu/libm-test-ulps: Update.
31602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31604         [BZ #18138]
31605         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31606         libc_do_syscall_args): New structure.
31607         (INTERNAL_SYSCALL_MAIN_0): New macro.
31608         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31609         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31610         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31611         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31612         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31613         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31614         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31615         Replace conditional definitions by conditional definitions of ....
31616         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31617         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31618         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31619         (libpthread-sysdep_routines): Add libc-do-syscall.
31620         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31621         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31622         to __NR_futex not 240.
31624 2015-03-25  Alan Modra  <amodra@gmail.com>
31626         * NEWS: Advertise TLS optimization.
31627         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31628         (DT_PPC_NUM): Increment.
31629         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31630         (CHECK_STATIC_TLS): Use here.
31631         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31632         TLS descriptors.
31633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31634         * sysdeps/powerpc/dl-tls.c: New file.
31635         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31636         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31637         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31638         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31643 2015-03-25  Alan Modra  <amodra@gmail.com>
31645         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31646         for overlapping .opd entries" to "support...".
31647         * sysdeps/powerpc/powerpc64/configure: Regenerate
31649 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31651         * math/auto-libm-test-in: Add more tests of acos.
31652         * math/auto-libm-test-out: Regenerated.
31653         * sysdeps/i386/fpu/libm-test-ulps: Update.
31654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31656         * math/auto-libm-test-in: Add more tests of expm1.
31657         * math/auto-libm-test-out: Regenerated.
31658         * sysdeps/i386/fpu/libm-test-ulps: Update.
31659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31661 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31663         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31664         * math/auto-libm-test-out: Regenerated.
31665         * sysdeps/i386/fpu/libm-test-ulps: Update.
31666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31668         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31671         * math/auto-libm-test-in: Add more tests of log2.
31672         * math/auto-libm-test-out: Regenerated.
31673         * sysdeps/i386/fpu/libm-test-ulps: Update.
31674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31676 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31678         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31679         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31680         _IO_IS_APPENDING bit in READ_WRITE instead.
31682 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31684         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31685         (__determine_cpumask_size): Replace extend_alloca with a
31686         variable-length array.  Do not treat res == 0 as an error.
31688 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31690         [BZ #18100]
31691         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31692         and integer overflow.
31693         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31694         (main): Add integer overflow tests.
31695         * manual/pattern.texi (Calling Wordexp): Document additional use
31696         for WRDE_SYNTAX.
31698 2015-03-23  Alan Modra  <amodra@gmail.com>
31700         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31701         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31702         and false branch of conditional.
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31704         Likewise.
31706 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31708         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31709         libc-modules.h
31710         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31711         unused declaration of _hurd_intr_rpc_msg_in_trap.
31712         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31713         defined instead of whether it is non-zero.
31714         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31715         input constraint instead of both input and output constraint.  Use ecx
31716         clobber instead of %ecx.
31717         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31718         mutex_unlock): Use a statement expression instead of an expression list.
31719         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31720         type to vm_size_t instead of vm_address_t.
31721         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31722         defined instead of whether it is non-zero.
31723         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31724         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31725         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31726         comparisons with mapaddr.
31727         * nscd/nscd-client.h: Include <time.h>.
31728         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31729         9th parameter to __vm_region instead of int.
31730         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31731         * scripts/check-local-headers.sh (exclude): Add device/,
31732         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31733         cthreads.h.
31735 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31737         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31738         to account for alignment padding.
31739         * sysdeps/arm/memmove.S: Likewise.
31741 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31743         * sysdeps/unix/sysv/linux/generic/README: New file.
31745 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31747         [BZ #18138]
31748         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31749         (futex_abstimed_wait)
31750         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31751         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31752         of lll_futex_timed_wait.
31754 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31756         [BZ #17542]
31757         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31759 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31761         [BZ #17090]
31762         [BZ #17620]
31763         [BZ #17621]
31764         [BZ #17628]
31765         * NEWS: Update.
31766         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31767         entries with Static TLS too.  Skip entries past the end of the
31768         allocated DTV, from Alan Modra.
31769         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31770         Static TLS DTV entry set up from...
31771         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31772         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31773         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31774         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31775         for Static TLS.
31776         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31777         that the slot we find is associated with the given map before
31778         using its generation count.
31779         * nptl_db/db_info.c: Include ldsodefs.h.
31780         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31781         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31782         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31783         (link_map::l_tls_offset): New struct field.
31784         (dtv_t::counter): Likewise.
31785         (rtld_global): New struct.
31786         (_rtld_global): New rtld variable.
31787         (dl_tls_dtv_slotinfo_list): New rtld global field.
31788         (dtv_slotinfo_list): New struct.
31789         (dtv_slotinfo): Likewise.
31790         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31791         (td_lookup): Rename to...
31792         (td_mod_lookup): ... this.  Use new mod parameter instead of
31793         LIBPTHREAD_SO.
31794         * nptl_db/td_thr_tlsbase.c: Include link.h.
31795         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31796         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31797         addresses even if the DTV is out of date or missing them.
31798         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31799         index zero-length arrays.
31800         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31801         (td_lookup): Make it a macro implemented in terms of...
31802         (td_mod_lookup): ... this declaration.
31803         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31804         (DB_MAIN_VARIABLE): Likewise.
31806 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31808         [BZ #18134]
31809         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31811 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31813         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31815 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31817         [BZ #18128]
31818         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31819         (atomic_add, atomic_increment_and_test)
31820         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31822 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31824         * stdlib/setenv.c (__add_to_environ):
31825         Dump core quickly if setenv (..., NULL, ...) is called.
31827 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31829         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31830         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31831         all the necessary asm magic in one place.
31832         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31833         using those.
31835 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31837         [BZ #14906]
31838         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31839         traced file mtime. Use consistent log message.
31840         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31841         (register_traced_file): Call install_watches. Always set mtime.
31842         (invalidate_cache): Iterate over all trace files. Call install_watches.
31843         (inotify_check_files): Don't inline. Handle watching parent
31844         directories and configuration file movement in and out.
31845         (handle_inotify_events): New function.
31846         (main_loop_poll): Call handle_inotify_events.
31847         (main_loop_epoll): Likewise.
31848         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31849         (struct traced_file): Use array of inotify fds. Add parent directory,
31850         and basename.
31851         (struct database_dyn): Remove unused file_mtime.
31852         (init_traced_file): New inline function.
31853         (define_traced_file): New macro.
31854         * nss/nss_db/db-init.c: Use define_traced_file.
31855         (_nss_db_init): Use init_traced_file.
31856         * nss/nss_files/files-init.c: Use define_traced_file.
31857         (_nss_files_init): Use init_traced_file.
31859 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31861         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31862         [_LIBC]: Do not include <stdlib.h>.
31863         [!_LIBC] (abort): Remove declaration.
31864         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31865         _FP_STATIC_ASSERT instead of conditionally calling abort.
31866         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31867         (_FP_EXTEND_CNAN): Likewise.
31868         (FP_TRUNC): Likewise.
31869         (__FP_CLZ): Likewise.
31870         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31872 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31874         * manual/string.texi (XPG basename): Fix prototype.
31876 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31878         [BZ #18080]
31879         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31880         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31881         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31882         (__setcontext): Likewise.
31883         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31884         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31885         Call rt_sigprocmask syscall one time to set new signal mask
31886         and retrieve the current signal mask instead of two calls.
31887         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31888         (__swapcontext): Likewise.
31889         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31890         * stdlib/tst-setcontext2.c: New file.
31892 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31894         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31896 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31898         [BZ #18093]
31899         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31900         the wrong size.
31902 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31904         [BZ #18043]
31905         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31907 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31909         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31910         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31911         Remove define.
31912         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31913         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31914         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31915         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31916         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31917         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31918         define.
31919         * nptl_db/td_symbol_list.c (td_lookup): Remove
31920         HAVE_ASM_GLOBAL_DOT_NAME code.
31921         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31922         HAVE_ASM_GLOBAL_DOT_NAME check.
31923         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31924         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31925         (DOT_LABEL): Remove define.
31926         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31927         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31928         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31929         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31930         (__TLS_GET_ADDR): Likewise.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31932         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31934 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31936         [BZ #18111]
31937         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31938         (_FPU_SETCW): Initialize cw from fpsr before storing.
31939         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31940         (fesetexceptflag): Rewrite using fpu_control.h.
31941         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31943 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31945         [BZ #18110]
31946         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31947         asms.
31948         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31950 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31952         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31953         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31954         abort.
31955         (_FP_FMA): Likewise.
31956         (_FP_DIV): Likewise.
31958 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31960         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31961         with 0 in that case.
31962         * Makefile (summarize-tests): New canned sequence, factored out of
31963         commands for targets tests and xtests.  Display summary lines that
31964         don't start with PASS: or XFAIL: rather than ones that do start with
31965         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31966         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31967         do start with ERROR: or FAIL:.
31968         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31969         (except for [$(build-shared) = yes]).
31970         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31971         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31972         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31973         * nptl/Makefile: Revert 2015-03-04 changes.
31974         [$(CXX) empty] (tests-unsupported): New variable.
31975         * debug/Makefile: Likewise.
31977         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31978         gnulib file.  Replace __attribute with __attribute__ throughout.
31980 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31982         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31984 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31986         [BZ #18104]
31987         * math/auto-libm-test-in: Add another test of pow.
31988         * math/auto-libm-test-out: Regenerated.
31990 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31992         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31993         $(config-cflags-nofma).
31995 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31997         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31998         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31999         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32000         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32001         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32002         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32003         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32004         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32005         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32006         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32007         Add comment on closing #endif.
32009 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32011         * posix/wordexp.c (CHAR_IN_SET): New macro.
32012         (parse_param): Use it.
32014 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32016         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32018 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32020         [BZ #18043]
32021         * posix/wordexp.c (parse_param): Fix buffer overflow.
32022         * posix/wordexp-test.c (test_case): Add test case.
32024 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32026         [BZ #18042]
32027         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32028         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32030 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32032         [BZ #18043]
32033         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32034         (do_bz18043): Delete.
32035         (at_page_end): New.
32036         (testit): Refactor to have words at the edge of unreadable page.
32038 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32040         [BZ #16734]
32041         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32042         Cleanup read-only streams as well.
32043         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32045 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32047         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32048         <bits/libc-lockP.h>
32050 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32052         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32053         on [__KERNEL__].
32054         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32055         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32056         * soft-fp/op-common.h (_FP_DECL): Likewise.
32058 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32060         * elf/ifuncdep2.c (global): Replace
32061         __attribute__((visibility("protected"))) with
32062         asm (".protected global").
32063         * elf/ifuncmod1.c (global): Likewise.
32064         * elf/ifuncmod5.c (global): Likewise.
32066 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32068         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32069         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32071 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32073         * manual/install.texi (Configuring and compiling):
32074         Document test-wrapper-env-only.
32075         * INSTALL: Regenerated.
32077 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32079         [BZ #18043]
32080         * posix/wordexp.c (parse_param): Fix buffer overflow.
32081         * posix/wordexp-test.c (do_bz18043): Add test case.
32083 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32085         * time/tst-strptime2.c (do_test): Ensure failing tests are
32086         reported correctly.
32087         * time/tst-strptime3.c (do_test): Likewise.
32089 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32091         Fix aio_error thread-safety.
32092         * sysdeps/pthread/aio_error.c: New file
32093         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32094         synchronization.
32096 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32098         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32099         (group_number, vfprintf): Use it.
32100         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32101         (JUMP, REF): Use it.
32102         (WORK_BUFFER_SIZE): New enum constant.
32103         (process_arg, vfprintf): Use it.
32105 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32107         * manual/errno.texi (Error Messages): Complete example function
32108         by adding missing #define.
32109         (program_invocation_name): Add statement indicating GNU
32110         extension and reference which header file declares the variable.
32111         (program_invocation_short_name): Likewise.
32113 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32115         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32116         compatibility note.
32118 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32120         * Makeconfig (test-wrapper-env-only): New variable.
32121         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32122         then use that with $(test-wrapper-env-only) rather than using
32123         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32125 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32127         [BZ #18082]
32128         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32129         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32130         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32131         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32132         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32133         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32134         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32135         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32136         Likewise.
32137         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32138         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32139         Likewise.
32140         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32141         Likewise.
32142         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32143         Likewise.
32144         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32145         Likewise.
32146         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32148         Likewise.
32149         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32150         Likewise.
32151         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32152         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32154 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32156         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32157         (ETH_ALEN): New macro.
32158         (struct ether_addr): Use it for length of ether_addr_octet.
32160         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32161         (setdb): Don't call __nss_configure_lookup for "rpc".
32162         (do_test): Don't call test_rpc.
32163         (output_rpcent, test_rpc): Functions moved ...
32164         * sunrpc/test-rpcent.c: ... to this new file.
32165         * sunrpc/Makefile (tests): Add it.
32167         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32168         __xpg_sigpause.
32169         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32170         * nptl/tst-signal6.c: Likewise.
32171         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32172         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32174         * configure.ac (libc_cv_cxx_link_ok): New check.
32175         Reset CXX to empty if it fails to link.
32176         * configure: Regenerated.
32177         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32178         bug-atexit3-lib only if $(CXX) is nonempty.
32179         * nptl/Makefile (tests): Likewise for tst-cancel24.
32180         (tests, tests-static): Likewise for tst-cancel24-static.
32181         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32182         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32183         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32184         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32186 2015-03-04  Andreas Schwab  <schwab@suse.de>
32188         [BZ #17631]
32189         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32190         for non-GCC compilers.
32191         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32192         Likewise.
32194 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32196         [BZ #17776]
32197         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32198         integer before bitwise and assembly operations.
32199         (feclearexcept): Likewise.
32200         * math/test-fenvinline.c: New file.
32201         * math/Makefile: Add test-fenvinline test.
32203 2015-03-03  Alan Modra  <amodra@gmail.com>
32205         [BZ #16512]
32206         * scripts/localplt.awk: Strip off symbol version.
32207         * NEWS: Mention bug fix.
32209 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32211         * sysdeps/pthread/timer_routines.c
32212         (timer_free_list, thread_free_list, thread_active_list): Make static.
32214 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32216         [BZ #17779]
32217         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32218         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32219         Undefine.
32220         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32221         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32222         Likewise.
32223         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32224         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32225         Likewise.
32227 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32229         [BZ #18036]
32230         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32231         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32233 2015-03-02  Andreas Schwab  <schwab@suse.de>
32235         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32236         variable name.
32238 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32240         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32241         Return error status.
32243 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32245         [BZ #15969]
32246         * locale/findlocale.c (_nl_find_locale): Introduce const
32247         version of loc_name and drop unsafe type casts.
32249 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32251         * dlfcn/tststatic2.c (main): Converted to ...
32252         (do_test): ... this.
32253         (TEST_FUNCTION): New macro.
32254         Include test-skeleton.c.
32256 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32258         [BZ #17711]
32259         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32260         (tests-pie): Add vismain.
32261         (CFLAGS-vismain.c): New.
32262         * elf/vismain.c: Add comments for PIE requirement.
32264 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32266         [BZ #18046]
32267         [BZ #18047]
32268         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32269         0x1p-56L as threshold for just returning the argument.
32270         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32271         0x1p-32L as threshold for just returning the argument.
32272         * math/auto-libm-test-in: Add more tests of atanh.
32273         * math/auto-libm-test-out: Regenerated.
32274         * sysdeps/i386/fpu/libm-test-ulps: Update.
32275         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32277 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32279         * string/bcopy.c (bcopy): Call memmove for performance.
32281 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32283         * string/bzero.c (__bzero): Call memset for performance.
32285 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32287         [BZ #18068]
32288         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32289         to 00100000.
32291 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32293         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32295 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32297         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32298         (__kernel_standard): Use CSTR macro when setting exc.name.
32299         * sysdeps/ieee754/Makefile [$(subdir) = math]
32300         (CFLAGS-k_standard.c): Remove variable.
32302         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32303         setting p and q from "else if" to "else".
32304         (qzero): Likewise.
32305         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32306         (qone): Likewise.
32307         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32308         (qzerof): Likewise.
32309         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32310         (qonef): Likewise.
32311         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32312         (qzero): Likewise.
32313         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32314         (qone): Likewise.
32316         [BZ #18038]
32317         [BZ #18039]
32318         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32319         return pi/2 for arguments below 0x1p-113L.
32320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32321         return pi/2 for arguments below 0x1p-106L.
32322         * math/auto-libm-test-in: Add more tests of acos.
32323         * math/auto-libm-test-out: Regenerated.
32325         [BZ #16351]
32326         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32327         (MO): New macro.
32328         (__ieee754_asin): Force underflow exception for results with small
32329         absolute value.
32330         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32331         (MO): New macro.
32332         (__ieee754_asinf): Force underflow exception for results with
32333         small absolute value.
32334         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32335         (__ieee754_asin): Force underflow exception for results with small
32336         absolute value.
32337         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32338         (__ieee754_asinf): Force underflow exception for results with
32339         small absolute value.
32340         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32341         (__ieee754_asinl): Force underflow exception for results with
32342         small absolute value.
32343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32344         (__ieee754_asinl): Force underflow exception for results with
32345         small absolute value.
32346         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32347         (__ieee754_asinl): Force underflow exception for results with
32348         small absolute value.
32349         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32350         Include <math.h>.
32351         * math/auto-libm-test-in: Do not mark underflow exceptions as
32352         possibly missing for bug 16351.
32353         * math/auto-libm-test-out: Regenerated.
32355         [BZ #18030]
32356         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32357         of power of 2 down when low part has opposite sign.
32358         * math/libm-test.inc (logb_test_data): Add more tests.
32360 2015-02-26  Andreas Schwab  <schwab@suse.de>
32362         [BZ #18032]
32363         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32364         over collating symbol inside a bracket expression.  Minor cleanup.
32365         * posix/tst-fnmatch3.c (do_test): Add test case.
32367 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32369         [BZ #18029]
32370         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32371         Adjust exponent of power of 2 down when low part has opposite
32372         sign.
32373         * math/libm-test.inc (ilogb_test_data): Add more tests.
32375 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32377         [BZ #15969]
32378         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32379         the previous change.
32381         [BZ #15969]
32382         * locale/findlocale.c (_nl_find_locale): Retry archive search
32383         after alias expansion.
32385 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32387         * iconv/tst-iconv3.c (main): Converted to ...
32388         (do_test): ... this.
32389         (TEST_FUNCTION): New macro.
32390         Include test-skeleton.c.
32392         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32393         (convert): Make function static.
32394         (test_unalign): Likewise.  Add const to argument pointee types.
32395         (main): Replace with static function do_test.
32396         Print "Succeeded." only if RET is zero.
32397         (TEST_FUNCTION): New macro.
32398         Include test-skeleton.c.
32400         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32401         returns a null pointer.
32403 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32405         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32406         to __memcpy_ppc only for static builds.
32408 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32410         [BZ #18020]
32411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32412         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32413         * math/auto-libm-test-in: Add more tests of asinh.
32414         * math/auto-libm-test-out: Regenerated.
32415         * sysdeps/i386/fpu/libm-test-ulps: Update.
32416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32418 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32420         [BZ #15850]
32421         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32422         and ip6_mtuinfo definitions here.
32423         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32424         in this define too.  Update comment.
32426 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32428         * elf/sprof.c (load_shobj): Tweak error message to match others.
32430 2015-02-24  Kevin Easton  <kevin@guarana.org>
32432         [BZ #16145] (partial fix)
32433         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32434         to reduce lock contention.
32436 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32438         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32439         (struct timex): Update time comment.
32440         (ADJ_SETOFFSET): Define.
32442 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32444         [BZ #18019]
32445         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32446         2**56 not 2**28 as threshold for log (2x) formula.
32447         * math/auto-libm-test-in: Add more tests of acosh.
32448         * math/auto-libm-test-out: Regenerated.
32449         * sysdeps/i386/fpu/libm-test-ulps: Update.
32450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32452 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32454         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32455         parenthesis around the buf assignment.
32456         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32458 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32460         [BZ #16783]
32461         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32462         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32463         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32464         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32465         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32466         * math/libm-test.inc (scalb_test_data): Add more tests.
32468 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32470         [BZ #17916]
32471         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32472         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32474 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32476         [BZ #17523]
32477         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32478         * io/bits/fcntl2.h (open): Use it.
32479         (openat): Likewise.
32480         * io/open.c (__libc_open): Likewise.
32481         * io/open64.c (__libc_open64): Likewise.
32482         * io/open64_2.c (__open64_2): Likewise.
32483         * io/open_2.c (__open_2): Likewise.
32484         * io/openat.c (__openat): Likewise.
32485         * io/openat64.c (__openat64): Likewise.
32486         * io/openat64_2.c (__openat64_2): Likewise.
32487         * io/openat_2.c (__openat_2): Likewise.
32488         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32489         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32490         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32491         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32492         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32493         (__open_nocancel): Likewise.
32494         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32495         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32496         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32498 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32500         [BZ #14841]
32501         * resolv/gethnamaddr.c (getanswer): Skip logging if
32502         RES_USE_DNSSEC is set.
32503         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32505 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32507         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32509 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32511         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32512         201304L, for Unicode 7.
32514 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32516         [BZ #17836]
32517         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32518         shared library.  Add gmon-start.os otherwise.
32519         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32520         $(objpfx)gmon-start.os if builing shared library.
32521         ($(objpfx)g$(static-start-installed-name)): Likewise.
32523 2015-02-23  Andreas Schwab  <schwab@suse.de>
32525         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32527 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32529         [BZ #17269]
32530         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32531         (enlarge_userbuf): Likewise.
32533 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32535         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32536         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32537         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32538         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32540 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32542         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32543         expression inside statement expression.
32545 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32547         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32548         <sysdeps/nptl/lowlevellock.h> and remove macros and
32549         functions that are now defined there.
32550         (SYS_futex): Remove.
32551         (lll_compare_and_swap): Remove.
32552         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32554 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32556         [BZ #17999]
32557         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32558         instead of scandirat.
32559         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32560         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32561         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32562         __scandirat.
32563         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32564         (__scandirat): Declare.  Use libc_hidden_proto.
32565         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32566         Remove variable.
32567         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32569 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32571         [BZ #15319]
32572         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32573         (MO): New macro.
32574         (__ieee754_atan2): For results with small absolute value, force
32575         underflow exception and remove excess range and precision from
32576         return value.
32577         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32578         (MO): New macro.
32579         (__ieee754_atan2f): For results with small absolute value, force
32580         underflow exception and remove excess range and precision from
32581         return value.
32582         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32583         (MO): New macro.
32584         (__atan): For results with small absolute value, force underflow
32585         exception and remove excess range and precision from return value.
32586         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32587         (MO): New macro.
32588         (__atanf): For results with small absolute value, force underflow
32589         exception and remove excess range and precision from return value.
32590         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32591         <math.h>.
32592         (__ieee754_atan2): Force underflow exception for results with
32593         small absolute value.
32594         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32595         <math_private.h>.
32596         (atan): Force underflow exception for results with small absolute
32597         value.
32598         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32599         (__atanf): Force underflow exception for results with small
32600         absolute value.
32601         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32602         <math.h>.
32603         (__atanl): Force underflow exception for results with small
32604         absolute value.
32605         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32606         (__atanl): Force underflow exception for results with small
32607         absolute value.
32608         * sysdeps/x86/fpu/bits/mathinline.h
32609         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32610         (__ieee754_atan2): Only define inline for long double.
32611         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32612         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32613         * math/auto-libm-test-in: Do not mark underflow exceptions as
32614         possibly missing for bug 15319.  Add more tests of atan2.
32615         * math/auto-libm-test-out: Regenerated.
32616         * math/libm-test.inc (casin_test_data): Do not mark underflow
32617         exceptions as possibly missing for bug 15319.
32618         (casinh_test_data): Likewise.
32619         * sysdeps/i386/fpu/libm-test-ulps: Update.
32621 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32623         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32624         * sysdeps/mips/bits/endian.h: Fix comments.
32626 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32628         [BZ #17996]
32629         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32630         (hdestroy_r): Likewise.
32631         (hsearch_r): Likewise.
32632         (__hcreate_r): Declare and use libc_hidden_proto.
32633         (__hdestroy_r): Likewise.
32634         (__hsearch_r): Likewise.
32635         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32636         (hcreate): Call __hcreate_r instead of hcreate_r.
32637         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32638         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32639         as weak alias of __hcreate_r.
32640         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32641         __hdestroy_r.
32642         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32643         __hsearch_r.
32644         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32645         Remove variable.
32646         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32647         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32648         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32649         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32651 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32653         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32654         arena_lock into a single arena_get.
32656 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32658         * dl-reloc.c: Inlucde libc-internal.h.
32659         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32660         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32661         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32662         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32663         (grow_heap): Likewise.
32664         * malloc/malloc.c: Include libc-internal.h.
32665         (do_check_malloc): Call powerof2.
32666         (sysmalloc): Use pagesize. Call ALIGN_UP.
32667         (systrim): Use pagesize.
32668         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32669         (__libc_valloc): Use pagesize.
32670         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32672 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32674         [BZ #17991]
32675         * include/sys/resource.h (__getrlimit64): Declare.  Use
32676         libc_hidden_proto.
32677         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32678         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32679         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32680         getrlimit64.
32681         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32682         __getrlimit64.
32683         [!getrlimit64] (getrlimit64): Define as weak alias of
32684         __getrlimit64.  Use libc_hidden_weak.
32685         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32686         using __getrlimit64 not __new_getrlimit64.
32687         (__GI_getrlimit64): Likewise.
32688         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32689         Likewise.
32690         (__GI_getrlimit64): Likewise.
32691         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32693         (getrlimit): Add __getrlimit64 alias.
32694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32695         Likewise.
32696         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32697         Remove variable.
32698         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32699         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32701 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32703         * libio/fileops.c: Add missing sys/mman.h
32704         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32706 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32708         * manual/math.texi (Errors in Math Functions): Clarify goals
32709         regarding inexact and underflow exceptions.
32711 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32713         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32714         * sysdeps/mips/memset.S: Ditto.
32716 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32718         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32720 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32722         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32723         (__v1longjmp): Remove versioned symbol.
32724         (__v1siglongjmp): Remove alias and versioned symbol.
32725         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32726         (__v2siglongjmp): Likewise.
32728 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32730         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32732 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32734         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32736 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32738         [BZ #17987]
32739         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32740         zero result does not depend on the sign resulting from
32741         subtraction.
32742         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32743         Likewise.
32744         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32745         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32747         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32748         * math/libm-test.inc (remquo_test_data): Add more tests.
32750 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32752         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32753         Problem reported by J William Piggott.
32755 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32757         [BZ #17978]
32758         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32759         products 4 * y and 2 * y where those would overflow.
32760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32761         Likewise.
32762         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32763         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32764         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32765         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32766         * math/libm-test.inc (remquo_test_data): Add more tests.
32768         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32770         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32771         [defined _COMPILING_NEWLIB].
32772         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32773         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32775         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32776         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32778 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32780         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32781         acquired.
32783 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32785         [BZ #17792]
32786         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32787         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32788         HOST_STACK_END_ADDR): Likewise.
32790 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32792         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32793         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32794         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32796 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32798         * sysdeps/generic/c++-types.data: New file.
32799         * sysdeps/generic/ld.abilist: New file.
32800         * sysdeps/generic/libBrokenLocale.abilist: New file.
32801         * sysdeps/generic/libanl.abilist: New file.
32802         * sysdeps/generic/libc.abilist: New file.
32803         * sysdeps/generic/libcrypt.abilist: New file.
32804         * sysdeps/generic/libdl.abilist: New file.
32805         * sysdeps/generic/libm.abilist: New file.
32806         * sysdeps/generic/libpthread.abilist: New file.
32807         * sysdeps/generic/libresolv.abilist: New file.
32808         * sysdeps/generic/librt.abilist: New file.
32810 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32812         [BZ #17569]
32813         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32814         Compute absolute value of x as modified by fmod, not original
32815         value of x.
32816         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32817         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32818         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32819         RUN_TEST_ffI_f1_mod8.
32820         (remquo_test_data): Add more tests.
32822 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32824         * sysdeps/init_array/pt-crti.S: New file.
32826 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32828         [BZ #17967]
32829         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32830         __builtin_fmaf instead of relying on contraction of a * b + c.
32832 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32834         [BZ #17969]
32835         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32836         node.
32838 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32840         [BZ #17964]
32841         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32842         __builtin_fma instead of relying on contraction of a * b + c.
32844 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32846         * Makeconfig (ASFLAGS): Add -Werror=undef.
32847         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32848         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32849         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32851         * Makeconfig (after-link): New variable.
32852         (+link-pie, +link-pie-tests): Use it.
32853         (+link-static, +link-static-tests): Likewise.
32854         (+link, +link-tests): Likewise.
32855         * Makerules (build-module, build-module-asneeded): Likewise.
32856         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32857         Likewise.
32858         * elf/Makefile ($(objpfx)ld.so): Likewise.
32860 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32862         [BZ #17965]
32863         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32864         both struct timeval and struct timespec.
32866 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32868         [BZ #16560]
32869         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32870         and redefine.
32871         (__ieee754_exp2l): Do not multiply small fractional parts by
32872         M_LN2l.
32873         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32874         small argument.
32875         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32876         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32877         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32878         * math/auto-libm-test-in: Add more tests of exp2.
32879         * math/auto-libm-test-out: Regenerated.
32881 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32883         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32884         unaligned path.
32886 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32888         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32889         little endian.
32891 2015-02-12  Andreas Schwab  <schwab@suse.de>
32893         [BZ #15790]
32894         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32895         Filter out elision flags from value returned in kind.
32896         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32897         * nptl/tst-pthread-mutexattr.c: New file.
32899 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32901         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32902         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32903         into gnu-gnu, and update comment to refer to abi-tags.
32905 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32907         [BZ #15467]
32908         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32909         (__sincos): Set errno to EDOM for infinite argument.
32910         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32911         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32912         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32913         (__sincosl): Set errno to EDOM for infinite argument.
32914         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32915         (__sincosl): Set errno to EDOM for infinite argument.
32916         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32917         (__sincosl): Set errno to EDOM for infinite argument.
32918         * math/libm-test.inc (sincos_test_data): Test errno setting.
32920 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32922         * string/strxfrm_l.c: Remove #define STRCMP.
32923         * string/strcoll_l.c: Remove #define STRLEN.
32924         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32925         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32927 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32929         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32930         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32931         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32932         * sysdeps/mips/mips64/Makefile: ... here.
32933         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32934         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32935         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32936         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32937         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32938         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32939         * sysdeps/mips/mips64/n64/Implies: Likewise.
32941 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32943         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32944         <sys/time.h>, <string.h>, and <errno.h>.
32945         (dest_offset, dest_address, value, zero): Remove unused variables.
32946         (ldouble): Remove typedef.
32947         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32948         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32949         1).  Fix code style.
32950         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32951         (check): Function removed.
32952         (CHECK): New macro.
32953         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32954         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32955         Don't call set_sigaction_FP and remove_sigaction_FP here.
32956         (ldouble_test): Just use 'long double' as macro argument, no need for
32957         the 'ldouble' typedef.
32958         (do_test): Set up SIGFPE handler at start, using plain signal rather
32959         than sigaction.  Fix code style.
32961 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32963         [BZ #17949]
32964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32965         jump label.
32967 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32969         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32970         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32972         * sysdeps/powerpc/configure.ac: Remove file.
32973         * sysdeps/powerpc/configure: Likewise.
32975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32976         [sysdep_routines]: Remove wordcopy-power6 object.
32977         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32978         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32979         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32980         (__memmove_ppc32): Likewise.
32981         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32982         file.
32983         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32985         Remove preprocessor.
32987         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32988         [sysdep_routines]: Remove wide chars objects.
32989         [wcsmbs]: New rule for wide char objects.
32991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32992         Remove wordcopy-power6 obejct.
32993         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32994         Use local call for wordcopy and memcpy symbols.
32995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32997         implementation for loader.
32998         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33000         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33001         Remove wordcopy-power7 object.
33002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33003         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33004         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33005         (_wordcopy_fwd_dest_aligned): Likewise.
33006         (_wordcopy_bwd_aligned): Likewise.
33007         (_wordcopy_bwd_dest_aligned): Likewise.
33009         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33010         Rewrite to call __memmove_ppc instead of include default
33011         implementation.
33013         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33014         Remove wide chars objects.
33015         [wcsmbs]: New rule for wide char objects.
33017 2015-02-09  Andreas Schwab  <schwab@suse.de>
33019         [BZ #17912]
33020         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33021         in terms of __O_DIRECTORY.
33023 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33025         * time/getdate.c: Include <stdbool.h>.
33026         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33027         call PTR_MANGLE.
33028         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33029         PTR_DEMANGLE.
33031 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33033         Add ersatz _Static_assert on older C hosts
33034         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33035         pre-C11 C platform that is not known to support _Static_assert.
33037 2015-02-07  Richard Braun  <rbraun@sceen.net>
33039         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33040         sigstate.
33041         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33043 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33045         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33046         priority against unexistent AIO_PRIO_DELTA_MAX.
33047         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33048         instead of int.
33049         * misc/fchflags.c (fchflags): Likewise.
33050         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33051         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33052         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33053         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33054         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33055         Declare macros.
33056         [__USE_MISC] (chflags, fchflags): Declare functions.
33057         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33058         EINVAL when nfds is greater than FD_SETSIZE.
33059         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33060         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33061         45.
33062         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33063         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33064         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33065         MACH_RCV_TIMED_OUT.
33066         * hurd/hurd/signal.h (_hurd_self_sigstate,
33067         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33068         Explicit casts from void *.
33069         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33070         * abi-tags: Rename gnu-gnu os into gnu.
33072         [BZ #4719]
33073         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33074         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33075         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33076         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33077         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33078         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33080         [BZ #17944]
33081         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33082         duplicates ADDR->sun_path with sockaddr LEN limitation.
33083         * sysdeps/mach/hurd/connect.c: Include <string.h>
33084         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33085         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33086         * sysdeps/mach/hurd/sendto.c: Likewise.
33087         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33088         implementing it by hand.
33090 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33092         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33093         Use sfi_breg on ldr.
33094         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33095         Likewise.
33097         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33098         it's defined.
33099         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33100         Test SIGSETXID only if it's defined.
33102         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33104         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33105         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33107         * nptl/tst-align2.c: Moved ...
33108         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33109         * nptl/Makefile (tests): Remove tst-align2.
33110         * sysdeps/unix/sysv/linux/Makefile
33111         [$(subdir) = nptl] (tests): Add tst-align-clone.
33112         * nptl/tst-getpid1.c: Moved ...
33113         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33114         * nptl/tst-getpid2.c: Moved ...
33115         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33116         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33117         * sysdeps/unix/sysv/linux/Makefile
33118         [$(subdir) = nptl] (tests): ... here.
33119         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33120         * sysdeps/unix/sysv/linux/Makefile
33121         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33123         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33124         Drop trailing \n from perror argument.  Use return rather than exit.
33126         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33127         on [SA_SIGINFO].
33128         * nptl/tst-cancel21.c (do_test): Likewise.
33129         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33130         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33131         [!SA_SIGINFO]: Make it a stub test.
33133         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33134         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33136         * posix/tst-getlogin.c: Move to ...
33137         * login/tst-getlogin.c: ... here.
33138         * posix/Makefile (tests): Move tst-getlogin to ...
33139         * login/Makefile (tests): ... here.
33141         * libio/tst-atime.c (do_test): Move local variables SV and E
33142         inside [ST_NOATIME] conditional.
33144         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33146         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33148         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33149         (wait_code): New function replaces macro.
33150         Call nanosleep rather than syscall.
33152         * nptl/pt-system.c: Rewritten.  Put everything under
33153         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33154         Use IFUNC to redirect when possible.
33156         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33157         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33158         Use IFUNC to redirect when possible.
33160         * nptl/pt-fork.c: Rewritten.  Put everything under
33161         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33162         Use IFUNC to redirect when possible.
33163         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33165         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33166         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33167         unconditionally nowadays.  This included the only reference to
33168         __vdso_clock_gettime that appears outside libc proper.
33169         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33170         Remove version set (containing only __vdso_clock_gettime).
33171         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33172         Add attribute_hidden.
33173         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33174         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33175         libc_hidden_data_def.
33176         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33177         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33179         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33180         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33181         setrpcent, and getrpcport to ...
33182         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33183         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33184         getrpcbynumber_r, and getrpcent_r to ...
33185         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33186         * inet/getrpcbyname.c: Moved ...
33187         * sunrpc/getrpcbyname.c: ... here.
33188         * inet/getrpcbyname_r.c: Moved ...
33189         * sunrpc/getrpcbyname_r.c: ... here.
33190         * inet/getrpcbynumber.c: Moved ...
33191         * sunrpc/getrpcbynumber.c: ... here.
33192         * inet/getrpcbynumber_r.c: Moved ...
33193         * sunrpc/getrpcbynumber_r.c: ... here.
33194         * inet/getrpcent.c: Moved ...
33195         * sunrpc/getrpcent.c: ... here.
33196         * inet/getrpcent_r.c: Moved ...
33197         * sunrpc/getrpcent_r.c: ... here.
33198         * inet/Makefile (routines): Move those to ...
33199         * sunrpc/Makefile (routines): ... here.
33200         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33201         the $(subdirs) list.
33202         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33203         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33204         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33205         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33207         * elf/Makefile (routines): Include $(all-dl-routines), not just
33208         $(dl-routines).
33209         (rtld-routines): Likewise.  Use = rather than :=.
33210         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33211         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33212         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33213         * sysdeps/arm/Makefile: Likewise.
33214         * sysdeps/i386/Makefile: Likewise.
33215         * sysdeps/x86_64/Makefile: Likewise.
33216         * sysdeps/hppa/Makefile [$(subdir) = elf]
33217         (sysdep_routines, sysdep-rtld-routines): Don't add
33218         $(sysdep-dl-routines) to these.
33219         * sysdeps/ia64/Makefile: Likewise.
33220         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33221         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33222         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33223         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33224         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33225         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33226         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33227         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33228         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33229         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33230         these; sysdep-dl-routines alone is enough.
33232 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33234         [BZ #17932]
33235         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33236         where multiplication results in zero and third argument is finite
33237         and nonzero.
33238         * math/auto-libm-test-in: Add more tests of fma.
33239         * math/auto-libm-test-out: Regenerated.
33241         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33242         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33243         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33244         (_FP_CMP_EQ): Likewise.
33245         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33247         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33248         extra argument CHECK_NAN.  Redefine as wrapper around
33249         _FP_EXTEND_CNAN.
33251 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33253         * version.h (RELEASE): Set to "stable".
33254         (VERSION): Set to "2.21"
33255         * include/features.h (__GLIBC_MINOR__): Set to 21.
33257         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33259 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33260             Paul Eggert  <eggert@cs.ucla.edu>
33262         [BZ #16618]
33263         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33264         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33265         size in bytes. Store needed elements in wpmax. Use needed size
33266         in bytes for extend_alloca.
33268 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33270         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33271         binutls 2.25, and texinfo 5.2.
33272         * INSTALL: Regenerate.
33273         * sysdeps/nios2/configure: Regenerate.
33274         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33275         * manual/contrib.texi: Update.
33276         * po/be.po: Update.
33277         * po/bg.po: Update.
33278         * po/ca.po: Update.
33279         * po/cs.po: Update.
33280         * po/da.po: Update.
33281         * po/de.po: Update.
33282         * po/el.po: Update.
33283         * po/eo.po: Update.
33284         * po/es.po: Update.
33285         * po/fi.po: Update.
33286         * po/fr.po: Update.
33287         * po/gl.po: Update.
33288         * po/hr.po: Update.
33289         * po/hu.po: Update.
33290         * po/ia.po: Update.
33291         * po/id.po: Update.
33292         * po/it.po: Update.
33293         * po/ja.po: Update.
33294         * po/ko.po: Update.
33295         * po/lt.po: Update.
33296         * po/nb.po: Update.
33297         * po/nl.po: Update.
33298         * po/pl.po: Update.
33299         * po/pt_BR.po: Update.
33300         * po/ru.po: Update.
33301         * po/rw.po: Update.
33302         * po/sk.po: Update.
33303         * po/sl.po: Update.
33304         * po/sv.po: Update.
33305         * po/tr.po: Update.
33306         * po/uk.po: Update.
33307         * po/vi.po: Update.
33308         * po/zh_CN.po: Update.
33309         * po/zh_TW.po: Update.
33311         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33312         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33313         * sysdeps/hppa/dl-irel.h: Remove #warning.
33314         * sysdeps/hppa/entry.h: Provide prototype for
33315         __canonicalize_funcptr_for_compare and cast argument.
33316         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33317         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33318         * sysdeps/hppa/sotruss-lib.c: New file.
33319         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33320         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33321         (atomic_compare_and_exchange_bool_acq): Likewise.
33322         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33323         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33325         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33326         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33327         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33329 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33331         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33332         called function in non-PIC case.
33334 2015-01-31  David S. Miller  <davem@davemloft.net>
33336         * sysdeps/sparc/sparc32/bits/atomic.h
33337         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33338         unlock not after it.
33339         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33340         volatile register usage warnings from the compiler.
33342         * sysdeps/sparc/nptl/sem_init.c: Delete.
33343         * sysdeps/sparc/nptl/sem_post.c: Delete.
33344         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33345         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33346         * sysdeps/sparc/sparc32/sem_init.c: New file.
33347         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33348         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33349         padding explicitly initialized.
33350         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33351         padding for in-semaphore spinlock.
33352         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33353         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33354         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33355         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33356         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33357         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33358         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33359         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33360         version.
33361         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33362         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33364 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33366         [BZ #17801]
33367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33368         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33369         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33370         New.
33371         (index_AVX_Fast_Unaligned_Load): Likewise.
33372         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33373         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33374         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33375         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33376         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33377         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33378         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33379         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33380         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33382 2015-01-29  Andreas Schwab  <schwab@suse.de>
33384         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33386 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33388         [BZ #17892]
33389         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33391 2015-01-28  Martin Sebor  <msebor@redhat.com>
33393         * math/README.libm-test: Clarify. Add "How to read the test output."
33395 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33397         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33398         Define to 0.
33400 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33402         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33403         (__HAVE_64B_ATOMICS): Define to 0.
33405 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33407         [BZ #17885]
33408         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33409         value to set as new flag.
33411         [BZ #16576]
33412         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33413         and use _ARCH_PPCSQ instead.
33414         (__ieee754_sqrt): Likewise.
33415         (__ieee754_sqrtf): Likewise.
33416         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33417         _ARCH_PPCSQ is defined.
33418         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33419         fsqrt instruction.
33420         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33421         _ARCH_PPCSQ is defined.
33422         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33423         fsqrts instruction.
33424         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33426 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33428         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33429         bug (GCC BZ #64739).
33431 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33433         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33434         Mark _retval as used.
33435         (lll_futex_wake_unlock): Likewise.
33436         (lll_futex_timed_wait_requeue_pi): Likewise.
33438         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33439         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33440         register variables.
33442         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33443         libm_hidden_def.
33445         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33446         (__bswap_64): Mark as __always_inline.
33448 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33450         [BZ #15378]
33451         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33452         when none of the search directories exist.
33454 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33456         [BZ #17869]
33457         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33458         power8 in .machine directive.
33460         [BZ #17868]
33461         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33462         set dependency from opd value.
33464 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33467         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33468         architecture.
33470 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33472         [BZ #17870]
33473         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33474         with uint64_t.
33475         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33476         (uint64_t) 1.
33477         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33478         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33479         Replace 1UL with (uint64_t) 1.
33480         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33481         int with uint64_t.
33483 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33485         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33486         (if_freenameindex): Likewise.
33488         * resource/getrlimit64.c: Add missing libc_hidden_def.
33490 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33492         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33493         __label__.
33494         (_FP_FMA): Likewise.
33495         (_FP_TO_INT_ROUND): Likewise.
33496         (_FP_FROM_INT): Likewise.
33498 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33500         [BZ #16418]
33501         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33502         Make code racy and cancel safe.
33504 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33506         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33507         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33508         attribution.
33510         * pwd/tst-getpw.c: Rewrite.
33512         [BZ #17702]
33513         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33514         (modules-names): Add moddummy1 and moddummy2.
33515         ($(objpfx)tst-rec-dlopen): Define.
33516         * dlfcn/moddummy1.c: New file.
33517         * dlfcn/moddummy2.c: New file.
33518         * dlfcn/tst-rec-dlopen.c: New file.
33519         * elf/dl-cache.c (_dl_load_cache_lookup):
33520         Return char*. Copy result with alloca/strcpy/strdup.
33521         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33522         returns char*. Free cached. If not saving realname
33523         free cached.
33524         * elf/dl-open.c (dl_open_worker): Do not assert that
33525         _r_debug->r_state is RT_CONSISTENT.
33526         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33527         returns char*.
33529 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33530             Carlos O'Donell  <carlos@redhat.com>
33532         [BZ #12674]
33533         * nptl/sem_waitcommon.c: New file.
33534         * nptl/sem_wait.c: Include sem_waitcommon.c.
33535         (__sem_wait_cleanup, do_futex_wait): Remove.
33536         (__new_sem_wait): Adapt.
33537         (__new_sem_trywait): New function.
33538         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33539         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33540         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33541         (sem_timedwait): Adapt.
33542         * nptl/sem_post.c (__new_sem_post): Adapt.
33543         (futex_wake): New function.
33544         (__old_sem_post): Add release MO fence.
33545         * nptl/sem_open.c (sem_open): Adapt.
33546         * nptl/sem_init.c (__new_sem_init): Adapt.
33547         (futex_private_if_supported): New function.
33548         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33549         (__old_sem_getvalue): Add using previous code.
33550         * sysdeps/nptl/internaltypes.h: Adapt.
33551         * nptl/tst-sem13.c (do_test): Adapt.
33552         * nptl/tst-sem11.c (main): Adapt.
33553         * nptl/sem_trywait.c: Remove.
33554         * nptl/DESIGN-sem.txt: Remove.
33555         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33556         (gen-as-const-headers): Remove structsem.sym.
33557         * nptl/structsem.sym: Remove.
33558         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33559         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33560         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33561         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33562         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33563         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33564         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33565         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33566         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33567         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33568         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33569         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33570         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33571         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33572         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33573         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33574         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33575         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33576         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33577         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33578         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33579         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33581 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33583         * INSTALL: Regenerated.
33585         * po/libc.pot: Regenerated.
33587 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33588             Sandra Loosemore  <sandra@codesourcery.com>
33589             Andrew Jenner  <andrew@codesourcery.com>
33590             Joseph Myers  <joseph@codesourcery.com>
33591             Nathan Sidwell  <nathan@codesourcery.com>
33593         * NEWS: Mention new Nios II port.
33594         * sysdeps/nios2/Implies: New file.
33595         * sysdeps/nios2/Makefile: New file.
33596         * sysdeps/nios2/Subdirs: New file.
33597         * sysdeps/nios2/Versions: New file.
33598         * sysdeps/nios2/__longjmp.S: New file.
33599         * sysdeps/nios2/abort-instr.h: New file.
33600         * sysdeps/nios2/backtrace.c: New file.
33601         * sysdeps/nios2/bits/endian.h: New file.
33602         * sysdeps/nios2/bits/fenv.h: New file.
33603         * sysdeps/nios2/bits/link.h: New file.
33604         * sysdeps/nios2/bits/setjmp.h: New file.
33605         * sysdeps/nios2/bsd-_setjmp.S: New file.
33606         * sysdeps/nios2/bsd-setjmp.S: New file.
33607         * sysdeps/nios2/configure: New generated file.
33608         * sysdeps/nios2/configure.ac: New file.
33609         * sysdeps/nios2/crti.S: New file.
33610         * sysdeps/nios2/crtn.S: New file.
33611         * sysdeps/nios2/dl-init.c: New file.
33612         * sysdeps/nios2/dl-machine.h: New file.
33613         * sysdeps/nios2/dl-sysdep.h: New file.
33614         * sysdeps/nios2/dl-tls.h: New file.
33615         * sysdeps/nios2/dl-trampoline.S: New file.
33616         * sysdeps/nios2/gccframe.h: New file.
33617         * sysdeps/nios2/gmp-mparam.h: New file.
33618         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33619         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33620         * sysdeps/nios2/ldsodefs.h: New file.
33621         * sysdeps/nios2/libc-tls.c: New file.
33622         * sysdeps/nios2/libm-test-ulps: New file.
33623         * sysdeps/nios2/machine-gmon.h: New file.
33624         * sysdeps/nios2/math-tests.h: New file.
33625         * sysdeps/nios2/math_private.h: New file.
33626         * sysdeps/nios2/memusage.h: New file.
33627         * sysdeps/nios2/nptl/Makefile: New file.
33628         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33629         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33630         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33631         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33632         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33633         * sysdeps/nios2/nptl/tls.h: New file.
33634         * sysdeps/nios2/preconfigure: New file.
33635         * sysdeps/nios2/s_fma.c: New file.
33636         * sysdeps/nios2/s_fmaf.c: New file.
33637         * sysdeps/nios2/setjmp.S: New file.
33638         * sysdeps/nios2/sfp-machine.h: New file.
33639         * sysdeps/nios2/sotruss-lib.c: New file.
33640         * sysdeps/nios2/stackguard-macros.h: New file.
33641         * sysdeps/nios2/stackinfo.h: New file.
33642         * sysdeps/nios2/start.S: New file.
33643         * sysdeps/nios2/sysdep.h: New file.
33644         * sysdeps/nios2/tls-macros.h: New file.
33645         * sysdeps/nios2/tst-audit.h: New file.
33646         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33647         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33648         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33649         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33650         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33651         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33652         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33653         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33654         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33655         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33656         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33657         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33658         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33659         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33660         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33661         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33662         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33663         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33664         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33665         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33666         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33667         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33668         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33669         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33670         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33671         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33672         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33673         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33674         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33675         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33676         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33677         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33678         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33679         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33680         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33681         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33682         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33683         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33684         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33685         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33686         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33687         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33688         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33689         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33691 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33693         [BZ #17844]
33694         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33695         (getutent): Use weak_alias in non SHARED case
33696         and default_symbol_version in SHARED case.
33697         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33698         (getutent_r, pututline): Likewise.
33699         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33700         (getutid): Likewise.
33701         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33702         (getutid_r): Likewise.
33703         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33704         (getutline): Likewise.
33705         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33706         (getutline_r): Likewise.
33707         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33708         (updwtmp): Likewise.
33710 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33712         [BZ #17848]
33713         * sysdeps/s390/s390-32/memcmp.S
33714         (memcmp_g5): Rename to __memcmp_g5.
33715         * sysdeps/s390/s390-32/memcpy.S
33716         (memcpy_g5): Rename to __memcpy_g5.
33717         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33718         (memcpy_mvcle) Rename to __memcpy_mvcle.
33719         * sysdeps/s390/s390-32/memset.S
33720         (memset_g5): Rename to __memset_g5.
33721         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33722         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33723         and use prefixed functions.
33724         * sysdeps/s390/s390-32/multiarch/memcmp.S
33725         (memcmp_z196): Rename to __memcmp_z196.
33726         (memcmp_z10): Rename to __memcmp_z10.
33727         (memcmp): Set alias to __memcmp_g5.
33728         (bcmp): Set alias to __memcmp_g5.
33729         * sysdeps/s390/s390-32/multiarch/memcpy.S
33730         (memcpy_z196): Rename to __memcpy_z196.
33731         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33732         (memcpy_z10): Rename to __memcpy_z10.
33733         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33734         (memcpy): Set alias to __memcpy_g5.
33735         * sysdeps/s390/s390-32/multiarch/memset.S
33736         (memset_z196): Rename to __memset_z196.
33737         Jump to __memset_mvcle instead of memset_mvcle.
33738         (memset_z10): Rename to __memset_z10.
33739         Jump to __memset_mvcle instead of memset_mvcle.
33740         (memset_mvcle) Rename to __memset_mvcle.
33741         (memset): Set alias to __memset_g5.
33742         * sysdeps/s390/s390-64/memcmp.S
33743         (memcmp_z900): Rename to __memcmp_z900.
33744         * sysdeps/s390/s390-64/memcpy.S
33745         (memcpy_z900): Rename to __memcpy_z900.
33746         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33747         (memcpy_mvcle) Rename to __memcpy_mvcle.
33748         * sysdeps/s390/s390-64/memset.S
33749         (memset_z900): Rename to __memset_z900.
33750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33751         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33752         and use prefixed functions.
33753         * sysdeps/s390/s390-64/multiarch/memcmp.S
33754         (memcmp_z196): Rename to __memcmp_z196.
33755         (memcmp_z10): Rename to __memcmp_z10.
33756         (memcmp): Set alias to __memcmp_z900.
33757         (bcmp): Set alias to __memcmp_z900.
33758         * sysdeps/s390/s390-64/multiarch/memcpy.S
33759         (memcpy_z196): Rename to __memcpy_z196.
33760         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33761         (memcpy_z10): Rename to __memcpy_z10.
33762         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33763         (memcpy): Set alias to __memcpy_z900.
33764         * sysdeps/s390/s390-64/multiarch/memset.S
33765         (memset_z196): Rename to __memset_z196.
33766         Jump to __memset_mvcle instead of memset_mvcle.
33767         (memset_z10): Rename to __memset_z10.
33768         Jump to __memset_mvcle instead of memset_mvcle.
33769         (memset_mvcle) Rename to __memset_mvcle.
33770         (memset): Set alias to __memset_z900.
33772 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33774         [BZ #17748]
33775         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33776         __fesetenv instead of fesetenv.
33778 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33780         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33781         macro.
33783 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33785         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33786         regression on LE.
33788         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33789         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33790         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33791         strncmp-power8 object.
33792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33793         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33794         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33795         * NEWS: Update.
33797 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33798             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33800         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33801         trailing byte check.
33803 2015-01-13  David S. Miller  <davem@davemloft.net>
33805         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33807 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33809         * login/logout.c (logout): Use memset rather than bzero.
33810         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33811         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33812         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33813         (_gethtbyaddr): Likewise.
33814         * locale/programs/simple-hash.c (bcopy): Macro removed.
33816 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33818         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33819         Add strcmp-power8 object.
33820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33821         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33822         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33823         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33824         __strcmp_power8 implementation.
33825         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33826         * NEWS: Update.
33828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33829         Add strncpy-power8 and stpncpy-power8 objects.
33830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33831         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33832         implementations.
33833         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33834         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33835         __stpncpy_power8 implementation.
33836         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33837         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33838         __strncpy_power8 implementation.
33839         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33840         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33841         * NEWS: Update.
33843         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33844         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33845         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33847         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33848         strncat-power8 object.
33849         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33850         __strcat_power8 implementation.
33851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33852         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33853         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33854         optimized strcat for power8.
33856         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33857         strcpy-power8 and stpcpy-power8 objects.
33858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33859         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33860         implementations.
33861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33862         multiarch stpcpy implementation for POWER8.
33863         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33864         multiarch strcpy implementation for POWER8.
33865         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33866         __strcpy_power8 function.
33867         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33868         stpcpy for POWER8.
33869         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33870         strcpy for POWER8.
33871         * NEWS: Update.
33873 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33875         [BZ #16009]
33876         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33877         weights and rules. Use do_xfrm_cached if data fits in cache,
33878         do_xfrm otherwise.  Moved former main loop to...
33879         * (do_xfrm_cached): New function.
33880         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33881         find_idx, find_position and stack_push.
33882         * (find_idx): New function.
33883         * (find_position): Likewise.
33884         * localedata/sort-test.sh: Added test run for do_xfrm.
33885         * localedata/xfrm-test.c (main): Added command line option
33886         -nocache to run the test with strings that are too large for
33887         the STRXFRM cache.
33889 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33891         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33892         variable to lll_futex_wake call, not the value itself.
33894 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33896         [BZ #17803]
33897         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33898         twom64.  Adjust value to 0x1p-64L.
33899         (__scalblnl): Only return standard underflowing result for K <=
33900         -64 not K <= -63; adjust exponent for underflowing result by 64
33901         not 63.
33902         * math/libm-test.inc (scalbn_test_data): Add more tests.
33903         (scalbln_test_data): Likewise.
33905         [BZ #17834]
33906         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33907         0x1p63L.
33908         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33909         not HX.
33910         * math/libm-test.inc (scalbn_test_data): Add more tests.
33911         (scalbln_test_data): Likewise.
33913 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33914             Stefani Seibold  <stefani@seibold.net>
33916         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33917         (sysdep_routines): Add dl-vdso here, ...
33918         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33919         (sysdep_routines): ... not here.
33920         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33921         fallback when vDSO is not presented.
33922         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33923         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33924         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33925         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33926         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33927         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33928         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33929         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33930         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33932         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33933         fallback configurable symbol when vDSO is not available.
33934         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33935         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33936         be able to redefine fallback symbol when vDSO is not available.
33937         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33938         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33940 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33942         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33943         (TLS_INIT_TP): Add tm_capable initialization.
33944         (TLS_DEFINE_INIT_TP): Likewise.
33945         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33946         TCB.
33947         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33948         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33949         calculation.
33950         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33951         transactoion is lock elision is built and TCB tm_capable is set.
33952         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33954         (INTERNAL_SYSCALL_NCS): Likewise.
33955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33956         (INTERNAL_SYSCALL_NCS): Likewise.
33957         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33959         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33960         for powerpc.
33961         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33962         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33963         and remove it for 32 bits case.
33964         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33966         initialization.
33967         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33968         Disable lock elision with rdlocks if elision is not available.
33970         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33971         (sysdep_routines): Add lock elision objects.
33972         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33973         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33974         [pthread_mutex_t] (__elision): Add field.
33975         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33976         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33977         elision definitions for powerpc.
33978         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33979         implementation of lock elision for powerpc.
33980         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33981         implementation of timed lock elision for powerpc.
33982         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33983         implementation of trylock with lock elision for powerpc.
33984         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33985         implementaion of unlock for lock elision for powerpc.
33986         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33987         automatic enable lock elision for mutexes.
33988         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33989         transaction execution definitions for powerpc.
33990         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33991         definitions.
33992         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33993         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33994         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33995         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33996         * NEWS: Update.
33998 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34000         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34001         for #include of <shm-directory.h>.
34003 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34005         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34006         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34008 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34010         [BZ #17791]
34011         * NEWS: Mention bug fix.
34012         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34013         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34014         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34016 2015-01-09  Torvald Riegel <triegel@redhat.com>
34018         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34020 2015-01-09  Torvald Riegel <triegel@redhat.com>
34022         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34024 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34026         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34027         pointer and cast to uintptr_t.
34029 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34031         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34032         removed.
34033         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34035 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34037         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34038         of 0.
34040 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34042         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34043         <nptl/pthreadP.h> instead.
34044         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34046         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34047         already defined.
34048         [__SIGRTMIN] (init): Function removed.
34049         [__SIGRTMIN] (initialized): Variable removed.
34050         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34051         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34052         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34053         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34054         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34055         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34056         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34057         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34058         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34059         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34060         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34061         * sysdeps/nptl/allocrtsig.c: New file.
34062         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34063         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34064         * sysdeps/generic/testrtsig.h: File removed.
34066         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34067         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34069         * nptl/nptl-init.c (pthread_functions): Conditionalize
34070         .ptr__nptl_setxid initialization on [SIGSETXID].
34072         * sysdeps/nptl/sys/procfs.h: New file.
34073         * nptl_db/Makefile (headers): Add it.
34074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34076         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34077         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34078         * nptl/pthread_attr_setaffinity.c: Include it.
34079         * nptl/pthread_setattr_default_np.c: Likewise.
34080         * nptl/check-cpuset.h: New file.
34082 2015-01-08  Richard Henderson  <rth@redhat.com>
34084         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34085         (CFLAGS-tst-execstack-prog.c): Likewise.
34086         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34088 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34089             Sandra Loosemore  <sandra@codesourcery.com>
34090             Andrew Jenner  <andrew@codesourcery.com>
34091             Joseph Myers  <joseph@codesourcery.com>
34092             Nathan Sidwell  <nathan@codesourcery.com>
34094         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34095         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34096         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34097         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34098         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34099         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34100         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34101         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34102         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34103         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34104         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34105         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34106         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34107         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34108         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34109         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34110         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34112 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34114         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34115         timespec struct member in syscall macro.
34116         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34117         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34118         first timeval struct member in syscall macro.
34119         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34121 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34123         [BZ #17748]
34124         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34125         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34126         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34127         __feupdateenv and define as weak alias of __feupdateenv.  Use
34128         libm_hidden_weak.
34129         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34130         libm_hidden_def.
34131         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34132         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34133         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34134         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34135         libm_hidden_def.
34136         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34137         __feupdateenv and define as weak alias of __feupdateenv.  Use
34138         libm_hidden_weak.
34139         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34140         libm_hidden_def.
34141         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34142         __feupdateenv and define as weak alias of __feupdateenv.  Use
34143         libm_hidden_weak.
34144         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34145         libm_hidden_def.
34146         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34147         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34148         (__feupdateenv): Likewise.
34149         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34150         __feupdateenv and define as weak alias of __feupdateenv.  Use
34151         libm_hidden_weak.
34152         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34153         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34154         libm_hidden_def.
34155         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34156         function.
34157         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34158         libm_hidden_def.
34159         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34160         __feupdateenv instead of feupdateenv.
34161         (default_libc_feupdateenv_test): Likewise.
34162         (libc_feresetround_ctx): Likewise.
34164 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34166         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34167         prototype.
34169 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34171         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34172         COLL_SYM in a couple of places to avoid uninitialized variable
34173         wanings on tilegx gcc 4.8.2.
34175 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34177         * sysdeps/aarch64/strcpy.S: New file.
34178         * sysdeps/aarch64/stpcpy.S: New file.
34179         * NEWS: Updated.
34181 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34183         * sysdeps/aarch64/strrchr.S: New file.
34184         * NEWS: Updated.
34186 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34188         [BZ #17658]
34189         * stdlib/setenv.c: Fix memory leak when setting large,
34190         duplicate string.
34192 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34194         [BZ #17273]
34195         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34196         and tabs from buffer before parsing fstab entry.
34197         * misc/tst-mntent.c (main): Add test for mount entry with
34198         trailing spaces and tabs.
34200 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34202         [BZ #17748]
34203         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34204         * math/fesetround.c (fesetround): Rename to __fesetround and
34205         define as weak alias of __fesetround.  Use libm_hidden_weak.
34206         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34207         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34208         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34209         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34210         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34211         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34212         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34213         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34214         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34215         __fesetround_inline.
34216         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34217         __fesetround_inline instead of __fesetround.
34218         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34219         __fesetround and define as weak alias of __fesetround.  Use
34220         libm_hidden_weak.  Call __fesetround_inline instead of
34221         __fesetround.
34222         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34223         __fesetround and define as weak alias of __fesetround.  Use
34224         libm_hidden_weak.
34225         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34226         Likewise.
34227         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34228         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34229         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34230         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34231         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34232         __fesetround and define as weak alias of __fesetround.  Use
34233         libm_hidden_weak.
34234         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34235         __fesetround instead of fesetround.
34236         (default_libc_feholdexcept_setround): Likewise.
34237         (libc_feholdsetround_ctx): Likewise.
34238         (libc_feholdsetround_noex_ctx): Likewise.
34240         [BZ #17748]
34241         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34242         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34243         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34244         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34245         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34246         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34247         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34248         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34249         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34250         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34251         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34252         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34253         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34254         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34255         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34256         libm_hidden_def.
34257         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34258         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34259         Likewise.
34260         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34261         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34262         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34263         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34264         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34265         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34266         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34267         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34268         __fesetenv instead of fesetenv.
34269         (libc_feresetround_noex_ctx): Likewise.
34270         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34271         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34272         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34273         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34274         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34275         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34276         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34277         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34278         (__feupdateenv): Likewise.
34279         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34280         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34281         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34282         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34284 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34286         [BZ #17806]
34287         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34288         addresses have been freed.
34290 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34292         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34293         and nservall.
34295 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34297         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34298         Clean up check_pf allocation pattern. addresses
34300 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34302         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34303         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34304         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34305         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34306         * nptl/pthread_join.c (pthread_join): Likewise.
34307         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34308         * sysdeps/posix/waitid.c (__waitid): Likewise.
34309         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34310         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34311         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34312         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34314         Likewise.
34315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34316         (__libc_pread64): Likewise.
34317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34318         (__libc_pwrite): Likewise.
34319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34320         (__libc_pwrite64): Likewsie.
34321         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34322         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34323         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34324         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34325         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34326         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34327         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34329         Likewise.
34330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34331         (__libc_pread64): Likewise.
34332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34333         Likewise.
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34335         (__libc_pwrite64): Likewise.
34336         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34337         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34338         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34339         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34340         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34341         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34342         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34343         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34344         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34345         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34346         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34347         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34348         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34349         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34350         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34352         Likewise.
34354 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34356         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34357         (CFLAGS-test-double.c): Likewise.
34358         (CFLAGS-test-ldouble.c): Likewise.
34359         (CPPFLAGS-test-ifloat.c): Likewise.
34360         (CPPFLAGS-test-idouble.c): Likewise.
34361         (CPPFLAGS-test-ildoubl.c): Likewise.
34362         (CFLAGS-test-test-fenv.c): Remove variable.
34363         (CFLAGS-test-misc.c): Likewise.
34365 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34367         [BZ #17797]
34368         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34369         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34370         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34371         CLOCKS_PER_SEC == 1000000.
34372         * time/clocktest.c (main): Replace %ld with %jd and cast to
34373         intmax_t.
34375 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34377         * sysdeps/generic/unwind-resume.h: New file.
34378         * sysdeps/gnu/unwind-resume.c: Include it.
34379         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34380         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34381         argument list.
34382         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34383         global rather than static.
34384         (_Unwind_Resume): Update user.
34385         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34386         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34387         rather than static.  Add __attribute__ ((cold)).
34388         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34389         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34390         * sysdeps/arm/arm-unwind-resume.S: New file.
34391         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34392         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34393         * sysdeps/arm/Makefile [$(subdir) = csu]
34394         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34395         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34396         Add rt-arm-unwind-resume.
34397         [$(subdir) = nptl]
34398         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34399         Add pt-arm-unwind-resume.
34400         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34401         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34403 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34405         [BZ #17748]
34406         * include/fenv.h (__feholdexcept): Declare.  Use
34407         libm_hidden_proto.
34408         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34409         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34410         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34411         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34412         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34413         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34414         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34415         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34416         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34417         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34418         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34419         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34420         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34421         (feholdexcept): Likewise.
34422         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34423         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34424         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34425         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34426         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34427         __feholdexcept instead of feholdexcept.
34428         (default_libc_feholdexcept_setround): Likewise.
34430 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34432         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34433         to avoid using stl/str to align destination.
34435 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34437         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34439 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34441         [BZ #17796]
34442         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34443         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34444         Define as weak alias not strong alias.
34446 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34448         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34449         bltzal with addiupc.
34450         (RTLD_START): Ditto.
34452 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34454         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34455         for __vdso_* functions in declarations.
34456         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34457         definitions.
34458         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34459         INTERNAL_VSYSCALL): Use struct return types to check for error.
34461         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34462         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34463         function with cast from llround().
34464         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34465         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34466         Define.
34468 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34470         [BZ #17793]
34471         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34472         Define as weak alias not strong alias.
34474         [BZ #17635]
34475         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34476         ...
34477         * ctype/ctype-extn.c: ... here.
34478         (__isblank_l): Move to ...
34479         * ctype/ctype-c99_l.c: ... here.  New file.
34480         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34481         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34482         Remove variable.
34483         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34484         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34485         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34486         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34487         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34489         [BZ #17777]
34490         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34491         (posix_fadvise64): Define as weak alias not strong alias.
34492         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34493         (posix_fallocate64): Likewise.
34494         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34495         Remove variable.
34496         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34497         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34498         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34499         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34500         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34502 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34504         [BZ #16191]
34505         * NEWS: Mention bug fix.
34506         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34507         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34508         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34509         (HOST_STACK_END_ADDR): Likewise.
34511 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34513         [BZ #17748]
34514         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34515         * math/fegetround.c (fegetround): Rename to __fegetround and
34516         define as weak alias of __fegetround.  Use libm_hidden_weak.
34517         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34518         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34519         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34520         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34521         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34522         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34523         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34524         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34525         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34526         Undefine after rather than before function definition; use
34527         parentheses around function name in definition.
34528         (__fegetround): Also undefine macro after function definition.
34529         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34530         __fegetround and define as weak alias of __fegetround.  Use
34531         libm_hidden_weak.  Do not undefine as macro.
34532         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34533         Likewise.
34534         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34535         __fegetround and define as weak alias of __fegetround.  Use
34536         libm_hidden_weak.
34537         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34538         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34539         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34540         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34541         __fegetround and define as weak alias of __fegetround.  Use
34542         libm_hidden_weak.
34543         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34544         __fegetround instead of fegetround.
34546         [BZ #17782]
34547         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34548         Condition macro definition on [__USE_MISC].
34550         [BZ #17781]
34551         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34552         (struct sigaction): Change type of sa_flags field to int.
34554         [BZ #17780]
34555         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34556         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34557         __glibc_reserved0.
34559         * nptl/version.c (banner): Use single year in copyright notice.
34561         * NEWS: Update copyright dates.
34562         * catgets/gencat.c (print_version): Likewise.
34563         * csu/version.c (banner): Likewise.
34564         * debug/catchsegv.sh: Likewise.
34565         * debug/pcprofiledump.c (print_version): Likewise.
34566         * debug/xtrace.sh (do_version): Likewise.
34567         * elf/ldconfig.c (print_version): Likewise.
34568         * elf/ldd.bash.in: Likewise.
34569         * elf/pldd.c (print_version): Likewise.
34570         * elf/sotruss.sh: Likewise.
34571         * elf/sprof.c (print_version): Likewise.
34572         * iconv/iconv_prog.c (print_version): Likewise.
34573         * iconv/iconvconfig.c (print_version): Likewise.
34574         * locale/programs/locale.c (print_version): Likewise.
34575         * locale/programs/localedef.c (print_version): Likewise.
34576         * login/programs/pt_chown.c (print_version): Likewise.
34577         * malloc/memusage.sh (do_version): Likewise.
34578         * malloc/memusagestat.c (print_version): Likewise.
34579         * malloc/mtrace.pl: Likewise.
34580         * manual/libc.texinfo: Likewise.
34581         * nptl/version.c (banner): Likewise.
34582         * nscd/nscd.c (print_version): Likewise.
34583         * nss/getent.c (print_version): Likewise.
34584         * nss/makedb.c (print_version): Likewise.
34585         * posix/getconf.c (main): Likewise.
34586         * scripts/test-installation.pl: Likewise.
34587         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34589 2015-01-02  Will Newton  <will.newton@linaro.org>
34591         * sysdeps/arm/armv7/configure: Removed.
34592         * sysdeps/arm/armv7/configure.ac: Likewise.
34594 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34596         * All files with FSF copyright notices: Update copyright dates
34597         using scripts/update-copyrights.
34598         * intl/plural.c: Regenerated.
34599         * locale/programs/charmap-kw.h: Likewise.
34600         * locale/programs/locfile-kw.h: Likewise.
34602 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34604         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34606 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34608         [BZ #17748]
34609         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34610         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34611         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34612         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34613         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34614         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34615         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34616         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34617         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34618         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34619         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34620         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34621         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34622         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34623         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34624         libm_hidden_def.
34625         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34626         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34627         Likewise.
34628         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34629         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34630         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34631         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34632         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34633         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34634         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34635         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34636         __fegetenv instead of fegetenv.
34637         (libc_feholdsetround_noex_ctx): Likewise.
34639 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34641         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34642         (Elf_MIPS_ABIFlags_v0): New structure.
34643         (EF_MIPS_FP64): Define.
34644         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34645         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34646         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34647         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34648         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34649         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34650         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34651         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34652         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34653         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34654         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34655         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34656         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34657         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34658         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34659         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34660         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34661         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34662         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34663         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34664         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34665         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34666         field.
34667         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34668         EF_MIPS_FP64.
34669         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34670         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34671         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34672         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34673         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34674         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34675         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34676         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34677         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34678         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34679         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34680         record the current FP ABI extension.
34681         (mips-mode-switch): Define to show if kernel headers support mode
34682         switching.
34683         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34684         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34685         supported SYSV ABI version to 3.
34686         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34687         feature.
34689 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34690             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34692         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34693         path.
34694         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34696 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34698         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34699         __fegetround and redefine to call __fegetround.  Remove condition
34700         on [!__NO_MATH_INLINES].
34701         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34702         function.
34703         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34704         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34705         Remove macro.
34706         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34707         instead of <fenv_libc.h>.
34708         (__llrintl): Call fegetround instead of __fegetround.
34709         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34710         instead of <fenv_libc.h>.
34711         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34712         (__lrintl): Call fegetround instead of __fegetround.
34713         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34714         instead of <fenv_libc.h>.
34715         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34716         (__rintl): Call fegetround instead of __fegetround.
34718 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34720         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34721         arrays.
34723 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34725         [BZ #17775]
34726         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34727         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34728         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34730 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34732         * sysdeps/i386/tls-macros.h: Include <features.h>.
34733         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34734         (TLS_IE): Likewise.
34735         (TLS_LD): Likewise.
34736         (TLS_GD): Likewise.
34737         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34738         define for GCC >= 5.0.
34740 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34742         * math/test-fenv.c (test_single_exception, set_single_exc,
34743         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34744         feexcp_mask_test, feenable_test, fe_single_test): Add
34745         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34746         case where they are not used.
34747         * math/libm-test.inc: Likewise.
34748         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34749         unused in the absence of FP rounding/exception support.
34750         * stdio-common/tst-printf-round.c: Likewise.
34751         * stdlib/tst-strtod-round.c: Likewise.
34752         * stdlib/tst-strtod-underflow.c: Likewise.
34754 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34756         [BZ #17723]
34757         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34758         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34759         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34760         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34761         libm_hidden_weak.
34762         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34763         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34764         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34765         libm_hidden_def.
34766         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34767         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34768         libm_hidden_weak.
34769         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34770         Likewise.
34771         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34772         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34773         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34774         libm_hidden_weak.
34775         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34776         libm_hidden_def.
34777         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34778         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34779         (__feraiseexcept): Likewise.
34780         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34781         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34782         libm_hidden_weak.
34783         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34784         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34785         libm_hidden_def.
34786         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34787         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34788         Use libm_hidden_def.
34789         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34790         libm_hidden_def.
34791         (feraiseexcept): Define as weak not strong alias.  Use
34792         libm_hidden_weak.
34793         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34794         New inline function.  Factored out of ...
34795         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34796         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34797         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34798         feraiseexcept.
34799         * math/w_acos.c (__acos): Likewise.
34800         * math/w_asin.c (__asin): Likewise.
34801         * math/w_ilogb.c (__ilogb): Likewise.
34802         * math/w_j0.c (y0): Likewise.
34803         * math/w_j1.c (y1): Likewise.
34804         * math/w_jn.c (yn): Likewise.
34805         * math/w_log.c (__log): Likewise.
34806         * math/w_log10.c (__log10): Likewise.
34807         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34808         * sysdeps/aarch64/fpu/math_private.h
34809         (libc_feupdateenv_test_aarch64): Likewise.
34810         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34811         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34812         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34813         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34814         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34815         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34816         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34817         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34818         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34819         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34821 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34823         [BZ #17732]
34824         * io/test-utime.c (main): Replace %ld with %jd and cast to
34825         intmax_t.
34826         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34827         * nptl/tst-mutex5.c: Include <stdint.h>.
34828         (do_test): Replace %ld with %jd and cast to intmax_t.
34829         * posix/tst-regex.c (run_test): Likewise.
34830         (run_test_backwards): Likewise.
34831         * rt/tst-clock.c: Include <stdint.h>.
34832         (clock_test): Replace %ld with %jd and cast to intmax_t.
34833         * rt/tst-cpuclock1.c: Include <stdint.h>.
34834         (do_test): Replace %lu with %ju and cast to uintmax_t.
34835         * rt/tst-cpuclock2.c: Include <stdint.h>.
34836         (do_test): Replace %lu with %ju and cast to uintmax_t.
34837         * rt/tst-mqueue1.c: Include <stdint.h>.
34838         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34839         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34840         intmax_t.
34841         * rt/tst-mqueue4.c (do_test): Likewise.
34842         * rt/tst-timer4.c: Include <stdint.h>.
34843         (check_ts): Replace %ld with %jd and cast to intmax_t.
34844         (do_test): Likewise.
34845         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34846         and cast to intmax_t.
34847         * sysdeps/pthread/tst-timer.c (main): Likewise.
34848         * time/clocktest.c (main): Likewise.
34849         * time/tst-posixtz.c (do_test): Likewise.
34850         * timezone/tst-timezone.c (main): Likewise.
34852 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34853             H.J. Lu  <hongjiu.lu@intel.com>
34855         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34856         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34857         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34858         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34859         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34860         version if bit_Fast_Unaligned_Load is set.
34861         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34862         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34863         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34864         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34865         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34866         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34867         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34868         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34869         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34870         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34871         to 4.
34872         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34873         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34874         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34875         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34877 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34879         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34880         instead of #if to avoid a Wundef warning.
34881         * stdlib/tst-limits.c (do_test): Likewise.
34883         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34884         parallel other exception macros.
34885         (fegetenv): Convert from macro to extern inline so that it applies
34886         retroactively to inline functions already seen by the compiler.
34887         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34889         * posix/Makefile (before-compile): Use $(objpfx) for
34890         posix-conf-vars-def.h.
34892 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34894         * posix/getconf.c (main): Use size_t for type of I.
34895         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34896         NSPEC.
34898         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34899         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34900         * posix/posix-envs.def: Likewise.
34901         * sysdeps/posix/sysconf.c: Likewise.
34902         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34903         (specs): Remove array.
34904         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34905         array.
34907         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34908         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34909         (__sysconf): Use CONF_IS_* macros.
34911         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34912         ($(objpfx)posix-conf-vars-def.h): New target.
34913         * posix/posix-conf-vars.list: New file.
34914         * posix/posix-conf-vars.h: New file.
34915         * posix/confstr.c: Include posix-conf-vars.h.
34916         (confstr): Use CONF_IS_* macros.
34917         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34918         CONF_IS_* macros.
34919         * scripts/gen-posix-conf-vars.awk: New file.
34921 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34923         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34924         fegetround): Add no-op macros to avoid linknamespace issues.
34926         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34927         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34929         * sysdeps/unix/sysv/linux/tile/sysdep.h
34930         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34931         assembly-specific section to avoid a redefinition warning.
34933         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34934         long before casting to pointer to avoid a cast warning.
34936 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34938         * sysdeps/tile/tilegx/Implies: New file.
34940 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34942         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34944 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34946         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34948 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34951         not define.
34952         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34953         <kernel-features.h>.
34954         (__utimes) [__NR_utimes]: Make code unconditional.
34955         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34956         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34957         (__ASSUME_UTIMES): Do not undefine.
34958         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34959         (__ASSUME_UTIMES): Likewise.
34960         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34961         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34962         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34963         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34965 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34967         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34969 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34971         [BZ #17747]
34972         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34973         alias to weak alias for j0l, y0l.
34974         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34975         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34977         [BZ #17746]
34978         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34979         conversion.
34981 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34983         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34984         to zero if not already defined.
34986 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34988         [BZ #17724]
34989         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34990         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34991         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34992         (char *) casts added.
34993         * sysdeps/ieee754/k_standardf.c: New file.
34994         * sysdeps/ieee754/k_standardl.c: Likewise.
34995         * math/Makefile (libm-support): Remove k_standard.
34996         (libm-calls): Add k_standard.
34998 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35000         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35001         Optimize to avoid an unnecessary FPCR read.
35003 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35005         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35006         Optimize to reduce FPCR/FPSR accesses.
35008 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35010         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35011         Call libc_fetestexcept_aarch64.
35013 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35015         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35016         Call libc_fesetround_aarch64.
35018 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35020         [BZ #17733]
35021         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35022         (__bind): Do not define as weak alias.
35023         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35024         define.
35025         (__getsockname): Do not define as weak alias.
35027 2014-12-22  Will Newton  <will.newton@linaro.org>
35029         * manual/install.texi: Document that we require bison 2.7
35030         or above.
35031         * INSTALL: Regenerate.
35032         * configure.ac: Use AC_CHECK_PROG_VER instead of
35033         AC_PATH_PROG when checking for bison and check for
35034         version 2.7 or above.
35035         * configure: Regenerate.
35037 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35039         [BZ #17745]
35040         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35041         * sysdeps/tile/ffsll.c (ffsll): To here.
35043         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35045 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35047         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35048         if not defined.
35049         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35050         definition.
35051         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35052         hidden ___tls_get_addr.
35053         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35054         hidden __tls_get_addr.
35055         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35056         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35057         Likewise.
35059 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35061         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35062         _dl_init call.
35064 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35066         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35067         from "call _dl_init@PLT".
35068         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35070 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35072         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35073         guarantees.
35075 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35077         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35079 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35081         [BZ #17744]
35082         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35083         strnlen.
35085 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35087         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35088         of multu on MIPSr6.
35089         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35090         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35091         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35092         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35093         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35095 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35097         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35098         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35099         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35100         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35101         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35102         mips32r6/mips64r6.
35103         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35105 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35107         * string/strncat.c (STRNCAT): Simplify implementation.
35109 2014-12-19  David S. Miller  <davem@davemloft.net>
35111         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35112         access the quad as both a long double and as a series of 4 words.
35114         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35115         link_map->l_info array access.
35117 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35119         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35121         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35122         * math/atest-exp2.c (TIMEOUT): Likewise.
35123         * math/atest-sincos.c (TIMEOUT): Likewise.
35125 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35127         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35128         -Wno-error with -fno-builtin-lround.
35130 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35132         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35133         Contains futex constants and functions moved over from ...
35134         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35135         <lowlevellock-futex.h>.
35136         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35137         (lll_timedwait_tid): Add comments and parentheses around macro
35138         arguments.
35140 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35142         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35143         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35144         (__lll_private_flag): Remove.
35145         (lll_futex_wait): Likewise.
35146         (lll_futex_timed_wait): Likewise.
35147         (lll_futex_wake): Likewise.
35148         (lll_futex_requeue): Likewise.
35149         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35150         (__lll_timedwait_tid): Spell out argument names.
35151         (lll_timedwait_tid): Add comments and parentheses around macro
35152         arguments.
35153         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35154         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35156 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35158         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35159         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35160         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35161         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35162         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35163         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35164         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35165         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35166         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35170         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35171         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35172         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35173         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35174         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35175         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35176         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35178 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35180         * sysdeps/x86_64/x32/Makefile: New file.
35182 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35184         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35185         1L with (mp_limb_t) 1.
35187 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35189         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35190         * nptl/libc_pthread_init.c: ... here.
35191         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35192         * nptl/register-atfork.c: ... here.
35194         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35195         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35196         Use assert_perror to check its return value.
35197         (__gai_create_helper_thread): Likewise.
35199         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35201         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35203 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35205         [BZ #17725]
35206         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35207         __profil_counter.
35208         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35209         Likewise.
35210         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35211         Likewise.
35212         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35213         Likewise.
35214         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35215         (profil_counter): Likewise.
35216         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35217         (profil_counter): Likewise.
35218         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35219         Likewise.
35220         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35221         Likewise.
35222         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35223         (profil_counter): Likewise.
35224         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35225         Likewise.
35226         [!__profil_counter] (profil_counter): Define as weak alias of
35227         __profil_counter.
35228         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35229         (profil_counter): Rename to __profil_counter.
35230         [!__profil_counter] (profil_counter): Define as weak alias of
35231         __profil_counter.
35232         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35233         (profil_counter): Rename to __profil_counter.
35234         [!__profil_counter] (profil_counter): Define as weak alias of
35235         __profil_counter.
35236         * sysdeps/posix/profil.c: Update comment referring to
35237         profil_counter.
35238         (__profil): Use __profil_counter instead of profil_counter.
35239         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35240         __profil_counter.  Use __profil_counter_ushort and
35241         __profil_counter_uint in definitions.
35242         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35243         instead of profil_counter_uint and profil_counter_ushort.
35245         [BZ #17722]
35246         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35247         define as weak alias of __inet_makeaddr.
35248         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35249         as weak alias of __inet_addr.
35250         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35251         as weak alias of __inet_pton.  Use libc_hidden_weak.
35252         * include/arpa/inet.h (__inet_pton): Declare.  Use
35253         libc_hidden_proto.
35254         (inet_makeaddr): Don't use libc_hidden_proto.
35255         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35256         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35257         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35258         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35259         Remove variable.
35260         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35261         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35263 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35265         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35267 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35269         * stdio-common/bug-vfprintf-nargs.c (do_test):
35270         Cast value to intptr_t to avoid format warning
35271         for usage with PRIdPTR printing macro.
35273 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35275         * libio/tst-widetext.c (do_test):
35276         Use format type %td instead of %Zd for ptrdiff_t
35277         in order to avoid format warning.
35279 2014-12-17  Andreas Schwab  <schwab@suse.de>
35281         * nscd/mem.c (gc): Add size_t cast to match printf format.
35283 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35285         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35286         (init): Apply PTR_MANGLE to pointers before storing them.
35287         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35288         before using them.
35290 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35292         [BZ #17719]
35293         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35294         define as weak alias of __memrchr.
35295         (__memrchr): Do not define as strong alias of memrchr.
35296         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35297         Remove variable.
35298         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35299         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35300         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35302         [BZ #17717]
35303         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35304         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35305         (if_indextoname): Rename to __if_indextoname and define as weak
35306         alias of __if_indextoname.  Use libc_hidden_weak.
35307         (if_freenameindex): Rename to __if_freenameindex and define as
35308         weak alias of __if_freenameindex.
35309         (if_nameindex): Rename to __if_nameindex and define as weak alias
35310         of __if_nameindex.
35311         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35312         __if_nametoindex and define as weak alias of __if_nametoindex.
35313         Use libc_hidden_weak.
35314         (if_freenameindex): Rename to __if_freenameindex and define as
35315         weak alias of __if_freenameindex.
35316         (if_nameindex): Rename to __if_nameindex and define as weak alias
35317         of __if_nameindex.
35318         (if_indextoname): Rename to __if_indextoname and define as weak
35319         alias of __if_indextoname.  Use libc_hidden_weak.
35320         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35321         __if_nametoindex and define as weak alias of __if_nametoindex.
35322         Use libc_hidden_weak.
35323         (if_freenameindex): Rename to __if_freenameindex and define as
35324         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35325         (if_nameindex_netlink): Use __if_freenameindex instead of
35326         if_freenameindex.
35327         (if_nameindex): Rename to __if_nameindex and define as weak alias
35328         of __if_nameindex.  Use libc_hidden_weak.
35329         (if_indextoname): Rename to __if_indextoname and define as weak
35330         alias of __if_indextoname.  Use libc_hidden_weak.
35331         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35332         libc_hidden_proto.
35333         [!_ISOMAC] (__if_freenameindex): Likewise.
35334         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35335         if_nametoindex.
35336         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35337         variable.
35338         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35339         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35340         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35341         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35342         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35343         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35344         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35346         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35347         Remove variable.
35348         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35349         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35351 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35353         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35354         subscript above bounds'
35356         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35357         bounds.
35359 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35361         * libio/tst-fopenloc.c: Use test-skeleton.c.
35363         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35364         (entry): Rename to ITEM.
35365         (do_test, comp): Adjust.
35367         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35369 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35371         * string/tester.c: Include <libc-internal.h>.
35372         (test_memset): Ignore -Wmemset-transposed-args.
35374 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35376         * misc/tst-mntent2.c (do_test): Fix warning.
35378 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35380         * elf/tst-unique4lib.cc(a): Mark as used.
35382 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35384         [BZ #17630]
35385         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35386         names.
35388 2014-12-16  Allan McRae  <allan@archlinux.org>
35390         * stdio-common/Makefile (tests): Re-add bug26.
35392 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35394         [BZ #17657]
35395         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35396         static array.
35398 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35400         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35401         (__lll_lock_wait): Likewise.
35402         (__lll_timedlock_wait): Likewise.
35403         (__lll_timedwait_tid): Likewise.
35404         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35405         (__lll_robust_timedlock_wait): Likewise.
35406         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35407         (lll_cond_trylock): Likewise.
35408         (__lll_lock): Likewise.
35409         (__lll_robust_lock): Likewise.
35410         (__lll_cond_lock): Likewise.
35411         (lll_robust_cond_lock): Likewise.
35412         (__lll_timedlock): Likewise.
35413         (__lll_robust_timedlock): Likewise.
35414         (__lll_unlock): Likewise.
35415         (__lll_robust_unlock): Likewise.
35416         (lll_wait_tid): Likewise.
35417         (lll_timedwait_tid): Likewise.
35419 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35421         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35423 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35425         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35427 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35429         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35430         * stdio-common/tst-sprintf.c: Likewise.
35432 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35434         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35436 2014-12-15  Jeff Law  <law@redhat.com>
35438         [BZ #16617]
35439         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35440         on the heap.  (CVE-2012-3406)
35441         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35442         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35443         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35445 2014-12-15  Will Newton  <will.newton@linaro.org>
35447         * manual/install.texi: Bump required version of texinfo
35448         to 4.7 from 4.5.
35449         * INSTALL: Regenerated.
35450         * configure.ac: Check for makeinfo version 4.7 and above.
35451         * configure: Regenerated.
35453 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35455         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35456         PREFIX, string constant to insert between directory and name.
35457         * sysdeps/posix/shm_open.c: Update caller.
35458         * sysdeps/posix/shm_unlink.c: Likewise.
35459         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35460         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35461         (SEM_SHM_PREFIX): New macro.
35462         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35463         [$(have-thread-library) = no].
35464         * nptl/Makefile (libpthread-routines): Add shm-directory.
35465         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35466         * sysdeps/nptl/shm-directory.h: New file.
35467         * sysdeps/posix/shm-directory.c
35468         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35469         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35470         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35471         INTERNAL_SYSCALL.
35472         (__where_is_shmfs): Function removed.
35473         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35474         Variables removed.
35475         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35476         Use SHM_GET_NAME.
35477         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35479         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35480         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35481         unconditional for use inside libpthread.
35482         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35484 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35486         * nptl/pthread_getaffinity.c: New file.
35487         * nptl/pthread_setaffinity.c: New file.
35488         * nptl/pthread_getname.c: New file.
35489         * nptl/pthread_setname.c: New file.
35491         * nptl/pthread_create.c (START_THREAD_DEFN)
35492         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35494 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35495             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35497         * resolv/res_send.c (send_vc): Disable warning resplen may
35498         be used uninitialized.
35500 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35502         * nptl/tst-mutex6.c
35503         (ATTR_NULL): New define checks ATTR against NULL.
35504         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35505         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35507 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35509         [BZ #17581]
35510         * malloc/hooks.c
35511         (mem2mem_check): Revert my previous change.
35512         (malloc_check_get_size): Revert my previous change.
35513         (mem2chunk_check): Revert my previous change.
35515 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35517         * sysdeps/posix/shm-directory.c: New file.
35518         * sysdeps/posix/shm-directory.h: New file.
35519         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35520         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35521         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35522         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35523         Transmute EPERM to EACCES.
35524         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35525         from ...
35526         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35527         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35529 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35531         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35532         pointer and cast to uintptr_t.
35533         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35534         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35535         Add cast to avoid warning.
35536         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35538 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35540         * nptl/semaphore.h: Move to ...
35541         * sysdeps/pthread/semaphore.h: ... here.
35542         * Makefile (installed-headers): Change nptl/semaphore.h to
35543         sysdeps/pthread/semaphore.h.
35545 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35547         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35548         generated error format strings.
35550         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35551         -Wformat-extra-args warnings for scanf formats.
35552         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35553         test of zero-length format (duh).
35554         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35555         corner-case scanf format test.
35556         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35557         generated fprintf format string.
35558         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35559         corner-case sprintf format tests.
35560         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35561         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35562         -Wformat-extra-args warnings throughout.
35563         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35564         (CFLAGS-scanf4.c): Likewise.
35565         (CFLAGS-scanf7.c): Likewise.
35566         (CFLAGS-tst-sprintf.c): Likewise.
35567         (CFLAGS-tst-printf.c): Likewise.
35568         (CFLAGS-tst-printfsz.c): Likewise.
35570 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35572         * include/cpio.h: New file.
35573         * include/fmtmsg.h: Likewise.
35575         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35576         corresponding format argument to size_t.
35577         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35578         arguments.
35579         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35580         corresponding format argument to size_t.
35581         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35582         arguments.
35583         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35584         corresponding format argument to size_t.
35585         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35586         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35587         (CFLAGS-tst-mbswcs2.c): Likewise.
35588         (CFLAGS-tst-mbswcs3.c): Likewise.
35589         (CFLAGS-tst-mbswcs4.c): Likewise.
35590         (CFLAGS-tst-mbswcs5.c): Likewise.
35591         (CFLAGS-tst-trans.c): Likewise.
35593 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35595         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35596         rather than assuming they won't contain any '%'s.
35598 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35600         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35601         inhibit_loop_to_libcall to avoid recursive calls.
35602         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35603         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35605 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35607         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35608         prototype.
35610 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35612         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35613         integer value instead of boolean.
35615 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35617         * malloc/malloc.c: Fix powerof2 check.
35619 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35621         * locale/programs/locfile.h (maybe_swap_uint32):
35622         Remove inline and add unused attribute.
35624 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35627         Truncating assembler expression to a .long expression.
35629 2014-12-11  Andreas Schwab  <schwab@suse.de>
35631         * elf/rtld.c (struct map_args): Constify str member.
35632         (do_preload): Constify fname argument.
35634 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35637         constants definition.
35639 2014-12-11  Andreas Schwab  <schwab@suse.de>
35641         [BZ #16657]
35642         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35643         FORCE_ELISION instead of DO_ELISION.
35644         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35645         Remove.
35646         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35647         Likewise.
35649         * iconvdata/gconv-modules: Remove duplicate entry.
35651 2014-12-11  Will Newton  <will.newton@linaro.org>
35653         Merge gettext 0.19.3 into intl/.
35655         This involves a number of cosmetic changes to comments
35656         and ANSI function definitions and prototypes throughout
35657         all the files. The gettext copyright header is used but
35658         with the date ranges taken from the glibc copy.
35660         * NEWS: Add gettext merge to 2.21.
35661         * intl/bindtextdom.c: Switch to gettext copyright.
35662         Use ANSI definitions and prototypes.
35663         Use gl_* locking primitives rather than __libc_* ones.
35664         Use __builtin_expect rather than __glibc_likely/unlikely.
35665         * intl/dcgettext.c: Switch to gettext copyright.
35666         Use ANSI definitions and prototypes.
35667         * intl/dcigettext.c: Switch to gettext copyright.
35668         Use ANSI definitions and prototypes.
35669         (INTDIV0_RAISES_SIGFPE): New define.
35670         Use gl_* locking primitives rather than __libc_* ones.
35671         Include eval-plural.h instead of plural-eval.c.
35672         Use __builtin_expect rather than __glibc_likely/unlikely.
35673         * intl/dcngettext.c: Switch to gettext copyright.
35674         Use ANSI definitions and prototypes.
35675         * intl/dgettext.c: Likewise.
35676         * intl/dngettext.c: Likewise.
35677         * intl/plural-eval.c: Renamed to...
35678         * intl/eval-plural.h: ...this.
35679         * intl/explodename.c: Switch to gettext copyright.
35680         Use ANSI definitions and prototypes.
35681         (_nl_explode_name): Use strchr instead of __rawmemchr.
35682         * intl/finddomain.c: Switch to gettext copyright.
35683         Use ANSI definitions and prototypes.
35684         Use gl_* locking primitives rather than __libc_* ones.
35685         (_nl_find_domain): Use malloc rather than alloca for
35686         allocation of temporary locale name.
35687         * intl/gettext.c: Switch to gettext copyright.
35688         Use ANSI definitions and prototypes.
35689         * intl/gettextP.h: Switch to gettext copyright.
35690         Use ANSI definitions and prototypes.
35691         Use gl_* locking primitives rather than __libc_* ones.
35692         * intl/gmo.h: Switch to gettext copyright.
35693         (struct sysdep_string): Move struct segment_pair outside of
35694         struct definition.
35695         * intl/hash-string.c: Use ANSI definitions and prototypes.
35696         * intl/hash-string.h: Switch to gettext copyright.
35697         Use ANSI definitions and prototypes.
35698         * intl/l10nflist.c: Switch to gettext copyright.
35699         Use ANSI definitions and prototypes.
35700         (_nl_normalize_codeset): Avoid integer overflow.
35701         * intl/loadinfo.h: Switch to gettext copyright.
35702         Use ANSI definitions and prototypes.
35703         (LIBINTL_DLL_EXPORTED): New define.
35704         (PATH_SEPARATOR): New define.
35705         * intl/loadmsgcat.c: Switch to gettext copyright.
35706         * intl/localealias.c: Switch to gettext copyright.
35707         Use ANSI definitions and prototypes.
35708         (_nl_expand_alias): Use PATH_SEPARATOR.
35709         * intl/ngettext.c: Switch to gettext copyright.
35710         Use ANSI definitions and prototypes.
35711         * intl/plural-exp.c: Likewise.
35712         * intl/plural-exp.h: Switch to gettext copyright.
35713         Use ANSI definitions and prototypes.
35714         (struct expression): Move definition of enum operator outside
35715         of struct definition.
35716         * intl/plural.c: Regenerate.
35717         * intl/plural.y: Switch to gettext copyright.
35718         Use ANSI definitions and prototypes.
35719         Port to bison 3.0.
35720         * intl/textdomain.c: Switch to gettext copyright.
35721         Use ANSI definitions and prototypes.
35722         Use gl_* locking primitives rather than __libc_* ones.
35724 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35726         * debug/warning-nop.c: Add used atrribute.
35728 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35730         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35732         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35733         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35734         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35736 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35737             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35739         [BZ #17634]
35740         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35741         Undefine after defining function.  Define as weak alias of
35742         __wcschr.  Use libc_hidden_weak.
35743         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35744         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35745         (libc_hidden_def): Also define __GI___wcschr alias.
35746         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35747         __wcschr and define as weak alias of __wcschr.
35748         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35749         __wcschr.
35750         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35751         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35752         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35753         libc_hidden_weak.  Do not use libc_hidden_def.
35754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35755         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35756         __GI___wcschr alias.
35757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35758         [IS_IN (libc)] (wcschr): Define as macro expanding to
35759         __redirect_wcschr.
35760         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35761         [IS_IN (libc)] (__wcschr_power6): Likewise.
35762         [IS_IN (libc)] (__wcschr_power7): Likewise.
35763         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35764         instead of wcschr.
35765         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35766         __libc_wcschr.
35767         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35768         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35769         __wcschr and define as weak alias of __wcschr.  Use
35770         libc_hidden_builtin_def.
35771         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35772         as weak alias of __wcschr.  Use libc_hidden_weak.
35773         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35774         wcschr.
35775         * time/era.c (_nl_init_era_entries): Likewise.
35776         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35777         variable.
35778         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35779         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35781 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35783         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35784         format for long int variable.
35786 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35788         [BZ #10672]
35789         * manual/search.texi: (Array Sort Function): Remove claim how to make
35790         qsort stable.
35792 2014-12-10  Andreas Schwab  <schwab@suse.de>
35794         [BZ #12847]
35795         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35796         user-controlled locks.
35798 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35800         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35801         register.
35803 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35805         * configure.ac (--disable-werror): New configure option.
35806         (enable_werror): New AC_SUBST.
35807         * configure: Regenerated.
35808         * config.make.in (enable-werror): New variable.
35809         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35810         -Wno-error=undef.
35811         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35812         * manual/install.texi (Configuring and compiling): Document
35813         --disable-werror.
35814         * INSTALL: Regenerated.
35815         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35816         (CFLAGS-tst-chk2.c): Likewise.
35817         (CFLAGS-tst-chk3.c): Likewise.
35818         (CFLAGS-tst-chk4.cc): Likewise.
35819         (CFLAGS-tst-chk5.cc): Likewise.
35820         (CFLAGS-tst-chk6.cc): Likewise.
35821         (CFLAGS-tst-lfschk1.c): Likewise.
35822         (CFLAGS-tst-lfschk2.c): Likewise.
35823         (CFLAGS-tst-lfschk3.c): Likewise.
35824         (CFLAGS-tst-lfschk4.cc): Likewise.
35825         (CFLAGS-tst-lfschk5.cc): Likewise.
35826         (CFLAGS-tst-lfschk6.cc): Likewise.
35828         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35829         (main): Disable -Wdeprecated-declarations around calls to
35830         register_printf_function.
35832         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35833         (do_test): Disable -Wdiv-by-zero around some calls to
35834         fwrite_unlocked and fread_unlocked.
35836         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35837         (DIAG_POP_NEEDS_COMMENT): Likewise.
35838         (_DIAG_STR1): Likewise.
35839         (_DIAG_STR): Likewise.
35840         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35841         * stdio-common/bug21.c: Include <libc-internal.h>.
35842         (do_test): Disable -Wformat around call to sscanf.
35843         * stdio-common/scanf14.c: Include <libc-internal.h>.
35844         (main): Disable -Wformat around some calls to scanf functions.
35846 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35848         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35850 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35852         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35853         stack variable alignment.
35855 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35857         [BZ #17682]
35858         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35859         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35860         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35861         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35862         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35863         __getrlimit instead of getrlimit.
35864         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35865         __gettimeofday instead of gettimeofday.
35866         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35867         Likewise.
35868         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35869         Likewise.
35870         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35871         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35872         Remove variable.
35873         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35874         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35876 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35878         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35879         for wide-character tests.
35881 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35883         * io/openat64.c: #include <libc-internal.h>
35884         (__openat64): Prototypify.  Use ignore_value on MODE.
35885         * io/openat.c: Likewise.
35886         * misc/reboot.c: #include <libc-internal.h>
35887         (reboot): Prototypify.  Use ignore_value on HOWTO.
35888         * misc/ptrace.c: #include <libc-internal.h>
35889         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35891 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35893         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35894         XPG4, UNIX98 and XOPEN2K.
35895         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35896         Remove variable.
35897         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35899 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35901         * libio/fileops.c: Use ISO C style for function definitions.
35902         * libio/iofopen.c: Likewise.
35903         * libio/wfileops.c: Likewise.
35905         [BZ #17653]
35906         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35907         offset on EOF.
35908         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35909         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35910         (fgets_func): Function pointer to fgets and fgetws.
35911         (do_ftell_test): Add test to verify ftell value after read
35912         EOF.
35913         (do_test): Set fgets_func.
35915         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35916         O_TRUNC flag for w and w+ modes.
35917         (do_rewind_test): Likewise.
35918         (do_ftell_test): Likewise.
35919         (do_write_test): Likewise.
35921         [BZ #17647]
35922         * libio/fileops.c (do_ftell): Seek only when there are
35923         unflushed writes.
35924         * libio/wfileops.c (do_ftell_wide): Likewise.
35925         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35926         test case.
35927         (do_one_test): Call it.
35929 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35931         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35932         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35933         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35934         Remove variable.
35935         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35936         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35937         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35939 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35941         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35942         Remove variable.
35943         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35945         [BZ #17668]
35946         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35947         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35948         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35949         __freeifaddrs.  Use libc_hidden_weak.
35950         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35951         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35952         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35953         __freeifaddrs.  Use libc_hidden_weak.
35954         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35955         __getifaddrs and define as weak alias of __getifaddrs.  Use
35956         libc_hidden_weak.
35957         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35958         __freeifaddrs.  Use libc_hidden_weak.
35959         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35960         Remove variable.
35961         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35962         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35964 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35966         [BZ #17601]
35967         * sysdeps/mips/start.S (__start): Use indirect jump to call
35968         __libc_start_main.
35970 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35972         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35974         * nptl/tst-mutex1.c: Include <stdbool.h>.
35975         [!ATTR] (ATTR_NULL): New macro.
35976         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35977         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35978         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35980         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35981         to char *.
35983         [BZ #17665]
35984         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35985         Change conditional to [__USE_MISC].
35987         [BZ #17664]
35988         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35989         fgets_unlocked.
35990         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35991         __fgets_unlocked.
35992         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35993         fgets_unlocked.
35994         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35995         Remove variable.
35996         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35997         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35998         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35999         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36000         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36001         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36002         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36003         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36004         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36006         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36008 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36011         Remove strpbrk objects.
36012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36013         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36014         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36015         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36016         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36017         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36020         Remove strcspn objects.
36021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36022         (__libc_ifunc_impl_list): Remove strcspn implementation.
36023         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36024         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36025         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36026         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36028         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36029         Remove strspn objetcs.
36030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36031         (__libc_ifunc_impl_list): Remove strspn implementation.
36032         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36033         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36034         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36035         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36037 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36039         [BZ #17581]
36040         * malloc/hooks.c
36041         (mem2mem_check): Add a terminator to the chain of checking blocks.
36042         (malloc_check_get_size): Use it here.
36043         (mem2chunk_check): Ditto.
36045 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36047         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36048         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36050 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36052         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36054         * nptl/nptl-init.c: Include libc-internal.h.
36055         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36057         * elf/ldconfig.c (search_dir): Expand comment.
36059 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36061         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36062         variable.
36063         (linknamespace-symlist-stdlibs-tests): Likewise.
36064         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36065         instead of $(objpfx)symlist-stdlibs.
36066         (linknamespace-libs-isoc): New variable.
36067         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36068         (linknamespace-libs-ISO): New variable.
36069         (linknamespace-libs-ISO99): Likewise.
36070         (linknamespace-libs-ISO11): Likewise.
36071         (linknamespace-libs-XPG3): Likewise.
36072         (linknamespace-libs-XPG4): Likewise.
36073         (linknamespace-libs-POSIX): Likewise.
36074         (linknamespace-libs-UNIX98): Likewise.
36075         (linknamespace-libs-XOPEN2K): Likewise.
36076         (linknamespace-libs-POSIX2008): Likewise.
36077         (linknamespace-libs-XOPEN2K8): Likewise.
36078         ($(objpfx)symlist-stdlibs): Replace by
36079         $(linknamespace-symlist-stdlibs-tests).  Use
36080         $(linknamespace-libs-$*) as set of libraries.
36081         ($(linknamespace-header-tests)): Update dependencies.  Use
36082         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36083         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36084         * conform/linknamespace.pl: Remove comment about considering
36085         definitions of symbols from irrelevant libraries.
36087 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36089         [BZ #13862]
36090         * elf/dl-tls.c: Include <atomic.h>.
36091         (oom): Remove #ifdef SHARED/#endif.
36092         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36093         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36094         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36095         big enough.
36096         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36097         * nptl/Makefile (tests): Add tst-stack4.
36098         (modules-names): Add tst-stack4mod.
36099         ($(objpfx)tst-stack4): New.
36100         (tst-stack4mod.sos): Likewise.
36101         ($(objpfx)tst-stack4.out): Likewise.
36102         ($(tst-stack4mod.sos)): Likewise.
36103         (clean): Likewise.
36104         * nptl/tst-stack4.c: New file.
36105         * nptl/tst-stack4mod.c: Likewise.
36107 2014-11-27  J. Brown  <jb999@gmx.de>
36109         * sysdeps/x86/bits/string.h: Add recent CPUs.
36111 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36113         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36114         sigblock.
36116         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36117         feof.
36119         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36120         variable.
36122 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36124         * nscd/connections.c: Include libc-internal.h because of macro
36125         usage ignore_value.
36127 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36129         * string/bits/string3.h (__warn_memset_zero_len): Don't
36130         declare for gcc newer than 5.0.
36131         (memset): Don't test for zero-length __LEN for gcc newer than
36132         5.0.
36134 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36136         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36137         size_t for %zu format.
36139         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36140         difference, not %ju.
36142 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36144         * include/libc-internal.h (ignore_value): New macro.
36145         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36146         with ignore_value.
36148         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36149         definition.
36151         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36152         pthread_cleanup_push to void *.
36154         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36155         Undefine.
36157         [BZ #16619]
36158         [BZ #16740]
36159         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36160         instead of 1L << 52.
36162         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36163         * libio/bug-rewind2.c (do_test): Likewise.
36165         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36166         * debug/test-strcpy_chk-ifunc.c: Likewise.
36167         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36168         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36169         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36170         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36171         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36172         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36173         * Rules [$(multi-arch) = no] (tests): Do not filter out
36174         $(tests-ifunc).
36175         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36176         * debug/Makefile (tests-ifunc): Remove variable.
36177         (tests): Do not add $(tests-ifunc).
36178         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36179         (tests): Do not add $(tests-ifunc).
36180         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36181         [TEST_IFUNC]: Remove conditionals.
36182         * string/test-string.h (TEST_IFUNC): Remove macro.
36183         [TEST_IFUNC]: Remove conditionals.
36185         * string/test-strchr.c [!WIDE] (L): New macro.
36186         [WIDE] (L): Likewise.
36187         (check1): Use CHAR instead of char.  Use L on string and character
36188         constants.
36190 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36192         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36193         tests.
36194         * sysdeps/powerpc/bits/atomic.h
36195         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36196         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36197         (atomic_exchange_and_add_acq): Likewise.
36198         (atomic_exchange_and_add_rel): Likewise.
36199         * sysdeps/powerpc/powerpc32/bits/atomic.h
36200         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36201         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36202         * sysdeps/powerpc/powerpc64/bits/atomic.h
36203         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36204         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36206 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36208         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36209         Change synchronization of __sched_fifo_min_prio and
36210         __sched_fifo_max_prio.
36211         * nptl/pthread_mutexattr_getprioceiling.c
36212         (pthread_mutexattr_getprioceiling): Likewise.
36213         * nptl/pthread_mutexattr_setprioceiling.c
36214         (pthread_mutexattr_setprioceiling): Likewise.
36215         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36216         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36217         Likewise.
36219 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36221         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36222         void.
36224 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36226         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36227         third argument const.
36229 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36231         fnmatch: work around GCC compiler warning bug with uninit var
36232         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36233         This works around a bug with x86-64 GCC 4.9.2 and earlier
36234         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36235         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36236         used uninitialized in this function [-Wmaybe-uninitialized]".
36238 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36240         * posix/bug-regex31.c (main): Return RES not 0.
36242 2014-11-25  Anton Blanchard <anton@samba.org>
36244         * sysdeps/powerpc/bits/atomic.h
36245         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36247 2014-11-24  Sterling Augustine  <saugustine@google.com>
36249         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36251 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36253         [BZ #17608]
36254         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36256 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36258         [BZ #17633]
36259         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36260         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36261         variable.
36262         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36263         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36265 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36267         * string/strncpy.c (strncpy): Improve performance by using memset.
36269 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36271         * string/strcpy.c (strcpy):
36272         Improve performance by using strlen and memcpy.
36274 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36276         * string/strcoll_l.c (get_next_seq): __always_inline.
36277         * string/strcoll_l.c (do_compare): __always_inline.
36279 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36281         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36282         defined.
36283         * include/mqueue.h: Likewise.
36284         * include/stdlib.h: Likewise.
36286         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36287         (get_null_defines): Adjust.
36288         * sunrpc/Makefile: Adjust comment.
36289         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36290         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36291         (CFLAGS-interp.c): Likewise.
36292         (CFLAGS-ldconfig.c): Likewise.
36293         (CPPFLAGS-.os): Likewise.
36294         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36295         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36296         * extra-modules.mk (extra-modules.mk): Likewise.
36297         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36298         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36299         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36300         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36301         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36302         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36303         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36304         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36305         * iconvdata/Makefile (CPPFLAGS): Likewise.
36306         (cpp-srcs-left): Add libof for all iconvdata routines.
36307         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36308         * include/assert.h: Likewise.
36309         * include/ctype.h: Likewise.
36310         * include/errno.h: Likewise.
36311         * include/libc-symbols.h: Likewise.
36312         * include/math.h: Likewise.
36313         * include/netdb.h: Likewise.
36314         * include/resolv.h: Likewise.
36315         * include/stdio.h: Likewise.
36316         * include/stdlib.h: Likewise.
36317         * include/string.h: Likewise.
36318         * include/sys/stat.h: Likewise.
36319         * include/wctype.h: Likewise.
36320         * intl/l10nflist.c: Likewise.
36321         * libidn/idn-stub.c: Likewise.
36322         * libio/libioP.h: Likewise.
36323         * nptl/libc_multiple_threads.c: Likewise.
36324         * nptl/pthreadP.h: Likewise.
36325         * posix/regex_internal.h: Likewise.
36326         * resolv/res_hconf.c: Likewise.
36327         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36328         * sysdeps/arm/memmove.S: Likewise.
36329         * sysdeps/arm/sysdep.h: Likewise.
36330         * sysdeps/generic/_itoa.h: Likewise.
36331         * sysdeps/generic/symbol-hacks.h: Likewise.
36332         * sysdeps/gnu/errlist.awk: Likewise.
36333         * sysdeps/gnu/errlist.c: Likewise.
36334         * sysdeps/i386/i586/memcpy.S: Likewise.
36335         * sysdeps/i386/i586/memset.S: Likewise.
36336         * sysdeps/i386/i686/memcpy.S: Likewise.
36337         * sysdeps/i386/i686/memmove.S: Likewise.
36338         * sysdeps/i386/i686/mempcpy.S: Likewise.
36339         * sysdeps/i386/i686/memset.S: Likewise.
36340         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36341         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36342         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36343         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36344         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36345         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36346         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36347         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36348         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36349         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36350         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36351         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36352         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36353         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36354         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36355         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36356         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36357         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36358         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36359         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36360         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36361         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36362         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36363         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36364         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36365         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36366         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36367         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36368         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36369         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36370         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36371         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36373         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36374         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36375         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36376         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36377         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36378         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36379         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36380         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36381         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36382         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36383         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36384         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36385         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36386         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36387         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36388         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36389         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36390         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36391         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36392         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36393         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36394         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36395         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36396         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36397         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36398         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36399         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36400         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36401         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36402         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36403         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36404         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36405         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36406         * sysdeps/posix/closedir.c: Likewise.
36407         * sysdeps/posix/opendir.c: Likewise.
36408         * sysdeps/posix/readdir.c: Likewise.
36409         * sysdeps/posix/rewinddir.c: Likewise.
36410         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36411         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36412         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36413         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36414         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36416         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36421         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36422         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36423         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36424         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36425         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36426         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36427         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36429         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36430         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36431         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36433         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36437         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36438         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36445         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36446         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36447         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36448         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36449         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36450         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36451         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36452         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36453         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36454         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36455         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36456         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36457         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36458         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36459         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36460         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36461         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36462         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36464         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36465         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36467         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36468         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36469         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36470         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36471         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36472         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36473         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36474         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36475         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36476         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36477         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36478         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36479         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36480         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36481         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36482         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36483         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36484         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36485         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36486         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36487         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36488         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36489         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36490         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36491         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36492         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36493         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36494         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36495         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36496         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36497         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36498         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36499         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36500         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36501         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36502         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36503         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36504         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36505         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36506         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36507         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36508         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36509         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36510         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36511         * sysdeps/unix/alpha/sysdep.S: Likewise.
36512         * sysdeps/unix/alpha/sysdep.h: Likewise.
36513         * sysdeps/unix/make-syscalls.sh: Likewise.
36514         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36516         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36517         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36518         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36519         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36520         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36521         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36522         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36523         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36524         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36525         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36527         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36528         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36529         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36530         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36531         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36532         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36533         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36534         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36535         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36536         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36537         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36538         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36539         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36540         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36543         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36544         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36548         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36552         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36553         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36554         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36555         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36556         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36557         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36558         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36561         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36563         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36564         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36565         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36566         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36567         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36568         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36569         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36570         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36572         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36573         * sysdeps/x86_64/memcpy.S: Likewise.
36574         * sysdeps/x86_64/memmove.c: Likewise.
36575         * sysdeps/x86_64/memset.S: Likewise.
36576         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36577         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36578         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36579         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36580         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36581         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36583         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36584         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36585         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36586         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36587         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36588         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36589         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36590         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36591         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36592         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36593         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36594         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36595         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36596         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36597         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36598         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36599         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36600         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36601         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36602         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36603         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36604         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36605         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36606         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36607         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36608         * sysdeps/x86_64/strcmp.S: Likewise.
36610         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36612         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36613         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36614         * elf/rtld-Rules: Likewise.
36615         * elf/setup-vdso.h: Likewise.
36616         * include/assert.h: Likewise.
36617         * include/bits/stdlib-float.h: Likewise.
36618         * include/errno.h: Likewise.
36619         * include/sys/stat.h: Likewise.
36620         * include/unistd.h: Likewise.
36621         * sysdeps/aarch64/setjmp.S: Likewise.
36622         * sysdeps/alpha/setjmp.S: Likewise.
36623         * sysdeps/arm/__longjmp.S: Likewise.
36624         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36625         * sysdeps/arm/setjmp.S: Likewise.
36626         * sysdeps/arm/sysdep.h: Likewise.
36627         * sysdeps/generic/_itoa.h: Likewise.
36628         * sysdeps/generic/dl-sysdep.h: Likewise.
36629         * sysdeps/generic/ldsodefs.h: Likewise.
36630         * sysdeps/i386/dl-tls.h: Likewise.
36631         * sysdeps/i386/setjmp.S: Likewise.
36632         * sysdeps/m68k/setjmp.c: Likewise.
36633         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36634         * sysdeps/mach/hurd/opendir.c: Likewise.
36635         * sysdeps/posix/getcwd.c: Likewise.
36636         * sysdeps/posix/opendir.c: Likewise.
36637         * sysdeps/posix/profil.c: Likewise.
36638         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36639         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36640         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36641         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36642         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36643         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36644         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36645         * sysdeps/s390/dl-tls.h: Likewise.
36646         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36647         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36648         * sysdeps/sh/sh3/setjmp.S: Likewise.
36649         * sysdeps/sh/sh4/setjmp.S: Likewise.
36650         * sysdeps/unix/alpha/sysdep.h: Likewise.
36651         * sysdeps/unix/arm/sysdep.S: Likewise.
36652         * sysdeps/unix/i386/sysdep.S: Likewise.
36653         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36654         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36655         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36656         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36657         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36658         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36659         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36660         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36661         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36662         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36663         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36664         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36665         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36668         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36671         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36672         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36673         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36675         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36676         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36677         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36678         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36680         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36681         * sysdeps/x86_64/setjmp.S: Likewise.
36683         * include/math.h: Use IS_IN instead of IS_IN_libm.
36684         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36685         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36686         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36687         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36688         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36689         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36690         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36691         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36692         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36693         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36694         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36695         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36696         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36697         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36698         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36699         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36700         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36701         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36702         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36703         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36704         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36705         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36706         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36707         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36708         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36709         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36710         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36711         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36712         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36713         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36714         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36715         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36716         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36718         Likewise.
36719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36720         Likewise.
36721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36722         Likewise.
36723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36724         Likewise.
36725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36726         Likewise.
36727         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36728         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36729         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36730         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36731         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36732         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36738         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36739         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36740         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36741         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36742         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36743         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36744         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36745         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36746         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36747         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36748         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36749         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36751         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36753         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36755         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36756         * nptl/pthreadP.h: Likewise.
36757         * nptl_db/structs.def: Likewise.
36758         * sysdeps/arm/sysdep.h: Likewise.
36759         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36760         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36761         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36762         * sysdeps/unix/alpha/sysdep.h: Likewise.
36763         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36764         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36765         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36766         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36767         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36768         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36770         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36771         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36772         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36773         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36774         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36775         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36776         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36779         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36780         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36781         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36784         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36785         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36786         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36787         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36788         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36790         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36791         * nptl/pthreadP.h: Likewise.
36792         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36793         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36794         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36795         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36796         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36797         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36798         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36799         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36800         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36801         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36802         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36803         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36805         Likewise.
36806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36807         Likewise.
36808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36810         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36812         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36813         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36814         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36815         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36817         * dlfcn/dladdr.c: Use IS_IN.
36818         * dlfcn/dladdr1.c: Likewise.
36819         * dlfcn/dlclose.c: Likewise.
36820         * dlfcn/dlerror.c: Likewise.
36821         * dlfcn/dlinfo.c: Likewise.
36822         * dlfcn/dlmopen.c: Likewise.
36823         * dlfcn/dlopen.c: Likewise.
36824         * dlfcn/dlsym.c: Likewise.
36825         * dlfcn/dlvsym.c: Likewise.
36827         * include/ifaddrs.h: Use IS_IN.
36828         * inet/check_pf.c: Likewise.
36829         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36830         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36832         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36833         IS_IN_ldconfig.
36834         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36835         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36837         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36838         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36839         IS_IN (libc).
36841         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36843         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36844         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36845         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36846         * include/libc-symbols.h (IS_IN_LIB): New macro.
36847         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36848         * include/netdb.h: Likewise.
36849         * include/stap-probe.h: Remove all uses of IN_LIB.
36851         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36852         instead of IN_MODULE.
36853         * include/libc-symbols.h (IN_MODULE): Define using
36854         MODULE_NAME.
36855         (PASTE_NAME, PASTE_NAME1): New macros.
36856         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36857         of IN_LIB.
36858         (STAP_PROBE_ASM): Likewise.
36860 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36862         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36863         __mach_init in dlopened libc.
36865 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36867         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36868         * sysdeps/arm/preconfigure: Regenerate.
36870 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36872         * nptl/pthread_create.c (__pthread_create_2_1): Set
36873         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36874         when copying values from IATTR into PD.
36876 2014-11-21  Will Newton  <will.newton@linaro.org>
36877             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36879         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36880         Refactor inline-asm.  Also add comment.
36882         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36883         ElfW macro instead of hardcoded Elf64 types.
36884         (la_aarch64_gnu_pltenter): Likewise.
36885         * sysdeps/aarch64/dl-machine.h
36886         (elf_machine_runtime_setup): Use ElfW(Addr).
36888         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36889         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36890         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36891         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36892         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36893         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36894         (R_AARCH64_TLS_DTPMOD): This.
36895         (R_AARCH64_TLS_DTPREL64): Rename to ...
36896         (R_AARCH64_TLS_DTPREL): This.
36897         (R_AARCH64_TLS_TPREL64): Rename to ...
36898         (R_AARCH64_TLS_TPREL): This.
36899         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36900         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36901         R_AARCH64_TLS_TPREL64.
36902         (elf_machine_rela): Likewise.
36904 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36906         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36907         by setting it to 0.  64b atomics are not supported currently.
36909 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36911         [BZ #16469]
36912         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36913         search domain names.
36915 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36917         [BZ #16469]
36918         * NEWS: Update.
36919         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36920         trailing dot.
36921         * posix/tst-getaddrinfo5.c: New.
36922         * posix/Makefile (tests): Add it.
36924 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36926         [BZ #14498]
36927         * NEWS: Fixed.
36928         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36929         after parsing line but before break_if_match.
36930         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36931         if there is a protocol mismatch.
36933 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36935         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36936         because the potential race is on the user-supplied stream.
36938 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36940         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36941         string literal if not passed a buffer.
36942         * manual/job.texi (ctermid): Update reasoning, note deviation
36943         from posix, suggest mtasurace when not passed a buffer, for
36944         future non-preliminary safety notes.
36946 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36948         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36949         of not passing it a buffer.
36950         Reported by Peng Haitao.
36952 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36954         * manual/Makefile ($(objpfx)stamp-summary): Require
36955         check-safety.sh to pass.
36956         * manual/check-safety.sh: Wish for verification that every
36957         @deftypefn and @deftypefun is followed by a @safety remark.
36959 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36961         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36963         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36964         PTHREAD_CANCEL_ASYNCHRONOUS.
36965         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36966         send SIGCANCEL.
36968         * nptl/default-sched.h: New file.
36969         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36970         * nptl/pthread_create.c: Include it.
36971         (__pthread_create_2_1): Use collect_default_sched instead of making
36972         Linux syscalls here directly.
36974 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36976         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36977         __pthread_once): Use C11 atomics.
36979 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36981         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36983 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36985         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36986         atomic_thread_fence_acquire, atomic_thread_fence_release,
36987         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36988         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36989         atomic_compare_exchange_weak_relaxed,
36990         atomic_compare_exchange_weak_acquire,
36991         atomic_compare_exchange_weak_release,
36992         atomic_exchange_acquire, atomic_exchange_release,
36993         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36994         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36995         atomic_fetch_and_acquire,
36996         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36998 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37000         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37001         USE_ATOMIC_COMPILER_BUILTINS): Define.
37002         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37004         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37006         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37008         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37010         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37012         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37014         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37016         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37018         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37020         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37022         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37024         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37026         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37028         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37030         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37032         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37034         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37035         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37036         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37037         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37038         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37040         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37043 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37045         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37046         the sched_priority value here.  It was already checked when the user
37047         called pthread_attr_setschedparam.
37049         * nptl/tst-bad-schedattr.c: New file.
37050         * nptl/Makefile (tests): Add it.
37052 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37053             Florian Weimer  <fweimer@redhat.com>
37054             Joseph Myers  <joseph@codesourcery.com>
37055             Adam Conrad  <adconrad@0c3.net>
37056             Andreas Schwab  <schwab@suse.de>
37057             Brooks  <bmoses@google.com>
37059         [BZ #17625]
37060         * wordexp-test.c (__dso_handle): Add prototype.
37061         (__register_atfork): Likewise.
37062         (__app_register_atfork): New function.
37063         (registered_forks): New global.
37064         (register_fork): New function.
37065         (test_case): Add 3 new tests for WRDE_CMDSUB.
37066         (main): Call __app_register_atfork.
37067         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37068         fork count is non-zero fail the test.
37069         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37070         is set.
37071         (parse_dollars): Remove check for WRDE_NOCMD.
37072         (parse_dquote): Likewise.
37074 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37076         * Makeconfig (built-modules): List non-library modules to be
37077         built.
37078         (module-cppflags): Include libc-modules.h for
37079         everything except shlib-versions.v.i.
37080         (CPPFLAGS): Use it.
37081         (before-compile): Add libc-modules.h.
37082         ($(common-objpfx)libc-modules.h,
37083         $(common-objpfx)libc-modules.stmp): New targets.
37084         (common-generated): Add libc-modules.h and libc-modules.stmp.
37085         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37086         * include/libc-symbols.h: Don't include libc-modules.h.
37087         * include/libc-modules.h: Remove file.
37088         * scripts/gen-libc-modules.awk: New script to generate
37089         libc-modules.h.
37090         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37091         Depend on libc-modules.stmp.
37093         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37095         * Makeconfig (in-module): Get value of libof set for the
37096         translation unit.
37097         (CPPFLAGS): Use $(in-module).
37098         * Makerules: Don't suffix routine names for nonlib.
37099         * include/libc-modules.h: New file.
37100         * include/libc-symbols.h: Include libc-modules.h
37101         (IS_IN): New macro to replace IS_IN_* macros.
37102         * elf/Makefile: Set libof-* for each routine.
37103         * elf/rtld-Rules: Likewise.
37104         * extra-modules.mk: Likewise.
37105         * iconv/Makefile: Likewise.
37106         * iconvdata/Makefile: Likewise.
37107         * locale/Makefile: Likewise.
37108         * malloc/Makefile: Likewise.
37109         * nss/Makefile: Likewise.
37110         * sysdeps/gnu/Makefile: Likewise.
37111         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37112         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37113         * sysdeps/s390/s390-64/Makefile: Likewise.
37114         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37115         CPPFLAGS for nscd instead of nonlib.
37117 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37119         * nptl/createthread.c: New file.
37121         * nptl/createthread.c: Moved ...
37122         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37124         * nptl/createthread.c: Add proper top-line comment.
37125         (do_clone): Folded into ...
37126         (create_thread): ... here.  Take new arguments STOPPED_START and
37127         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37128         increment __nptl_threads, do event-reporting logic, do
37129         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37130         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37131         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37132         just send SIGCANCEL.
37133         * nptl/pthread_create.c: Forward-declare create_thread before
37134         including createthread.c.
37135         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37136         declaration, and new macro START_THREAD_SELF to replace argument.
37137         Remove return statement.
37138         (report_thread_creation): New function.
37139         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37140         synchronization logic, and __nptl_nthreads increment here, around
37141         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37142         PD->parent_cancelhandling here, before create_thread.  When
37143         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37144         __deallocate_stack, and ENOMEM translation here.
37146 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37148         [BZ #17616]
37149         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37150         (mptwo): Rename to __mptwo.
37151         (__inv): Use __mptwo instead of mptwo.
37152         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37153         (mptwo): Rename to __mptwo.
37154         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37155         of mpone and __mptwo instead of mptwo.
37156         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37157         instead of mpone.
37158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37159         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37160         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37161         of mpone and __mptwo instead of mptwo.
37162         (__mpranred): Use __mpone instead of mpone.
37163         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37164         variable.
37165         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37166         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37167         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37168         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37169         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37170         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37171         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37172         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37173         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37174         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37175         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37176         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37177         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37178         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37179         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37180         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37181         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37182         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37183         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37185 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37187         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37188         replace BSD Handler xref with BSD Signal Handling.
37190 2014-11-17  Richard Henderson  <rth@redhat.com>
37192         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37193         (_FP_PACK_RAW_2): Remove.
37194         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37195         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37196         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37197         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37198         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37199         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37200         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37201         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37202         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37203         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37204         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37205         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37206         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37207         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37208         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37209         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37211 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37213         * signal/signal.h [__USE_MISC]
37214         (struct sigvec): Remove type.
37215         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37216         (sigvec): Remove declaration.
37217         * sysdeps/posix/sigvec.c: Moved ...
37218         * signal/sigvec.c: ... here, replacing old file.
37219         (struct sigvec): New type, copied from old signal.h definition.
37220         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37221         (__sigvec): Convert definition to prototype.
37222         (sigvec): Replace weak_alias with compat_symbol.
37223         * signal/Versions (libc: GLIBC_2.21): New version set.
37224         * include/signal.h: Remove __sigvec declaration.
37225         * sysdeps/unix/bsd/sigvec.c: Remove file.
37226         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37227         * manual/signal.texi (BSD Handler): Remove subsection.
37228         Move siginterrupt up to ...
37229         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37230         (Blocking in BSD): Fold subsection into its parent.
37231         * NEWS: Mention sigvec removal.
37233 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37235         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37236         (DLA_FMS): Make definition conditional only on [__FMA4__].
37237         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37238         definition.
37240         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37241         Make definition conditional only on [PROF].
37242         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37243         definition.
37244         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37245         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37247         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37248         !__GNUC__].
37249         * include/signal.h (__sigpause): Move declaration above call to
37250         libc_hidden_proto.
37251         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37252         variable.
37253         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37254         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37256 2014-11-14  David S. Miller  <davem@davemloft.net>
37258         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37259         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37261 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37263         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37264         * configure: Regenerated.
37265         * manual/install.texi (Tools for Compilation): Document a
37266         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37267         compiler verified to work.
37268         * INSTALL: Regenerated.
37270         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37271         redeclare with asm name.
37272         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37273         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37274         including <string.h>.
37275         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37276         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37277         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37278         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37279         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37280         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37281         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37283 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37285         * stdlib/strtol.c (__strtol): Use prototype definition.
37287         [BZ #17594]
37288         * stdlib/strtol.c (SYM__): New macro.
37289         (SYM__1): Likewise.
37290         (__strtol): Likewise.
37291         (strtol): Rename to __strtol and define as weak alias of
37292         __strtol.  Use libc_hidden_weak.
37294 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37296         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37297         Use numbered labels in inline assembly.
37299 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37301         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37302         Add setjmp LIBC_PROBE.
37303         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37304         Likewise.
37305         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37306         Add longjmp, longjmp_target LIBC_PROBE.
37307         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37308         Likewise.
37310 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37312         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37313         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37314         to get rid of unused variable warning.
37316 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37318         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37319         Check for unwind_backtrace ==  NULL only in SHARED case.
37320         (__backchain_backtrace): Compile only in SHARED case.
37321         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37322         Likewise.
37323         (__backchain_backtrace): Declare as static.
37325 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37327         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37328         (__libc_multiple_threads_ptr): Variable moved ...
37329         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37331 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37333         * conform/GlibcConform.pm: New file.
37334         * conform/conformtest.pl: Use GlibcConform module.
37335         * conform/linknamespace.pl: New file.
37336         * conform/list-header-symbols.pl: Likewise.
37337         * conform/Makefile (linknamespace-symlists-base): New variable.
37338         (linknamespace-symlists-tests): Likewise.
37339         (linknamespace-header-base): Likewise.
37340         (linknamespace-header-tests): Likewise.
37341         (tests-special): Add new tests.
37342         ($(linknamespace-symlists-tests)): New rule.
37343         (linknamespace-libs): New variable.
37344         ($(objpfx)symlist-stdlibs): New rule.
37345         ($(linknamespace-header-tests)): Likewise.
37346         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37347         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37348         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37349         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37350         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37351         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37352         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37353         (test-xfail-ISO/math.h/linknamespace): Likewise.
37354         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37355         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37356         (test-xfail-ISO/time.h/linknamespace): Likewise.
37357         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37358         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37359         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37360         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37361         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37362         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37363         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37364         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37365         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37366         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37367         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37368         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37369         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37370         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37371         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37372         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37373         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37374         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37375         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37376         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37377         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37378         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37379         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37380         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37381         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37382         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37383         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37384         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37385         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37386         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37387         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37388         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37389         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37390         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37391         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37392         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37393         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37394         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37395         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37396         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37397         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37398         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37399         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37400         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37401         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37402         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37403         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37404         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37405         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37406         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37407         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37408         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37409         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37410         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37411         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37412         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37413         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37414         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37415         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37416         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37417         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37418         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37419         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37420         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37421         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37422         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37423         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37424         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37425         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37426         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37427         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37428         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37429         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37430         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37431         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37432         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37433         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37434         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37435         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37436         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37437         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37438         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37439         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37440         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37441         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37442         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37443         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37444         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37445         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37446         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37447         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37448         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37449         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37450         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37451         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37452         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37453         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37454         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37455         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37456         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37457         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37458         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37459         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37460         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37461         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37462         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37463         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37464         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37465         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37466         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37467         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37468         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37469         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37470         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37471         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37472         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37473         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37474         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37475         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37476         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37477         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37478         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37479         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37480         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37481         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37482         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37483         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37484         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37485         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37486         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37487         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37488         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37489         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37490         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37491         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37492         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37493         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37494         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37495         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37496         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37497         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37498         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37499         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37500         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37501         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37502         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37503         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37504         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37505         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37506         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37508         [BZ #17589]
37509         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37510         of fgets_unlocked.
37512         [BZ #17585]
37513         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37514         (memmem): Rename to __memmem and define as weak alias of
37515         __memmem.  Use libc_hidden_weak.
37516         (__memmem): Use libc_hidden_def.
37517         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37518         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37519         memmem.
37521         [BZ #17582]
37522         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37523         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37524         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37525         and define as weak alias of __fgets_unlocked.  Use
37526         libc_hidden_weak.
37527         (__fgets_unlocked): Use libc_hidden_def.
37528         * include/stdio.h (__fgets_unlocked): Declare.  Use
37529         libc_hidden_proto.
37530         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37531         __fgets_unlocked instead of fgets_unlocked.
37532         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37533         (GET_NPROCS_CONF_PARSER): Likewise.
37534         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37535         (GET_NPROCS_CONF_PARSER): Likewise.
37537         [BZ #17574]
37538         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37539         weak alias of __wmemset.  Use libc_hidden_weak.
37540         (__wmemset): Use libc_hidden_def.
37541         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37542         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37543         of wmemset.
37545         [BZ #17573]
37546         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37547         with asm name __mempcpy.
37548         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37550         [BZ #17572]
37551         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37552         and define as weak alias of __rawmemchr.
37553         (__rawmemchr): Do not define as strong alias of rawmemchr.
37555         [BZ #17571]
37556         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37557         alias of __qsort_r.
37558         (qsort): Call __qsort_r instead of qsort_r.
37559         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37560         (__qsort_r): Declare.  Call libc_hidden_proto.
37561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37562         instead of qsort_r.
37563         * nscd/gai.c (__qsort_r): Define to qsort_r.
37564         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37565         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37566         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37568         [BZ #17570]
37569         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37570         define as weak alias of __malloc_info.
37572         [BZ #17584]
37573         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37574         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37575         (__rewinddir): Use libc_hidden_def.
37576         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37577         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37578         (__rewinddir): Use libc_hidden_def.
37579         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37580         weak alias of __rewinddir.  Don't use libc_hidden_def.
37581         (__rewinddir): Use libc_hidden_def.
37582         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37583         (__rewinddir): Use libc_hidden_proto.
37584         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37585         rewinddir.
37586         (__getcwd): Use __rewinddir instead of rewinddir.
37588         [BZ #17583]
37589         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37590         alias of __fileno.  Use libc_hidden_weak.
37591         (__fileno): Use libc_hidden_def.
37592         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37593         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37594         alias of __ftello.
37595         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37596         __ftello.
37597         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37598         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37599         libc_hidden_def.
37600         (fread_unlocked): Don't use libc_hidden_ver.
37601         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37602         and define as weak alias of __fread_unlocked.  Don't use
37603         libc_hidden_def.
37604         (__fread_unlocked): Use libc_hidden_def.
37605         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37606         (ftello): Don't use libc_hidden_proto.
37607         (__ftello): Declare.  Use libc_hidden_proto.
37608         (fread_unlocked): Don't use libc_hidden_proto.
37609         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37610         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37611         and __ftello instead of fileno, fread_unlocked and ftello.
37613 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37616         GOT12.
37617         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37618         Likewise.
37619         (_dl_start_user): Likewise.
37620         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37622 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37623             Siddhesh Poyarekar  <siddhesh@redhat.com>
37625         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37626         Move argv and envp down instead of moving argc up.
37627         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37629 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37631         [BZ #17506]
37632         * test-skeleton.c (main): Return successful if one of
37633         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37634         * string/tst-strcoll-overflow.c: Define expected status.
37636 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37638         [BZ #17475]
37639         * locale/iso-639.def: Define Bhili and Tulu language codes.
37641 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37643         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37645 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37647         [BZ #17555]
37648         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37650 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37652         * configure.ac: Updated check of minimal required version to
37653         2.22.
37654         * manual/install.texi (Tools for Compilation): Updated version
37655         number.
37656         * configure: Regenerated.
37657         * INSTALL: Likewise.
37659 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37661         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37662         __tls_get_addr.
37664 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37666         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37667         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37668         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37669         libc_hidden_weak.
37670         (waitpid): Define as alias of __waitpid.
37671         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37672         __waitpid.
37673         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37674         libc_hidden_weak.
37675         (waitpid): Define as alias of __waitpid.
37676         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37677         __libc_waitpid alias.
37678         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37679         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37680         Likewise.
37681         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37682         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37683         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37684         alias.
37685         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37686         __waitpid.
37687         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37688         libc_hidden_weak.
37689         (waitpid): Define as alias of __waitpid.
37691 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37693         * manual/llio.texi: Add comment that write safety has been
37694         fixed in Linux.
37696         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37697         (localplt-build-dso): Add elf/ld.so.
37698         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37699         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37700         and free for ld.so.
37701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37702         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37704         Likewise.
37705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37706         Likewise.
37707         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37708         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37709         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37710         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37711         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37712         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37713         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37714         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37715         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37716         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37717         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37719 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37721         [BZ #14132]
37722         * include/libc-symbols.h (INTUSE): Remove macro.
37723         (INTDEF): Likewise.
37724         (INTVARDEF): Likewise.
37725         (_INTVARDEF): Likewise.
37726         (INTDEF2): Likewise.
37727         (INTVARDEF2): Likewise.
37728         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37729         rtld_hidden_def instead of INTVARDEF.
37730         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37731         (_dl_starting_up_internal): Remove declaration.
37732         (_dl_starting_up): Use rtld_hidden_proto.
37733         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37734         declaration.
37735         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37736         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37737         _dl_starting_up.
37738         * elf/dl-writev.h (_dl_writev): Likewise.
37739         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37740         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37741         _dl_starting_up_internal.
37743 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37745         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37746         test-skeleton.c.
37748 2014-11-05  Will Newton  <will.newton@linaro.org>
37750         * benchtests/Makefile: (bench-malloc): Add malloc thread
37751         scalability benchmark.
37752         * benchtests/bench-malloc-threads.c: New file.
37754 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37756         * sysdeps/aarch64/strchrnul.S: New file.
37758 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37760         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37761         definition.
37762         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37763         Likewise.
37764         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37765         Likewise.
37766         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37767         Likewise.
37768         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37769         Likewise.
37770         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37771         Likewise.
37773 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37775         * catgets/test-gencat.c: Use test-skeleton.c.
37776         * catgets/tst-catgets.c: Likewise.
37777         * csu/tst-empty.c: Likewise.
37778         * elf/tst-audit2.c: Likewise.
37779         * elf/tst-global1.c: Likewise.
37780         * elf/tst-pathopt.c: Likewise.
37781         * elf/tst-piemod1.c: Likewise.
37782         * elf/tst-tls10.c: Likewise.
37783         * elf/tst-tls11.c: Likewise.
37784         * elf/tst-tls12.c: Likewise.
37785         * gnulib/tst-gcc.c: Likewise.
37786         * iconvdata/tst-e2big.c: Likewise.
37787         * iconvdata/tst-loading.c: Likewise.
37788         * iconv/tst-iconv1.c: Likewise.
37789         * iconv/tst-iconv2.c: Likewise.
37790         * inet/test-inet6_opt.c: Likewise.
37791         * inet/tst-gethnm.c: Likewise.
37792         * inet/tst-network.c: Likewise.
37793         * inet/tst-ntoa.c: Likewise.
37794         * intl/tst-codeset.c: Likewise.
37795         * intl/tst-gettext2.c: Likewise.
37796         * intl/tst-gettext3.c: Likewise.
37797         * intl/tst-ngettext.c: Likewise.
37798         * intl/tst-translit.c: Likewise.
37799         * io/test-stat.c: Likewise.
37800         * libio/test-fmemopen.c: Likewise.
37801         * libio/tst-freopen.c: Likewise.
37802         * libio/tst-sscanf.c: Likewise.
37803         * libio/tst-ungetwc1.c: Likewise.
37804         * libio/tst-ungetwc2.c: Likewise.
37805         * libio/tst-widetext.c: Likewise.
37806         * localedata/tst-ctype.c: Likewise.
37807         * localedata/tst-digits.c: Likewise.
37808         * localedata/tst-leaks.c: Likewise.
37809         * localedata/tst-mbswcs1.c: Likewise.
37810         * localedata/tst-mbswcs2.c: Likewise.
37811         * localedata/tst-mbswcs3.c: Likewise.
37812         * localedata/tst-mbswcs4.c: Likewise.
37813         * localedata/tst-mbswcs5.c: Likewise.
37814         * localedata/tst-setlocale.c: Likewise.
37815         * localedata/tst-trans.c: Likewise.
37816         * localedata/tst-wctype.c: Likewise.
37817         * localedata/tst-xlocale1.c: Likewise.
37818         * login/tst-grantpt.c: Likewise.
37819         * malloc/tst-calloc.c: Likewise.
37820         * malloc/tst-malloc.c: Likewise.
37821         * malloc/tst-mallocstate.c: Likewise.
37822         * malloc/tst-mcheck.c: Likewise.
37823         * malloc/tst-mtrace.c: Likewise.
37824         * malloc/tst-obstack.c: Likewise.
37825         * math/atest-exp2.c: Likewise.
37826         * math/atest-exp.c: Likewise.
37827         * math/atest-sincos.c: Likewise.
37828         * math/test-matherr.c: Likewise.
37829         * math/test-misc.c: Likewise.
37830         * math/test-powl.c: Likewise.
37831         * math/tst-definitions.c: Likewise.
37832         * misc/tst-dirname.c: Likewise.
37833         * misc/tst-efgcvt.c: Likewise.
37834         * misc/tst-fdset.c: Likewise.
37835         * misc/tst-hsearch.c: Likewise.
37836         * misc/tst-mntent2.c: Likewise.
37837         * nptl/tst-sem7.c: Likewise.
37838         * nptl/tst-sem8.c: Likewise.
37839         * nptl/tst-sem9.c: Likewise.
37840         * nss/test-netdb.c: Likewise.
37841         * posix/tst-fnmatch.c: Likewise.
37842         * posix/tst-getlogin.c: Likewise.
37843         * posix/tst-gnuglob.c: Likewise.
37844         * posix/tst-mmap.c: Likewise.
37845         * pwd/tst-getpw.c: Likewise.
37846         * resolv/tst-inet_ntop.c: Likewise.
37847         * rt/tst-timer.c: Likewise.
37848         * stdio-common/test-fseek.c: Likewise.
37849         * stdio-common/test-popen.c: Likewise.
37850         * stdio-common/test-vfprintf.c: Likewise.
37851         * stdio-common/tst-cookie.c: Likewise.
37852         * stdio-common/tst-fileno.c: Likewise.
37853         * stdio-common/tst-gets.c: Likewise.
37854         * stdio-common/tst-obprintf.c: Likewise.
37855         * stdio-common/tst-perror.c: Likewise.
37856         * stdio-common/tst-sprintf2.c: Likewise.
37857         * stdio-common/tst-sprintf3.c: Likewise.
37858         * stdio-common/tst-sprintf.c: Likewise.
37859         * stdio-common/tst-swprintf.c: Likewise.
37860         * stdio-common/tst-tmpnam.c: Likewise.
37861         * stdio-common/tst-unbputc.c: Likewise.
37862         * stdio-common/tst-wc-printf.c: Likewise.
37863         * stdlib/tst-environ.c: Likewise.
37864         * stdlib/tst-fmtmsg.c: Likewise.
37865         * stdlib/tst-limits.c: Likewise.
37866         * stdlib/tst-rand48-2.c: Likewise.
37867         * stdlib/tst-rand48.c: Likewise.
37868         * stdlib/tst-random2.c: Likewise.
37869         * stdlib/tst-random.c: Likewise.
37870         * stdlib/tst-strtol.c: Likewise.
37871         * stdlib/tst-strtoll.c: Likewise.
37872         * stdlib/tst-tls-atexit.c: Likewise.
37873         * stdlib/tst-xpg-basename.c: Likewise.
37874         * string/test-ffs.c: Likewise.
37875         * string/tst-bswap.c: Likewise.
37876         * string/tst-inlcall.c: Likewise.
37877         * string/tst-strtok.c: Likewise.
37878         * string/tst-strxfrm.c: Likewise.
37879         * sysdeps/x86_64/tst-audit10.c: Likewise.
37880         * sysdeps/x86_64/tst-audit3.c: Likewise.
37881         * sysdeps/x86_64/tst-audit4.c: Likewise.
37882         * sysdeps/x86_64/tst-audit5.c: Likewise.
37883         * time/tst-ftime_l.c: Likewise.
37884         * time/tst-getdate.c: Likewise.
37885         * time/tst-mktime3.c: Likewise.
37886         * time/tst-mktime.c: Likewise.
37887         * time/tst-posixtz.c: Likewise.
37888         * time/tst-strptime2.c: Likewise.
37889         * time/tst-strptime3.c: Likewise.
37890         * wcsmbs/tst-btowc.c: Likewise.
37891         * wcsmbs/tst-mbrtowc.c: Likewise.
37892         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37893         * wcsmbs/tst-wchar-h.c: Likewise.
37894         * wcsmbs/tst-wcpncpy.c: Likewise.
37895         * wcsmbs/tst-wcrtomb.c: Likewise.
37896         * wcsmbs/tst-wcsnlen.c: Likewise.
37897         * wcsmbs/tst-wcstof.c: Likewise.
37899 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37901         [BZ #14132]
37902         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37903         INTDEF.
37904         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37905         declaration.
37906         (_dl_mcount): Use rtld_hidden_proto.
37907         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37908         _dl_mcount.
37909         * elf/rtld.c (_rtld_global_ro): Likewise.
37911         [BZ #14132]
37912         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37913         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37914         of _dl_init_internal.
37915         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37916         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37917         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37918         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37919         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37920         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37921         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37922         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37923         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37924         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37925         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37926         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37927         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37928         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37929         * sysdeps/tile/dl-start.S (_start): Likewise.
37930         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37931         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37933         [BZ #14132]
37934         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37935         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37936         (rtld_progname): Make macro definition unconditional.
37937         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37938         INTDEF.
37939         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37940         (dl_main): Likewise.
37941         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37942         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37943         instead of _dl_argv_internal.
37944         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37945         __GI__dl_argv instead of INTUSE(_dl_argv).
37946         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37947         __GI__dl_argv instead of _dl_argv_internal.
37949         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37950         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37951         macro.
37952         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37953         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37954         New macro.
37955         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37956         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37957         macro.
37958         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37959         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37961 2014-11-04  Andreas Schwab  <schwab@suse.de>
37963         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37965 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37967         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37968         mtvsrd instruction in binary form.
37970 2014-11-03  Andreas Schwab  <schwab@suse.de>
37972         [BZ #17522]
37973         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37974         for less than MB_LEN_MAX use a local buffer of that size.
37975         * libio/tst-fputws.c: New file.
37976         * libio/Makefile (tests): Add tst-fputws.
37978 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37980         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37981         the size of the fpu_fr.fpu_dregs[] array.
37983 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37985         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37986         (__nanosleep): Do not define as alias.
37987         (nanosleep): Define as alias of __nanosleep.
37988         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37989         __libc_nanosleep name.
37991 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37993         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37994         install.texi in comment.
37996 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37998         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37999         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38000         ... add here and use lwsync or sync ...
38001         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38002         ... and add here using lwsync.
38004 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38006         * elf/dl-machine-reject-phdr.h: New file.
38007         * elf/dl-load.c: #include that.
38008         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38009         if that returned true.
38011 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38013         [BZ #17496]
38014         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38015         gen-as-const-headers chunk.  Add a big scare comment after the last
38016         safe place to touch before-compile.
38018 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38020         * manual/install.texi (Tools for Compilation): Update autoconf
38021         version requirements.
38022         * INSTALL: Regenerated.
38024         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38025         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38026         (__libc_pselect): Likewise.
38028         [BZ #14138]
38029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38034 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38036         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38037         correct barrier instruction.
38038         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38039         Likewise.
38040         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38041         Likewise.
38043 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38045         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38046         after defining inlines.  Instead, just use parens to defeat macro
38047         expansion of __isctype in its declaration.
38049 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38051         * include/sys/uio.h (__libc_readv): Remove declaration.
38052         (__libc_writev): Likewise.
38053         * misc/readv.c (__libc_readv): Rename to __readv.
38054         (__readv): Do not define as alias.
38055         (readv): Define as alias of __readv.
38056         * misc/writev.c (__libc_writev): Rename to __writev.
38057         (__writev): Do not define as alias.
38058         (writev): Define as alias of __writev.
38059         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38060         (__readv): Do not define as alias.
38061         (readv): Define unconditionally as alias of __readv.
38062         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38063         (__writev): Do not define as alias.
38064         (writev): Define unconditionally as alias of __writev.
38065         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38066         name.
38067         (writev): Do not define __libc_writev name.
38069 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38071         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38072         (convert_charseq): New function, broken out of ...
38073         (use_from_charmap): ... here.  Call it.
38074         (use_to_charmap): Use convert_charseq and free instead of duplicating
38075         its code with a variable-length stack struct.
38077 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38079         * include/fcntl.h (__libc_creat): Remove declaration.
38080         * io/creat.c (__libc_creat): Rename to creat.
38081         (creat): Do not define as alias.
38082         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38083         of creat instead of __libc_creat.
38084         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38085         to creat.
38086         (creat): Do not define as alias.
38087         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38088         __libc_creat.
38089         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38090         __libc_creat name.
38091         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38092         Likewise.
38094 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38096         * manual/llio.texi: Add comments discussing why write() may be
38097         considered MT-unsafe on Linux.
38099 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38101         * dl-load.c (local_strdup): Remove.
38102         (expand_dynamic_string_token): Use __strdup.
38103         (decompose_rpath): Likewise.
38104         (_dl_map_object): Likewise.
38106 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38108         [BZ #14132]
38109         * sysdeps/generic/unwind-dw2-fde.c
38110         (__register_frame_info_bases_internal): Do not declare.
38111         (__register_frame_info_table_bases_internal): Likewise.
38112         (__deregister_frame_info_bases_internal): Likewise.
38113         (__register_frame_info_bases): Declare and use hidden_proto before
38114         definition.  Use hidden_def instead of INTDEF.
38115         (__register_frame_info_table_bases): Likewise.
38116         (__deregister_frame_info_bases): Likewise.
38117         (__register_frame_info): Do not use INTUSE.
38118         (__register_frame): Likewise.
38119         (__register_frame_info_table): Likewise.
38120         (__register_frame_table): Likewise.
38121         (__deregister_frame_info): Likewise.
38122         (__deregister_frame): Likewise.
38124 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38126         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38127         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38128         not undefine.
38129         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38130         Likewise.
38131         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38132         Likewise.
38134 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38136         [BZ #14138]
38137         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38138         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38139         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38140         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38141         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38142         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38143         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38144         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38145         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38146         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38147         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38148         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38149         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38150         syscall.
38151         (setfsuid): Likewise.
38152         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38153         (setfsuid): Likewise.
38154         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38155         (setfsuid): Likewise.
38156         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38157         Likewise.
38158         (setfsuid): Likewise.
38159         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38160         (setfsuid): Likewise.
38161         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38162         Likewise.
38163         (setfsuid): Likewise.
38165 2014-10-27  Andreas Schwab  <schwab@suse.de>
38167         [BZ #17501]
38168         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38169         check for Slow_SSE4_2 feature bit.
38170         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38171         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38172         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38173         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38175 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38177         * configure.ac: Validate compiler version with a empirical test of
38178         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38179         $CC -v output.
38180         * configure: Regenerated.
38182         * inet/htons.c (htons): Prototypify.
38183         * inet/htonl.c (htonl): Likewise.
38185 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38187         * string/strncat.c (strncat): Improve performance by using strlen.
38189 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38191         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38193 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38195         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38196         Call libc_fetestexcept_aarch64.
38198 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38200         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38201         Call libc_feholdexcept_aarch64.
38203 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38205         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38206         Call get_rounding_mode.
38208 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38210         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38211         Simplify logic.
38213 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38215         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38216         Simplify logic.
38218 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38220         [BZ #14138]
38221         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38222         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38223         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38224         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38225         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38226         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38227         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38228         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38229         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38230         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38231         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38232         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38233         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38234         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38235         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38236         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38237         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38238         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38239         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38240         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38241         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38242         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38243         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38244         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38245         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38246         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38247         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38248         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38249         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38250         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38251         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38252         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38253         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38254         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38255         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38256         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38257         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38258         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38259         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38260         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38261         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38262         syscall.
38263         (geteuid): Likewise.
38264         (getgid): Likewise.
38265         (getuid): Likewise.
38266         (getresgid): Likewise.
38267         (getresuid): Likewise.
38268         (getgroups): Likewise.
38269         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38270         (geteuid): Likewise.
38271         (getgid): Likewise.
38272         (getuid): Likewise.
38273         (getresgid): Likewise.
38274         (getresuid): Likewise.
38275         (getgroups): Likewise.
38276         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38277         (geteuid): Likewise.
38278         (getgid): Likewise.
38279         (getuid): Likewise.
38280         (getresgid): Likewise.
38281         (getresuid): Likewise.
38282         (getgroups): Likewise.
38283         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38284         Likewise.
38285         (geteuid): Likewise.
38286         (getgid): Likewise.
38287         (getuid): Likewise.
38288         (getresgid): Likewise.
38289         (getresuid): Likewise.
38290         (getgroups): Likewise.
38291         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38292         (geteuid): Likewise.
38293         (getgid): Likewise.
38294         (getuid): Likewise.
38295         (getresgid): Likewise.
38296         (getresuid): Likewise.
38297         (getgroups): Likewise.
38298         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38299         Likewise.
38300         (geteuid): Likewise.
38301         (getgid): Likewise.
38302         (getuid): Likewise.
38303         (getgroups): Likewise.
38305         [BZ #14138]
38306         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38307         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38308         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38309         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38310         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38311         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38312         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38313         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38314         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38315         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38316         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38317         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38318         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38319         __chown.
38320         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38321         (lchown): Likewise.
38322         (fchown): Likewise.
38323         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38324         Likewise.
38325         (lchown): Likewise.
38326         (fchown): Likewise.
38327         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38328         (lchown): Likewise.
38329         (fchown): Likewise.
38330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38331         Likewise.
38332         (lchown): Likewise.
38333         (fchown): Likewise.
38335 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38337         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38338         Simplify logic.
38340 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38342         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38343         Cleanup logic.
38345 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38347         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38348         Remove unused include.
38350 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38352         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38353         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38354         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38355         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38357 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38358             Helge Deller <deller@gmx.de>
38360         [BZ #17508]
38361         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38362         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38363         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38365 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38367         [BZ #14132]
38368         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38369         Remove macro definition.
38370         (__ashrdi3_v_glibc20): Likewise.
38371         (__lshrdi3_v_glibc20): Likewise.
38372         (__cmpdi2_v_glibc20): Likewise.
38373         (__ucmpdi2_v_glibc20): Likewise.
38374         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38375         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38376         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38377         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38378         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38379         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38381 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38383         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38384         old GNU extension [0] syntax.
38385         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38386         alloca rather than an array member with variable length.
38387         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38388         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38389         (parse_opt): ... here.  Likewise use alloca there.
38390         Validate the -i argument before checking for rootness.
38391         (send_shutdown): New function, broken out of ...
38392         (parse_opt): ... here.
38394 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38396         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38397         macro to get at the _rt_local_ro field.
38398         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38399         ([PIC] case) or _dl_hwcap ([!PIC] case).
38400         * sysdeps/arm/setjmp.S: Likewise.
38402         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38403         * sysdeps/arm/configure.ac: New check to define it.
38404         * sysdeps/arm/configure: Regenerated.
38405         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38406         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38407         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38408         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38409         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38410         Use move/movt pair instead of a load.
38411         (LDST_GLOBAL): Macro removed.
38412         (LDR_GLOBAL): New macro replaces it.
38413         (LDR_HIDDEN): New macro.
38414         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38415         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38417         * setjmp/tst-setjmp-static.c: New file.
38418         * setjmp/Makefile (tests): Add it.
38419         (tests-static): New variable.
38421 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38423         [BZ #17485]
38424         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38426 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38428         [BZ #14132]
38429         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38431 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38433         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38435 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38437         * io/fts.c (dirent_not_directory): New function.
38438         (fts_build): Call it.
38440 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38442         * nptl/version.c (__nptl_main): Use normal __write rather than
38443         INTERNAL_SYSCALL.
38444         (banner): Update copyright years.
38446         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38447         gettimeofday.
38448         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38449         * nptl/pthread_cond_timedwait.c: Likewise.
38450         * nptl/pthread_mutex_timedlock.c: Likewise.
38451         * nptl/sem_timedwait.c: Likewise.
38453         * sysdeps/nptl/bits/libc-lock.h
38454         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38455         (__libc_lock_init_recursive): Return void, not 0.
38456         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38457         (__libc_rwlock_init): Likewise.
38458         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38460 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38462         [BZ #15215]
38463         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38464         (__pthread_once_slow): ... here.
38465         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38466         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38468 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38470         [BZ #15215]
38471         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38472         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38473         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38474         * nptl/pthread_once.c (__pthread_once): Likewise.
38475         Update comments.
38477 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38479         [BZ #14138]
38480         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38481         name.
38482         (writev): Use __libc_writev as strong name.
38483         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38484         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38486 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38488         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38490         * sysdeps/i386/nptl/tls.h
38491         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38492         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38493         New macros.
38494         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38495         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38496         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38497         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38498         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38499         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38501         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38502         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38503         on [__NR_futex].
38504         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38505         broken out of ...
38506         (__pthread_mutex_init): ... here.  Call it.
38507         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38508         Conditionalize PI cases on [__NR_futex].
38509         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38510         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38511         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38513         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38514         conditional on [SIGSETXID].
38515         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38516         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38517         is defined.  Likewise for SIGSETXID.
38518         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38519         Conditionalize definitions on [SIGSETXID].
38520         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38521         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38522         unblocking on [SIGCANCEL].
38524         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38525         [__NR_set_robust_list].
38527 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38529         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38530         (do_compare): Likewise.
38532 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38534         [BZ #15884]
38535         * string/strcoll_l.c: Don't include stdio.h.
38536         (coll_seq): Remove members idxarr and rulearr.
38537         (get_next_seq_cached): Remove function.
38538         (get_next_seq): Likewise.
38539         (get_next_seq_nocache): Rename to get_next_seq.
38540         (do_compare): Remove function.
38541         (do_compare_nocache): Rename to do_compare.
38542         (STRCOLL): Remove weight and rules cache.
38544 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38546         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38547         * sysdeps/arm/sfp-machine.h: ... to here.
38548         * sysdeps/arm/Implies: Remove arm/soft-fp.
38550 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38552         * conform/data/sys/utsname.h-data (*_t): Allow.
38553         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38554         [POSIX] (WEXITED): Do not expect constant.
38555         [POSIX] (WSTOPPED): Likewise.
38556         [POSIX] (WNOHANG): Likewise.
38557         [POSIX] (WNOWAIT): Likewise.
38558         [POSIX] (siginfo_t): Do not expect type or elements.
38559         [POSIX] (pid_t): Do not expect type.
38560         [POSIX] (signal.h): Do not allow header.
38561         [POSIX] (sys/resource.h): Likewise.
38562         [POSIX] (si_*): Do not allow pattern.
38563         [POSIX] (W*): Likewise.
38564         [POSIX] (P_*): Likewise.
38565         [POSIX] (BUS_*): Likewise.
38566         [POSIX] (CLD_*): Likewise.
38567         [POSIX] (FPE_*): Likewise.
38568         [POSIX] (ILL_*): Likewise.
38569         [POSIX] (POLL_*): Likewise.
38570         [POSIX] (SEGV_*): Likewise.
38571         [POSIX] (SI_*): Likewise.
38572         [POSIX] (TRAP_*): Likewise.
38573         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38574         variable.
38576 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38578         [BZ #12926]
38579         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38580         infinite loop when __recvmsg returns 0.
38582 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38584         * CANCEL-FCT-WAIVE: Remove file.
38585         * CANCEL-FILE-WAIVE: Likewise.
38587         [BZ #14132]
38588         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38589         instead of INTVARDEF.
38590         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38591         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38592         rtld_hidden_data_def instead of INTVARDEF.
38593         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38594         * elf/dl-deps.c (expand_dst): Likewise.
38595         * elf/dl-load.c (_dl_dst_count): Likewise.
38596         (_dl_dst_substitute): Likewise.
38597         (decompose_rpath): Likewise.
38598         (_dl_init_paths): Likewise.
38599         (open_path): Likewise.
38600         (_dl_map_object): Likewise.
38601         * elf/rtld.c (dl_main): Likewise.
38602         (process_dl_audit): Likewise.
38603         (process_envvars): Likewise.
38604         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38605         Remove declaration.
38606         (__libc_enable_secure): Use rtld_hidden_proto.
38608 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38610         * elf/dl-load.c
38611         (add_path): New function broken out of _dl_rtld_di_serinfo.
38612         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38614 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38616         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38617         parentheses around macro arguments.
38618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38624         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38629         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38630         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38631         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38632         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38633         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38634         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38647         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38648         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38650         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38651         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38652         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38653         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38654         Likewise.
38655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38662         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38663         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38664         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38666         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38667         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38668         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38676         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38677         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38678         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38679         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38680         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38681         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38682         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38683         (_FP_FRAC_SRS_1): Likewise.
38684         (_FP_FRAC_CLZ_1): Likewise.
38685         (_FP_MUL_MEAT_1_imm): Likewise.
38686         (_FP_MUL_MEAT_1_wide): Likewise.
38687         (_FP_MUL_MEAT_1_hard): Likewise.
38688         (_FP_SQRT_MEAT_1): Likewise.
38689         (_FP_FRAC_ASSEMBLE_1): Likewise.
38690         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38691         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38692         (__FP_CLZ_2): Likewise.
38693         (_FP_MUL_MEAT_2_wide): Likewise.
38694         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38695         (_FP_MUL_MEAT_2_gmp): Likewise.
38696         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38697         (_FP_SQRT_MEAT_2): Likewise.
38698         (_FP_FRAC_ASSEMBLE_2): Likewise.
38699         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38700         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38701         (_FP_FRAC_CLZ_4): Likewise.
38702         (_FP_MUL_MEAT_4_wide): Likewise.
38703         (_FP_MUL_MEAT_4_gmp): Likewise.
38704         (_FP_SQRT_MEAT_4): Likewise.
38705         (_FP_FRAC_ASSEMBLE_4): Likewise.
38706         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38707         * soft-fp/op-common.h (_FP_CMP): Likewise.
38708         (_FP_CMP_EQ): Likewise.
38709         (_FP_CMP_UNORD): Likewise.
38710         (_FP_TO_INT): Likewise.
38711         (_FP_FROM_INT): Likewise.
38712         [!__FP_CLZ] (__FP_CLZ): Likewise.
38713         (_FP_DIV_HELP_imm): Likewise.
38714         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38715         Likewise.
38716         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38717         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38721         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38722         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38726         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38727         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38729         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38730         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38731         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38732         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38734         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38736         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38740         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38744         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38745         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38747         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38748         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38749         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38750         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38751         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38752         (FP_UNPACK_RAW_SP): Likewise.
38753         (FP_PACK_RAW_S): Likewise.
38754         (FP_PACK_RAW_SP): Likewise.
38755         (FP_UNPACK_S): Likewise.
38756         (FP_UNPACK_SP): Likewise.
38757         (FP_UNPACK_SEMIRAW_S): Likewise.
38758         (FP_UNPACK_SEMIRAW_SP): Likewise.
38759         (FP_PACK_S): Likewise.
38760         (FP_PACK_SP): Likewise.
38761         (FP_PACK_SEMIRAW_S): Likewise.
38762         (FP_PACK_SEMIRAW_SP): Likewise.
38763         (_FP_SQRT_MEAT_S): Likewise.
38764         (FP_CMP_S): Likewise.
38765         (FP_CMP_EQ_S): Likewise.
38766         (FP_CMP_UNORD_S): Likewise.
38767         (FP_TO_INT_S): Likewise.
38768         (FP_FROM_INT_S): Likewise.
38770         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38772         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38773         (FP_EX_INVALID_IMZ): Likewise.
38774         (FP_EX_INVALID_IMZ_FMA): Likewise.
38775         (FP_EX_INVALID_ISI): Likewise.
38776         (FP_EX_INVALID_ZDZ): Likewise.
38777         (FP_EX_INVALID_IDI): Likewise.
38778         (FP_EX_INVALID_SQRT): Likewise.
38779         (FP_EX_INVALID_CVI): Likewise.
38780         (FP_EX_INVALID_VC): Likewise.
38781         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38782         "invalid" exceptions.
38783         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38784         (_FP_ADD_INTERNAL): Likewise.
38785         (_FP_MUL): Likewise.
38786         (_FP_FMA): Likewise.
38787         (_FP_DIV): Likewise.
38788         (_FP_CMP_CHECK_NAN): Likewise.
38789         (_FP_SQRT): Likewise.
38790         (_FP_TO_INT): Likewise.
38791         (FP_EXTEND): Likewise.
38793 2014-10-09  Allan McRae  <allan@archlinux.org>
38795         * po/fr.po: Update French translation from translation project.
38797 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38799         [BZ #14132]
38800         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38801         of INTDEF.
38802         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38803         (__cxa_atexit): Use libc_hidden_proto.
38804         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38806         [BZ #14132]
38807         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38808         declaration.
38809         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38810         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38811         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38812         [!_ISOMAC] (__iswctype_internal): Likewise.
38813         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38814         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38815         alias.
38816         (fcntl): Remove __fcntl_internal alias.
38817         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38818         __connect_internal alias.
38819         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38820         Likewise.
38822         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38823         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38824         FP_DENORM_ZERO.
38825         (_FP_CHECK_FLUSH_ZERO): New macro.
38826         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38827         (_FP_CMP): Likewise.
38828         (_FP_CMP_EQ): Likewise.
38829         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38830         FP_DENORM_ZERO.
38831         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38832         (FP_TRUNC): Likewise.
38834         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38835         treated as invalid conversion, not as normal exponent.
38837         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38838         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38839         (_FP_CMP_EQ): Likewise.
38840         (_FP_CMP_UNORD): Likewise.
38841         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38842         (FP_CMP_EQ_D): Likewise.
38843         (FP_CMP_UNORD_D): Likewise.
38844         * soft-fp/extended.h (FP_CMP_E): Likewise.
38845         (FP_CMP_EQ_E): Likewise.
38846         (FP_CMP_UNORD_E): Likewise.
38847         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38848         (FP_CMP_EQ_Q): Likewise.
38849         (FP_CMP_UNORD_Q): Likewise.
38850         * soft-fp/single.h (FP_CMP_S): Likewise.
38851         (FP_CMP_EQ_S): Likewise.
38852         (FP_CMP_UNORD_S): Likewise.
38853         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38854         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38855         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38856         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38857         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38858         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38859         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38860         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38861         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38862         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38863         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38864         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38865         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38866         to FP_CMP_Q.
38867         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38868         FP_CMP_Q.
38869         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38870         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38871         FP_CMP_EQ_Q.
38872         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38873         FP_CMP_Q.
38874         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38875         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38876         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38877         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38878         FP_CMP_EQ_Q.
38879         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38880         FP_CMP_Q.
38881         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38882         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38883         FP_CMP_EQ_Q.
38884         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38885         FP_CMP_Q.
38886         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38887         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38888         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38889         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38890         FP_CMP_EQ_Q.
38892         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38893         a subnormal result, set the underflow exception if trapping on
38894         underflow is enabled.
38895         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38896         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38897         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38898         redefine to 0.
38899         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38900         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38901         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38902         * soft-fp/extendxftf2.c (__extendxftf2): Use
38903         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38905         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38906         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38907         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38908         FP_HANDLE_EXCEPTIONS.
38909         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38910         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38911         FP_HANDLE_EXCEPTIONS.
38912         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38913         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38914         FP_HANDLE_EXCEPTIONS.
38915         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38916         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38917         FP_HANDLE_EXCEPTIONS.
38919 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38921         [BZ #14132]
38922         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38923         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38924         use INTUSE.
38925         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38926         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38927         Remove alias.
38928         (__adjtimex): Define using libc_hidden_ver.
38929         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38930         Remove declaration.
38931         (ntp_gettime): Call __adjtimex directly.
38932         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38933         Remove declaration.
38934         (ntp_gettimex): Call __adjtimex directly.
38935         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38936         __adjtimex_internal alias.
38938 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38940         [BZ #17460]
38941         * nscd/nscd.c (more_help): Rewrite list of tables collection
38942         using xstrdup and asprintf.
38944         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38946 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38947             Roland McGrath  <roland@hack.frob.com>
38949         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38950         (do_lookup_unique): ... local function 'enter' here; update callers.
38952 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38954         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38955         compat_symbol calls on [SHARED].
38956         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38957         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38958         Remove.
38959         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38960         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38961         (oldsetrlimit): Remove.
38962         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38964         (lchown): New syscall entry.
38965         (oldsetrlimit): Remove.
38966         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38967         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38968         (oldsetrlimit): Remove.
38969         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38971         [BZ #14138]
38972         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38973         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38974         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38975         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38976         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38977         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38978         (fchown): Likewise.
38979         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38980         (fchown): Likewise.
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38982         Likewise.
38984 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38986         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38987         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38988         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38989         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38990         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38991         Likewise.
38992         (__old_sem_post): Likewise.
38994 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38996         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38997         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38998         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38999         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39000         Use INLINE_VSYSCALL macro.
39001         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39002         __vdso_clock_gettime.
39003         * sysdeps/unix/sysv/linux/tile/init-first.c
39004         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39005         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39006         __vdso_clock_gettime.
39008         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39009         to set up frame more cleanly.
39011         * sysdeps/tile/memcmp.c: New file.
39013         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39015         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39016         * sysdeps/tile/tilegx/strcasestr.c: New file.
39017         * sysdeps/tile/tilegx/strnlen.c: New file.
39018         * sysdeps/tile/tilegx/strstr.c: New file.
39020         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39022 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39024         * nptl/tst-setuid3.c: Write errors to stdout.
39026 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39028         * elf/dl-deps.c
39029         (preload): New functions broken out of _dl_map_object_deps.
39030         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39032 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39034         [BZ #14138]
39035         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39036         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39038 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39040         * sysdeps/mips/strcmp.S: New.
39042 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39044         [BZ #14138]
39045         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39046         (linkat): Likewise.
39047         (mkdirat): Likewise.
39048         (readlinkat): Likewise.
39049         (renameat): Likewise.
39050         (symlinkat): Likewise.
39051         (unlinkat): Likewise.
39052         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39053         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39054         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39055         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39056         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39057         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39058         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39060 2014-09-30  Will Newton  <will.newton@linaro.org>
39062         * math/math.h: Define long double math functions if
39063         _LIBC_TEST is defined.
39064         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39066         * localedata/Makefile: Move assignment to tests-special
39067         into an ifdef testing run-built-tests.
39068         * timezone/Makefile: Likewise.
39070 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39072         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39073         with $(BASH) not $(SHELL).
39075 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39076             Matthew LeGendre  <legendre1@llnl.gov>
39078         [BZ #17411]
39079         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39080         l_reloc_result.
39082 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39084         * stdio-common/printf_fp.c
39085         (hack_digit): New function, broken out of ...
39086         (__printf_fp): ... local function here.  Update call sites.
39087         hack_digit now takes an additional parameter that is a pointer
39088         to a struct of the referenced locals.  Those locals moved inside
39089         the struct and references updated.
39091 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39093         * aclocal.m4: Require autoconf 2.69.
39094         * configure: Regenerated.
39095         * sysdeps/aarch64/configure: Likewise.
39096         * sysdeps/alpha/configure: Likewise.
39097         * sysdeps/arm/armv7/configure: Likewise.
39098         * sysdeps/arm/configure: Likewise.
39099         * sysdeps/ia64/configure: Likewise.
39100         * sysdeps/mach/configure: Likewise.
39101         * sysdeps/mips/configure: Likewise.
39102         * sysdeps/s390/configure: Likewise.
39103         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39106         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39107         file.
39108         * sysdeps/ia64/configure.ac: Likewise.
39110 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39113         specify symbol version for ld.so.  Do not include entry for
39114         libpthread.
39115         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39116         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39117         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39119         [BZ #14171]
39120         * Makeconfig [$(build-shared) = yes]
39121         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39122         makefiles.
39123         [$(build-shared) = yes && $(soversions.mk-done) = t]
39124         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39125         [$(build-shared) = yes && $(soversions.mk-done) = t]
39126         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39127         to Makerules.
39128         [$(build-shared) = yes && $(soversions.mk-done) = t]
39129         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39130         here.
39131         [$(build-shared) = yes && $(soversions.mk-done) = t]
39132         (common-generated): Don't append gnu/lib-names.h and
39133         gnu/lib-names.stmp here.
39134         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39135         (lib-names-h-abi): New variable.
39136         [$(build-shared) = yes && $(soversions.mk-done) = t]
39137         (lib-names-stmp-abi): Likewise.
39138         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39139         abi-variants] (before-compile): Append
39140         $(common-objpfx)$(lib-names-h-abi).
39141         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39142         abi-variants] (common-generated): Append gnu/lib-names.h.
39143         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39144         abi-variants] (install-others-nosubdir): Depend on
39145         $(inst_includedir)/$(lib-names-h-abi).
39146         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39147         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39148         [$(build-shared) = yes && $(soversions.mk-done) = t]
39149         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39150         [$(build-shared) = yes && $(soversions.mk-done) = t]
39151         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39152         [$(build-shared) = yes && $(soversions.mk-done) = t]
39153         (common-generated): Append $(lib-names-h-abi) and
39154         $(lib-names-stmp-abi).
39155         * scripts/lib-names.awk: Do not handle multi being set.
39156         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39157         Remove variable.
39158         (abi-lp64_be-ld-soname): Likewise.
39159         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39160         Likewise.
39161         (abi-hard-ld-soname): Likewise.
39162         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39163         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39164         Remove variable.
39165         (abi-o32_hard-ld-soname): Likewise.
39166         (abi-o32_soft_2008-ld-soname): Likewise.
39167         (abi-o32_hard_2008-ld-soname): Likewise.
39168         (abi-n32_soft-ld-soname): Likewise.
39169         (abi-n32_hard-ld-soname): Likewise.
39170         (abi-n32_soft_2008-ld-soname): Likewise.
39171         (abi-n32_hard_2008-ld-soname): Likewise.
39172         (abi-n64_soft-ld-soname): Likewise.
39173         (abi-n64_hard-ld-soname): Likewise.
39174         (abi-n64_soft_2008-ld-soname): Likewise.
39175         (abi-n64_hard_2008-ld-soname): Likewise.
39176         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39177         Likewise.
39178         (abi-64-v2-ld-soname): Likewise.
39179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39180         ld.so entries.
39181         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39182         variable.
39183         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39184         entry.
39185         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39186         variable.
39187         (abi-64-ld-soname): Likewise.
39188         (abi-x32-ld-soname): Likewise.
39189         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39190         entry.
39191         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39193 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39195         [BZ #14138]
39196         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39197         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39198         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39199         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39200         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39201         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39202         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39203         syscall entry for GLIBC_2.2 symbol version.
39204         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39205         Likewise.
39206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39207         (setrlimit): Likewise.
39208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39209         Likewise.
39211 2014-09-23  Will Newton  <will.newton@linaro.org>
39213         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39214         _LINUX_ARM_SYSDEP_H include guard too.
39215         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39216         define.
39218 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39220         * sysdeps/unix/sysv/linux/eventfd.c:
39221         Make first argument unsigned.
39222         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39223         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39225 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39227         [BZ #16852]
39228         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39229         * socket/sys/socket.h: Likewise.
39230         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39232 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39234         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39236 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39238         * time/tst-ftime.c: New test.
39239         * time/Makefile (tests): Add tst-ftime.
39241 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39243         * soft-fp/extended.h: Fix comment formatting.
39244         * soft-fp/op-1.h: Likewise.
39245         * soft-fp/op-2.h: Likewise.
39246         * soft-fp/op-4.h: Likewise.
39247         * soft-fp/op-8.h: Likewise.
39248         * soft-fp/op-common.h: Likewise.
39249         * soft-fp/soft-fp.h: Likewise.
39251         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39253 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39255         [BZ #6652]
39256         * Makeconfig (soversions-default-setname): Remove variable.
39257         ($(common-objpfx)soversions.i): Don't pass default_setname to
39258         soversions.awk.
39259         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39260         oldest_abi to abi-versions.awk.
39261         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39262         * config.make.in (oldest-abi): Remove variable.
39263         * configure.ac (--enable-oldest-abi): Remove configure option.
39264         * configure: Regenerated.
39265         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39266         text.
39267         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39268         * scripts/soversions.awk: Do not handle default_setname variable.
39269         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39270         variable.
39271         * sysdeps/mach/hurd/configure: Regenerated.
39272         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39273         variable.
39274         * sysdeps/unix/sysv/linux/configure: Regenerated.
39276 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39278         * elf/Makefile (CFLAGS-interp.c): Remove.
39279         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39280         path string.
39281         * elf/interp.c: Include generated runtime-linker.h
39283         * Makerules (lib%.so): Don't include $(+interp) in
39284         prerequisites.
39285         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39286         * dlfcn/eval.c: Remove file.
39288         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39289         macros.
39291         [BZ #17266]
39292         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39293         4.2 and newer.
39295         [BZ #17370]
39296         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39298 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39299             Jakub Jelinek  <jakub@redhat.com>
39301         [BZ #17266]
39302         * libio/stdio.h: Check definition of __fortify_function
39303         instead of __extern_always_inline to include bits/stdio2.h.
39304         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39305         check if __extern_always_inline is defined.
39306         [__USE_MISC || __USE_XOPEN]: Likewise.
39307         [__USE_ISOC99] Likewise.
39308         * misc/sys/cdefs.h (__fortify_function): Define only if
39309         __extern_always_inline is defined.
39310         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39311         __extern_always_inline and __extern_inline only for g++-4.3
39312         and newer or a compatible gcc.
39314 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39316         [BZ #17371]
39317         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39318         last change to handle zero prefix length.
39320 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39322         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39323         _SC_REGEX_VERSION.
39325         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39326         _POSIX_RAW_SOCKETS.
39328 2014-09-13  Allan McRae  <allan@archlinux.org>
39330         * po/ru.po: Update Russian translation from translation project.
39332 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39334         * locale/programs/locale.c (show_locale_vars): Inline local function
39335         into its sole call site.  Clean up some style nits.
39336         (print_item): New function, broken out of ...
39337         (show_info): ... local function here.  Clean up style nits.
39339         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39340         out of ...
39341         (set_class_defaults): ... local function set_default here.
39342         Define set_default as a macro locally to pass constant parameters.
39343         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39344         rather than a shared local.
39346         * stdlib/rpmatch.c (try): New function, broken out of ...
39347         (rpmatch): ... local function here.  Also, prototypify definition.
39349 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39351         * scripts/soversions.awk: Do not handle configuration names.
39352         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39353         vendor and os variables to soversions.awk.
39354         * configure.ac: Do not modify gnu-* host_os.
39355         * configure: Regenerated
39356         * shlib-versions: Remove first column with configuration names.
39357         * nptl/shlib-versions: Likewise.
39358         * nptl_db/shlib-versions: Likewise.
39359         * sysdeps/hppa/shlib-versions: Likewise.
39360         * sysdeps/m68k/shlib-versions: Likewise.
39361         * sysdeps/mach/hurd/shlib-versions: Likewise.
39362         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39363         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39364         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39365         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39366         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39367         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39368         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39369         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39371         Likewise.
39372         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39373         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39374         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39375         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39376         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39377         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39378         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39382         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39384         Regenerated.
39385         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39387         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39389         * shlib-versions: Remove OS-specific entries.  Moved to files in
39390         sysdeps.
39391         * sysdeps/mach/hurd/shlib-versions: New file.
39392         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39394         * nptl/shlib-versions: Remove architecture-specific entries.
39395         Moved to files in sysdeps.
39396         * shlib-versions: Likewise.
39397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39398         file.
39399         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39400         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39401         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39402         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39404         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39405         (UDP_NO_CHECK6_RX): Likewise.
39407 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39409         * sysdeps/posix/sysconf.c (__sysconf): Spell
39410         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39412 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39414         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39415         loading.
39416         * iconv/Versions (__gconv_transliterate): Export for use from
39417         gconv modules.
39418         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39419         (struct __gconv_trans_data, __gconv_trans_fct,
39420         __gconv_trans_context_fct, __gconv_trans_query_fct,
39421         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39422         definitions.
39423         (struct __gconv_step_data): Remove __trans member.
39424         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39425         longer hidden.  Remove unused trans_data argument.
39426         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39427         (__gconv_translit_find): Remove declaration.
39428         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39429         prototype.
39430         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39431         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39432         trans_data argument.  Add hidden definition.
39433         (__gconv_translit_find): Remove.
39434         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39435         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39436         * iconv/skeleton.c: Remove transliteration initialization.
39437         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39438         __gconv_step_data initialization.
39439         * libio/iofwide.c (__libio_translit_): Remove.
39440         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39441         * wcsmbs/btowc.c (__btowc): Likewise.
39442         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39443         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39444         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39445         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39446         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39447         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39448         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39449         * wcsmbs/wctob.c (wctob): Likewise.
39451 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39453         [BZ #16194]
39454         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39455         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39456         register usage.
39457         * sysdeps/x86/Makefile: Adjust.
39459 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39460             Roland McGrath  <roland@hack.frob.com>
39462         * locale/weight.h: Add include guard.
39463         (findidx): Make static rather than auto; take new parameters
39464         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39465         * locale/weightwc.h: Likewise.
39466         * posix/fnmatch_loop.c
39467         (FCT): Change type of EXTRA from int32_t to wint_t.
39468         Don't include either header inside the function.
39469         Call FINDIDX rather than findidx, and pass new arguments.
39470         #undef FINDIDX at the end of the file.
39471         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39472         FINDIDX before including fnmatch_loop.c for the non-wide version.
39473         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39474         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39475         for the wide version.
39476         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39477         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39478         Pass new arguments to findidx.
39479         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39480         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39481         Don't #include it inside the function.  Pass new arguments to findidx.
39482         * posix/regex_internal.h
39483         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39484         (re_string_elem_size_at): Don't #include it inside the function.
39485         Pass new arguments to findidx.
39486         * string/strcoll_l.c: #include WEIGHT_H at top level.
39487         (get_next_seq): Don't #include it inside the function.
39488         Pass new arguments to findidx.
39489         (get_next_seq_nocache): Likewise.
39490         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39491         (STRXFRM): Don't #include it inside the function.
39492         Pass new arguments to findidx.
39494 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39496         [BZ #17344]
39497         * malloc/malloc.c (unlink): Turn asserts into a call to
39498         malloc_printerr.
39500 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39502         [BZ #17370]
39503         * libio/wfileops (do_ftell_wide): Free OUT.
39505 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39507         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39509 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39511         [BZ #17363]
39512         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39513         group if the current group is empty.
39515 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39517         * benchtests/bench-memset.c (test_main): Add more test from size
39518         from 32 to 512 bytes.
39519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39520         Add POWER8 memset object.
39521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39522         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39523         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39524         implementation.
39525         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39526         Likewise.
39527         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39528         multiarch POWER8 memset optimization.
39529         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39530         POWER8 memset optimization.
39532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39533         Remove bzero multiarch objects.
39534         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39535         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39536         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39537         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39538         Remove define.
39539         [__bzero]: Redefine to specific name.
39540         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39541         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39542         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39543         define.
39544         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39545         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39547 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39549         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39550         warnings into errors.
39552         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39553         __cxa_thread_atexit_impl prototype.
39555 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39557         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39558         Fix capitalization of error message.
39560 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39562         * sysdeps/mips/preconfigure: Modify ABI tests.
39564 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39566         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39568 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39569             Carlos O'Donell  <carlos@systemhalted.org>
39571         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39572         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39573         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39574         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39575         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39576         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39577         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39578         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39579         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39580         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39581         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39582         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39583         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39584         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39585         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39586         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39588         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39589         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39590         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39591         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39592         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39593         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39594         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39595         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39596         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39597         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39598         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39599         Deconditionalize the code that was previously under [RESET_PID].
39600         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39601         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39602         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39603         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39604         include sysdep.h.
39606 2014-09-08  Allan McRae  <allan@archlinux.org>
39608         * version.h (RELEASE): Set to "development".
39609         (VERSION): Set to "2.20.90"
39611 2014-09-07  Allan McRae  <allan@archlinux.org
39613         * version.h (RELEASE): Set to "stable".
39614         (VERSION): Set to "2.20"
39615         * include/features.h (__GLIBC_MINOR__): Set to 20.
39617         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39618         Liebler.
39620         * po/ko.po: Update Korean translation from translation project.
39622 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39624         [BZ #17354]
39625         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39626         macro for handling signed relocations.
39628 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39630         [BZ #17325]
39631         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39632         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39633         assert.
39634         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39635         * iconvdata/ibm935.c (BODY): Likewise.
39636         * iconvdata/ibm937.c (BODY): Likewise.
39637         * iconvdata/ibm939.c (BODY): Likewise.
39638         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39639         assert.
39640         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39641         script.
39642         * iconvdata/run-iconv-test.sh: New test loop for checking for
39643         decoder crashers.
39645 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39647         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39648         libm_hidden_ver.
39650 2014-09-01  Allan McRae  <allan@archlinux.org>
39652         * po/eo.po: Update Esperanto translation from translation project.
39654         * po/ca.po: Update Catalan translation from translation project.
39656 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39658         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39659         __proc_dostop call.
39661 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39663         [BZ #17319]
39664         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39665         to call set_thread_area instead of hand written asm.
39666         (__NR_set_thread_area): Removed define.
39667         (TLS_FLAG_WRITABLE): Likewise.
39668         (__ASSUME_SET_THREAD_AREA): Remove check.
39669         (TLS_EBX_ARG): Remove define.
39670         (TLS_LOAD_EBX): Likewise.
39672 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39674         Simplify atomicity of socket creation in bind.
39676         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39677         looking up the name after linking the file.
39679 2014-08-27  Allan McRae  <allan@archlinux.org>
39681         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39683 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39685         [BZ #17187]
39686         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39687         trans_compare, open_translit, __gconv_translit_find):
39688         Remove module loading code.
39690 2014-08-26  Allan McRae  <allan@archlinux.org>
39692         * po/vi.po: Update Vietnamese translation from translation project.
39694         * po/uk.po: Update Ukrainian translation from translation project.
39696         * po/fr.po: Update French translation from translation project.
39698         * po/ru.po: Update Russian translation from translation project.
39700         * po/pl.po: Update Polish translation from translation project.
39702         * po/cs.po: Update Czech translation from translation project.
39704         * po/de.po: Update German translation from translation project.
39706         * po/bg.po: Update Bulgarian translation from translation project.
39708         * po/sv.po: Update Sweedish translation from translation project.
39710         * po/nl.po: Update Dutch translation from translation project.
39712         * po/es.po: Update Spanish translation from translation project.
39714 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39716         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39718         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39719         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39720         (CPPFLAGS-iconvconfig): Likewise.
39721         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39723         * include/libc-symbols.h: Remove unnecessary check for
39724         NOT_IN_libc.
39725         * nptl/pthreadP.h: Likewise.
39726         * sysdeps/aarch64/setjmp.S: Likewise.
39727         * sysdeps/alpha/setjmp.S: Likewise.
39728         * sysdeps/arm/sysdep.h: Likewise.
39729         * sysdeps/i386/setjmp.S: Likewise.
39730         * sysdeps/m68k/setjmp.c: Likewise.
39731         * sysdeps/posix/getcwd.c: Likewise.
39732         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39733         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39734         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39735         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39736         * sysdeps/sh/sh3/setjmp.S: Likewise.
39737         * sysdeps/sh/sh4/setjmp.S: Likewise.
39738         * sysdeps/unix/alpha/sysdep.h: Likewise.
39739         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39740         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39741         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39742         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39746         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39747         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39748         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39749         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39750         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39752         * sysdeps/x86_64/setjmp.S: Likewise.
39754 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39756         [BZ #17263]
39757         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39758         <stdint.h>.
39759         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39760         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39762 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39764         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39766         [BZ #17262]
39767         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39768         and __x86_64__ when disabling x87 inline functions.
39770 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39772         [BZ #17259]
39773         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39774         asm statement with __cpuid_count.
39776 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39778         * configure.ac: Change __ehdr_start code to dereference the struct.
39779         Run readelf on the output to look for relocations.
39780         * configure: Regenerated.
39782 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39784         [BZ #17261]
39785         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39786         value to 0.
39787         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39789 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39791         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39793 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39795         [BZ #16892]
39796         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39797         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39799 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39801         * malloc/malloc.c: Fix typo in comment.
39803 2014-08-09  Allan McRae  <allan@archlinux.org>
39805         * Regenerate libc.po.
39807 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39809         * intl/tst-gettext2.sh: Check every lang file for creation.
39811 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39813         * sysdeps/aarch64/fpu/math_private.h
39814         (libc_feholdsetround_noex_aarch64_ctx): New function.
39816 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39818         * sysdeps/arm/armv6/strcpy.S (strcpy):
39819         Fix performance issue in misaligned cases.
39821 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39823         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39824         Move definition from termios.h.
39825         (struct termio): Likewise.
39826         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39827         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39828         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39829         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39830         Likewise.
39831         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39832         Move definition to ioctl-types.h
39833         (struct termio): Likewise.
39834         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39835         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39836         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39837         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39838         Likewise.
39840 2014-08-05  Richard Henderson  <rth@redhat.com>
39842         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39843         exceptions.
39844         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39845         Add fraiseexcpt.
39846         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39847         Use __feraiseexcept.
39848         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39849         Protect libm symbols with IS_IN_libm.
39851         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39853 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39855         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39857 2014-08-04  Will Newton  <will.newton@linaro.org>
39859         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39860         file.
39862 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39864         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39865         variants for each function.
39867 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39869         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39870         appended ...
39871         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39872         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39873         appended ...
39874         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39875         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39876         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39877         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39878         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39879         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39880         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39881         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39882         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39883         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39884         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39885         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39886         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39887         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39888         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39889         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39890         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39891         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39892         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39893         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39894         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39895         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39896         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39897         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39898         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39899         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39900         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39901         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39902         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39903         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39904         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39905         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39906         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39907         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39908         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39909         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39910         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39911         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39912         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39913         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39914         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39915         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39916         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39917         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39918         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39920         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39922         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39923         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39924         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39925         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39926         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39927         Update #include.
39928         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39929         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39931 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39933         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39934         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39935         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39936         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39937         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39938         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39940 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39942         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39943         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39944         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39945         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39947 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39949         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39950         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39951         (__libc_vfork): Define function under this name.
39952         (__vfork): Define as an alias.
39953         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39954         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39956 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39958         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39959         that was previously under [RESET_PID].
39960         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39962 2014-08-04  Andreas Schwab  <schwab@suse.de>
39964         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39966 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39968         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39969         (main): Likewise.
39971 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39973         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39975 2014-08-01  Richard Henderon  <rth@redhat.com>
39977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39978         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39979         typo in exact zero test.
39980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39981         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39982         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39984 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39986         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39987         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39988         * sysdeps/arm/sysdep.h: ... here.
39989         [!__ASSEMBLER__]: Include <stdint.h>.
39991 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39993         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39994         (HAVE_WCTYPE_H): Likewise.
39995         (HAVE_ISWCTYPE): Likewise.
39996         (ENABLE_NLS): Likewise.
39997         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39998         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40000         * posix/regex_internal.c: Check if DEBUG is defined and is
40001         set.
40003         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40004         (HAVE_MBSRTOWCS): Likewise.
40005         * posix/fnmatch.c: Include string.h unconditionally.
40007 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40009         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40010         reversal.
40012 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40014         * sysdeps/generic/safe-fatal.h: New file.
40015         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40016         * nptl/forward.c: Include it.
40017         (__pthread_unwind): Use __safe_fatal as default action, rather
40018         than a bogus use of INTERNAL_SYSCALL that could never work.
40020         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40021         * configure.ac (libc_cv_builtin_trap): New test.
40022         * configure: Regenerated.
40023         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40024         (ABORT_INSTRUCTION): Define using __builtin_trap.
40026         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40027         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40028         * sysdeps/nptl/nptl-signals.h: New file.
40029         * nptl/pthreadP.h: Include <nptl-signals.h>.
40031 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40033         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40034         (ONE_DIRECTION): Define.
40035         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40036         (ONE_DIRECTION): Define.
40037         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40038         (ONE_DIRECTION): Define.
40040 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40042         * sysdeps/s390/Makefile: Delete file.
40043         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40044         * sysdeps/s390/__longjmp.c: Delete file.
40045         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40046         Remove fields __flags and __reserved.
40047         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40048         and add versioning.
40049         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40050         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40051         * sysdeps/s390/rtld-setjmp.S: Likewise.
40052         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40053         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40054         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40055         * sysdeps/s390/s390-32/setjmp.S: ... here.
40056         Add versioning.
40057         (__sigsetjmp): Remove setting __flags field.
40058         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40059         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40060         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40061         * sysdeps/s390/s390-64/setjmp.S: ... here.
40062         Add versioning.
40063         (__sigsetjmp): Remove setting __flags field.
40064         * sysdeps/s390/setjmp.S: Delete file.
40065         * sysdeps/s390/sigjmp.c: Likewise.
40066         * sysdeps/s390/v1-longjmp.c: Likewise.
40067         * sysdeps/s390/v1-setjmp.h: Likewise.
40068         * sysdeps/s390/v1-sigjmp.c: Likewise.
40069         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40070         Remove v1-longjmp_chk.
40071         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40072         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40073         Include debug/longjmp_chk.c and add versioning.
40074         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40075         Include nptl/pt-longjmp.c and add versioning.
40076         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40077         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40078         Include __longjmp.c.
40079         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40080         Move to ...
40081         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40082         (__getcontext): Remove setting __flags field.
40083         Add versioning.
40084         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40085         Don't restore upper high grps.
40086         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40087         Likewise.
40088         (__swapcontext): Remove setting uc_flags field.
40089         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40090         Delete file.
40091         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40092         Include __longjmp.c.
40093         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40094         Move to ...
40095         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40096         (__getcontext): Remove setting __flags field.
40097         Add versioning.
40098         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40099         (__swapcontext): Remove setting uc_flags field.
40100         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40101         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40102         Remove fields uc_high_gprs and __reserved.
40103         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40104         New file with reverted content.
40105         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40106         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40107         Regenerated.
40108         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40109         Regenerated.
40111 2014-07-31  Andreas Schwab  <schwab@suse.de>
40113         * config.h.in (HAVE_IFUNC): Define to 0.
40114         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40115         definedness.
40117 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40120         memmove-avx-unaligned, memcpy-avx-unaligned and
40121         mempcpy-avx-unaligned.
40122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40123         Add tests for AVX memcpy functions.
40124         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40125         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40126         memcpy_chk.
40127         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40128         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40129         memmove_chk.
40130         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40131         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40132         mempcpy_chk.
40133         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40134         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40135         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40137 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40139         [BZ #17213]
40140         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40141         powerpc64le.
40143 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40145         [BZ #16839]
40146         * manual/llio.texi: Add section about open file description locks.
40147         * manual/examples/ofdlocks.c: Example of open file description
40148         lock usage.
40149         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40150         F_OFD_SETLK, and F_OFD_SETLKW.
40152 2014-07-23  Allan McRae  <allan@archlinux.org>
40154         * po/es.po: Update Spanish translation from translation project.
40156 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40158         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40160 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40162         [BZ #17078]
40163         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40164         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40165         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40167 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40169         [BZ #17088]
40170         * math/fesetenv.c (__fesetenv)
40171         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40172         * math/feupdateenv.c (__feupdateenv)
40173         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40175         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40176         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40177         (__ASSUME_SOCKETCALL): Do not define.
40179         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40180         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40181         (__ASSUME_SOCKETCALL): Do not define.
40182         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40183         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40184         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40185         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40187         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40188         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40189         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40191         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40192         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40193         (__ASSUME_SOCKETCALL): Do not define.
40194         (__ASSUME_IPC64): Define unconditionally.
40195         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40196         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40197         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40198         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40199         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40200         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40201         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40202         Likewise.
40204         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40205         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40206         (__ASSUME_SOCKETCALL): Do not define.
40207         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40208         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40209         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40210         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40211         (__ASSUME_REQUEUE_PI): Define unconditionally.
40212         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40213         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40214         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40215         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40217         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40219         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40220         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40221         (__ASSUME_SOCKETCALL): Do not define.
40222         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40223         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40224         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40225         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40226         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40227         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40229         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40230         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40231         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40232         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40233         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40234         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40236         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40237         (__ASSUME_GETCPU_SYSCALL): Likewise.
40239         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40240         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40241         cases for individual architectures.
40242         * sysdeps/gnu/configure: Regenerated.
40243         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40244         LIBC_SLIBDIR_RTLDDIR.
40245         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40246         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40247         LIBC_SLIBDIR_RTLDDIR.
40248         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40250         LIBC_SLIBDIR_RTLDDIR.
40251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40252         Regenerated.
40253         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40254         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40255         file.
40256         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40257         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40258         file.
40259         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40260         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40261         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40262         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40264         * sysdeps/aarch64/shlib-versions: Move to ...
40265         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40266         * sysdeps/alpha/shlib-versions: Move to ...
40267         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40268         * sysdeps/arm/shlib-versions: Move to ...
40269         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40270         * sysdeps/hppa/shlib-versions: Move all contents except for
40271         libgcc_s entry to ...
40272         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40273         entry from ...
40274         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40275         * sysdeps/ia64/shlib-versions: Move to ...
40276         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40277         entry from ...
40278         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40279         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40280         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40281         * sysdeps/microblaze/shlib-versions: Move to ...
40282         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40283         * sysdeps/mips/shlib-versions: Move to ...
40284         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40285         entry from ...
40286         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40287         * sysdeps/tile/shlib-versions: Move to ...
40288         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40289         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40290         from ...
40291         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40292         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40293         entry from ...
40294         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40296 2014-07-17  Will Newton  <will.newton@linaro.org>
40298         * sysdeps/arm/bits/atomic.h
40299         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40300         (__arch_compare_and_exchange_bool_16_int): Likewise.
40301         (__arch_compare_and_exchange_bool_64_int): Likewise.
40303         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40304         into an #else block.
40306 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40308         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40309         just Linux configurations.  Test empirically that the compiler sets
40310         __ARM_EABI__, rather than using the tuple to decide.
40311         * sysdeps/arm/preconfigure: Regenerated.
40312         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40313         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40314         contents appended ...
40315         * sysdeps/arm/configure.ac: ... here.
40316         * sysdeps/arm/configure: Regenerated.
40318 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40320         * nptl/pthread_kill.c: New file.
40321         * nptl/pthread_sigmask.c: New file.
40322         * nptl/pthread_sigqueue.c: New file.
40324         * sysdeps/nptl/lowlevellock.h: New file.
40325         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40326         * sysdeps/nptl/lowlevellock-futex.h: New file.
40328         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40329         Remove dead declarations.
40331 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40333         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40334         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40335         config-cflags-avx2.
40336         * sysdeps/x86_64/configure.ac: Likewise.
40337         * sysdeps/i386/configure: Regenerated.
40338         * sysdeps/x86_64/configure: Likewise.
40339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40340         memset-avx2 only if config-cflags-avx2 is yes.
40341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40342         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40343         defined.
40344         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40345         only if HAVE_AVX2_SUPPORT is defined.
40346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40348 2014-07-14  Alan Modra  <amodra@gmail.com>
40350         [BZ #17153]
40351         * elf/elf.h (DT_PPC64_NUM): Correct value.
40352         * NEWS: Add to fixed bug list.
40354 2014-07-13  Jim Meyering  <meyering@fb.com>
40356         [BZ 17150]
40357         regex: don't deref NULL upon heap allocation failure
40358         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40359         failure in one more place.
40360         To trigger the segfault, configure grep -with-included-regex,
40361         build it, and run these commands:
40362         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40364 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40366         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40368 2014-07-11  Richard Henderson  <rth@redhat.com>
40370         * sysdeps/aarch64/libm-test-ulps: Update.
40372 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40374         [BZ #17135]
40375         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40376         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40377         (__nptl_setxid): Initialize error member.  Call
40378         __nptl_setxid_error.
40379         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40380         * nptl/descr.h (struct xid_command): Add error member.
40381         * nptl/tst-setuid3.c: New file.
40382         * nptl/Makefile (tests): Add it.
40384 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40387         New define.
40388         (__lll_trylock): Use __lll_base_trylock.
40389         (__lll_cond_trylock): Likewise.
40391 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40393         * nptl/pthread_create.c (start_thread): Use atomic_or and
40394         lll_futex_wake directly rather than lll_robust_dead.
40395         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40396         (lll_robust_dead): Macro removed.
40397         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40399         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40400         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40401         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40402         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40403         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40404         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40405         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40408         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40413         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40414         Use atomic_compare_and_exchange_val_acq directly rather than
40415         lll_robust_trylock.
40416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40417         (__lll_robust_trylock, lll_robust_trylock): Removed.
40418         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40419         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40420         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40421         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40422         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40423         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40424         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40425         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40426         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40427         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40428         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40429         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40430         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40431         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40433 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40435         * manual/locale.texi (Locale Names): New section documenting
40436         locale name syntax.  Adjust menu and node chaining accordingly.
40437         (Choosing Locale): Reference Locale Names, Locale Categories.
40438         Mention setting LC_ALL=C.  Reflect that name syntax is now
40439         documented.
40440         (Locale Categories): New section title.  Reference Locale Names.
40441         LC_ALL is an environment variable, but not a category.
40442         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40443         description, now in Locale Name.  Reference that section.  Locale
40444         name syntax is now documented.
40446 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40448         [BZ #17137]
40449         * locale/findlocale.c (name_present, valid_locale_name): New
40450         functions.
40451         (_nl_find_locale): Use the loc_name variable to store name
40452         candidates.  Call name_present and valid_locale_name to check and
40453         validate locale names.  Return an error if the locale is invalid.
40455 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40457         * locale/setlocale.c (setlocale): Use strdup for allocating
40458         composite name copy.
40460 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40462         Sync up with gnulib.
40463         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40464         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40465         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40466         and _GL_ARG_NONNULL.
40467         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40468         [!_LIBC]: Include code for Windows and Cygwin.
40469         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40470         Include prototype for int strerror_r.
40471         [!_LIBC] (is_open): New function.
40472         (flush_stdout): New function.
40473         (print_errno_message): Use it.
40474         (error): Likewise.
40475         (error_at_line): Likewise.
40476         (error_tail) Add function attribute macros.  Use
40477         __builtin_expect.
40479         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40481         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40483         * io/ftw.c: Include sys/param.h unconditionally.
40485         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40487         [BZ #17125]
40488         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40489         libc_freeres_ptr.
40490         (freecache): New function to free CACHE on exit.
40492         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40493         initialization.
40495 2014-07-09  David S. Miller  <davem@davemloft.net>
40497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40499         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40500         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40501         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40502         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40503         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40504         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40505         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40506         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40507         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40508         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40509         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40510         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40511         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40513 2014-07-09  Andreas Schwab  <schwab@suse.de>
40515         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40516         output.
40517         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40518         (do_test): Likewise.
40520         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40522 2014-07-09  Will Newton  <will.newton@linaro.org>
40524         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40525         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40526         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40527         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40528         * sysdeps/hppa/start.S (_start): Likewise.
40530 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40532         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40534         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40535         defined.
40537 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40539         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40540         after checking that it is non-NULL.
40542         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40544 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40546         * sysdeps/powerpc/memmove.c: Remove file.
40547         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40548         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40549         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40550         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40551         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40552         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40553         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40554         string memmove instead of removed powerpc one.
40556         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40557         [weak_alias]: Fix compiler warning due trailing data.
40558         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40559         [weak_alias]: Likewise.
40560         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40561         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40564         (__libc_ifunc_impl_list): Add memmove functions.
40566 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40568         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40569         Remove code.
40570         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40571         Likewise.
40572         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40573         Likewise.
40574         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40575         Likewise.
40576         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40577         Likewise.
40578         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40579         Likewise.
40580         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40581         Likewise.
40582         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40583         Likewise.
40584         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40585         Likewise.
40586         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40587         Likewise.
40588         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40589         Likewise.
40590         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40591         Likewise.
40592         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40593         Likewise.
40594         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40595         Likewise.
40596         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40597         Likewise.
40598         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40599         Likewise.
40600         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40601         Likewise.
40603 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40605         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40606         to avoid alignment traps in non-cacheable memory.
40607         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40610         multiarch objects.
40611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40612         file: multiarch power7 memmove.
40613         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40614         multiarch default memmove.
40615         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40616         multiarch memove for powerpc32/power4.
40618         * string/bcopy.c: Use full path to include memmove.c.
40619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40620         multiarch objects.
40621         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40622         bcopy for powerpc64.
40623         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40624         bcopy for powerpc64.
40625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40626         and memmove implementations.
40627         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40628         optimized multiarch memmove for POWER7/powerpc64.
40629         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40630         default multiarch memmove for powerpc64.
40631         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40632         multiarch for powerpc64.
40633         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40634         for POWER7/powerpc64.
40635         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40636         memmove for POWER7/powerpc64.
40638         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40639         glibc default one.
40641         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40642         __ELF_NATIVE_CLASS equal to 64.
40644 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40646         * sysdeps/nptl/lowlevellock.h: File removed.
40648         * NEWS: NPTL is no longer an add-on!
40649         * nptl/internaltypes.h: Moved ...
40650         * sysdeps/nptl/internaltypes.h: ... here.
40651         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40652         * sysdeps/nptl/fork.c: Likewise.
40653         * sysdeps/nptl/gai_misc.h: Likewise.
40654         * sysdeps/nptl/librt-cancellation.c: Likewise.
40655         * sysdeps/nptl/jmp-unwind.c: Likewise.
40656         * sysdeps/nptl/setxid.h: Likewise.
40657         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40658         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40659         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40660         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40661         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40662         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40663         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40664         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40665         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40666         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40667         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40668         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40669         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40670         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40671         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40672         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40673         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40674         * nptl/Makeconfig: Moved ...
40675         * sysdeps/nptl/Makeconfig: ... here.
40676         * nptl/configure: File removed.
40677         * nptl/ANNOUNCE: File removed.
40678         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40679         * sysdeps/unix/sysv/linux/configure: Regenerated.
40681         * nptl/Makefile (routines): Add libc_pthread_init,
40682         libc_multiple_threads, register-atfork and unregister-atfork.
40683         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40684         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40685         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40686         pthread-pi-defines.sym, structsem.sym.
40687         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40688         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40689         [$(subdir) = nptl] (tests): Add tst-setgetname.
40690         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40691         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40692         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40693         [!LIBC_SIGACTION]: Remove aliases.
40694         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40695         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40696         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40697         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40698         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40699         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40700         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40701         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40702         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40703         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40704         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40705         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40706         __libc_allocate_rtsig_private.
40707         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40708         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40709         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40710         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40711         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40712         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40713         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40714         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40715         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40716         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40717         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40718         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40719         * nptl/internaltypes.h: ... here.
40720         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40721         * sysdeps/nptl/jmp-unwind.c: ... here.
40722         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40723         * nptl/libc-lowlevellock.c: ... here.
40724         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40725         * nptl/libc_multiple_threads.c: ... here.
40726         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40727         * nptl/libc_pthread_init.c: ... here.
40728         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40729         * nptl/lowlevelbarrier.sym: ... here.
40730         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40731         * nptl/lowlevelcond.sym: ... here.
40732         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40733         * nptl/lowlevellock.c: ... here.
40734         * nptl/lowlevellock.h: Moved ...
40735         * sysdeps/nptl/lowlevellock.h: ... here.
40736         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40737         * nptl/lowlevelrobustlock.c: ... here.
40738         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40739         * nptl/lowlevelrobustlock.sym: ... here.
40740         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40741         * nptl/lowlevelrwlock.sym: ... here.
40742         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40743         * nptl/pt-fork.c: ... here.
40744         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40745         * nptl/pthread-pi-defines.sym: ... here.
40746         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40747         * nptl/pthread_attr_getaffinity.c: ... here.
40748         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40749         * nptl/pthread_attr_setaffinity.c: ... here.
40750         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40751         * nptl/pthread_mutex_cond_lock.c: ... here.
40752         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40753         Update #include.
40754         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40755         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40756         * nptl/pthread_once.c: ... here, replacing old file.
40757         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40758         * nptl/pthread_yield.c: ... here.
40759         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40760         * nptl/register-atfork.c: ... here.
40761         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40762         * nptl/sem_post.c: ... here.
40763         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40764         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40765         * nptl/sem_timedwait.c: ... here.
40766         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40767         * nptl/sem_trywait.c: ... here.
40768         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40769         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40770         * nptl/sem_wait.c: ... here.
40771         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40772         * nptl/structsem.sym: ... here.
40773         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40774         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40775         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40776         * nptl/unregister-atfork.c: ... here.
40777         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40778         * nptl/unwindbuf.sym: ... here.
40779         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40780         * sysdeps/nptl/fork.c: ... here.
40781         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40782         * sysdeps/nptl/fork.h: ... here.
40783         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40784         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40785         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40786         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40787         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40788         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40789         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40790         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40791         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40792         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40793         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40794         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40795         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40796         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40797         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40798         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40799         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40800         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40801         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40802         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40803         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40804         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40805         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40806         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40807         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40808         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40809         * sysdeps/unix/sysv/linux/raise.c: ... here.
40810         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40811         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40812         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40813         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40814         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40815         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40816         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40817         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40818         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40819         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40820         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40821         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40822         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40823         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40824         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40826 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40828         * sysdeps/generic/memcopy.h: Add comment for
40829         MEMCPY_OK_FOR_FWD_MEMMOVE.
40831 2014-07-04  Will Newton  <will.newton@linaro.org>
40833         * string/memchr.c: Merge from gnulib.
40834         [_LIBC]: Remove conditionals.
40835         (__ptr_t): Remove define.
40836         (LONG_MAX_32_BITS): Likewise.
40837         (LONG_MAX): Likewise.
40838         (MEMCHR): Use ANSI prototype and optimize algorithm.
40840         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40842 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40844         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40845         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40847         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40848         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40849         in a bare environment with no <stdlib.h> installed.
40850         * sysdeps/nptl/configure: Regenerated.
40852         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40854         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40855         AC_EGREP_CPP for kernel header checks, so they only succeed if
40856         including <linux/version.h> actually works right.
40857         * sysdeps/unix/sysv/linux/configure: Regenerated.
40859         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40860         value so it's not diagnosed as unused.
40862         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40863         thing) with "ifeq ($(subdir),rt)".
40865 2014-07-03  Richard Henderson  <rth@redhat.com>
40867         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40868         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40869         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40871         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40872         (math_force_eval): New.
40874         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40875         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40877         * sysdeps/alpha/fpu/s_round.c: Remove file.
40878         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40880         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40881         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40882         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40883         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40884         (_dl_start, print_statistics): Likewise.
40885         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40886         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40888         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40889         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40890         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40891         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40892         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40893         (HP_SMALL_TIMING_AVAIL): Define.
40894         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40896         (HP_SMALL_TIMING_AVAIL): Define.
40897         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40898         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40900         * sysdeps/aarch64/hp-timing.h: New file.
40902         * sysdeps/generic/hp-timing.h: Remove dead comment.
40903         * sysdeps/generic/hp-timing-common.h: New file.
40904         * sysdeps/alpha/hp-timing.h: Include it.
40905         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40906         * sysdeps/i386/i686/hp-timing.h: Likewise.
40907         * sysdeps/ia64/hp-timing.h: Likewise.
40908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40909         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40911         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40912         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40913         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40914         (hp_timing_t): New.
40916         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40917         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40918         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40919         * elf/rtld.c (_dl_start_final): Likewise.
40920         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40921         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40922         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40923         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40924         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40926         (HP_TIMING_DIFF_INIT): Remove.
40927         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40928         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40929         (HP_TIMING_DIFF_INIT): Remove.
40930         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40931         * sysdeps/i386/i686/hp-timing.c: Remove file.
40932         * sysdeps/x86_64/hp-timing.c: Remove file.
40933         * sysdeps/ia64/hp-timing.c: Remove file.
40934         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40935         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40936         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40937         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40939         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40940         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40941         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40942         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40944         (HP_TIMING_ACCUM): Remove.
40945         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40946         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40947         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40949         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40950         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40951         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40952         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40953         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40954         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40955         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40956         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40958         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40960 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40962         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40964 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40966         Sync up with gettext.
40967         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40968         [_MSC_VER]: Include malloc.h
40969         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40970         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40971         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40972         TEMP_FAILURE_RETRY.  Cast return of alloca.
40973         [!_LIBC] Call gl_rwlock_init.
40974         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40976 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40978         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40979         before checking its value.
40981 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40983         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40985         * debug/memcpy_chk.c: Don't include pagecopy.h.
40986         * debug/mempcpy_chk.c: Likewise.
40987         * string/memcpy.c: Likewise.
40988         * string/memmove.c: Likewise.
40989         * sysdeps/powerpc/memmove.c: Likewise.
40990         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40991         definition of PAGE_COPY_FWD_MAYBE here...
40992         * sysdeps/generic/pagecopy.h: ... from here.
40993         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40995 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40996             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40998         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41000         optimizations.
41001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41002         (__libc_ifunc_impl_list): Likewise.
41003         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41004         multiarch strcat for PPC64.
41005         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41006         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41008 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41010         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41012 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41014         * intl/loadmsgcat.c: Remove declaration of
41015         get_sysdep_segment_value.
41016         (get_sysdep_segment_value): Use ISO C style.
41017         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41018         semicolon.  Fix typo and formatting in comment.
41019         (_nl_unload_domain): Use ISO C style.
41021         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41023 2014-07-02  Will Newton  <will.newton@linaro.org>
41025         * malloc/obstack.c: Merge from gnulib master.
41026         [HAVE_CONFIG_H]: Remove conditional code.
41027         [!_LIBC]: Include config.h.
41028         [!ELIDE_CODE]: Don't include inttypes.h, include
41029         stdint.h unconditionally.
41030         (print_and_abort): Mark as _Noreturn.
41031         (_obstack_allocated_p): Mark as __attribute_pure__.
41032         (obstack_free): Rename to __obstack_free.
41033         [!__attribute__]: Remove conditional code.
41034         * malloc/obstack.h: Merge from gnulib master.
41035         [__cplusplus]: Move conditional down.
41036         [!__attribute_pure__]: Define __attribute_pure__ here
41037         if it is not already defined.
41038         (_obstack_memory_used): Mark as __attribute_pure__.
41039         [!__obstack_free]: Define as obstack_free.
41040         [__GNUC__]: Remove check for ancient NeXT gcc.
41042 2014-07-02  Will Newton  <will.newton@linaro.org>
41043             Paul Eggert  <eggert@cs.ucla.edu>
41045         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41047 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41049         * resolv/gethnamaddr.c: Add comment warning that the file is
41050         not maintained.
41052 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41054         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41055         entries.
41057         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41058         entry for aio_cancel and aio_cancel64.
41059         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41060         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41061         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41062         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41063         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41064         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41065         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41066         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41067         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41068         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41069         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41070         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41071         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41073 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41075         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41076         * nptl/pthread_mutex_lock.c: Likewise.
41077         * nptl/pthread_mutex_timedlock.c: Likewise.
41078         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41080 2014-07-01  Richard henderson  <rth@redhat.com>
41082         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41083         (__isnan, __isnanl): Remove.
41084         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41086         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41088 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41090         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41092 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41094         * resolv/nss_dns/dns-host.c (getanswer_r)
41095         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41097 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41100         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41101         undefine.
41102         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41103         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41105 2014-07-01  Roland McGrath <roland@hack.frob.com>
41107         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41108         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41110         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41111         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41113         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41114         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41115         ... here.
41116         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41117         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41119         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41120         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41121         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41122         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41124         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41125         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41126         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41127         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41128         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41129         Moved ...
41130         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41131         ... here.
41132         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41133         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41134         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41135         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41136         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41137         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41138         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41139         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41140         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41141         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41142         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41143         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41144         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41145         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41146         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41147         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41148         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41149         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41150         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41151         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41152         ... here.
41153         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41154         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41155         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41156         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41157         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41158         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41159         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41160         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41162 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41164         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41165         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41166         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41167         Add sysdep.
41169 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41173 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41175         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41176         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41178         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41180         * sysdeps/arm/libm-test-ulps: Regenerated.
41182 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41183             Roland McGrath <roland@hack.frob.com>
41185         * test-skeleton.c (signal_handler): Kill the whole process group
41186         before killing the child individually.
41187         (main): Report any failure on `setpgid'.
41189 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41191         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41192         from _TLS_H to _ARM_NPTL_TLS_H.
41193         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41194         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41196 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41198         [BZ #16539]
41199         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41200         (__expm1l): Return argument unchanged when small but not
41201         subnormal.
41203         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41204         include macro name.
41205         (_FP_UNPACK_RAW_1_P): Likewise.
41206         (_FP_PACK_RAW_1): Likewise.
41207         (_FP_PACK_RAW_1_P): Likewise.
41208         (_FP_MUL_MEAT_1_wide): Likewise.
41209         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41210         (_FP_MUL_MEAT_1_hard): Likewise.
41211         (_FP_DIV_MEAT_1_imm): Likewise.
41212         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41213         (_FP_DIV_MEAT_1_udiv): Likewise.
41214         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41215         (_FP_UNPACK_RAW_2): Likewise.
41216         (_FP_UNPACK_RAW_2_P): Likewise.
41217         (_FP_PACK_RAW_2): Likewise.
41218         (_FP_PACK_RAW_2_P): Likewise.
41219         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41220         (_FP_MUL_MEAT_2_wide): Likewise.
41221         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41222         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41223         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41224         (_FP_MUL_MEAT_2_gmp): Likewise.
41225         (_FP_DIV_MEAT_2_udiv): Likewise.
41226         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41227         (_FP_FRAC_SRL_4): Likewise.
41228         (_FP_FRAC_SRST_4): Likewise.
41229         (_FP_FRAC_SRS_4): Likewise.
41230         (_FP_UNPACK_RAW_4): Likewise.
41231         (_FP_UNPACK_RAW_4_P): Likewise.
41232         (_FP_PACK_RAW_4): Likewise.
41233         (_FP_PACK_RAW_4_P): Likewise.
41234         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41235         (_FP_MUL_MEAT_4_wide): Likewise.
41236         (_FP_MUL_MEAT_4_gmp): Likewise.
41237         (umul_ppppmnnn): Likewise.
41238         (_FP_DIV_MEAT_4_udiv): Likewise.
41239         (__FP_FRAC_ADD_4): Likewise.
41240         (__FP_FRAC_SUB_3): Likewise.
41241         (__FP_FRAC_SUB_4): Likewise.
41242         (__FP_FRAC_DEC_3): Likewise.
41243         (__FP_FRAC_DEC_4): Likewise.
41244         (__FP_FRAC_ADDI_4): Likewise.
41245         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41246         (_FP_FRAC_SRL_8): Likewise.
41247         (_FP_FRAC_SRS_8): Likewise.
41249         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41250         include macro name.
41251         (FP_UNPACK_RAW_EP): Likewise.
41252         (FP_PACK_RAW_E): Likewise.
41253         (FP_PACK_RAW_EP): Likewise.
41254         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41255         (_FP_ISSIGNAN): Likewise.
41256         (_FP_ADD_INTERNAL): Likewise.
41257         (_FP_FMA): Likewise.
41258         (_FP_CMP): Likewise.
41259         (_FP_SQRT): Likewise.
41260         (_FP_TO_INT): Likewise.
41261         (_FP_FROM_INT): Likewise.
41262         (FP_EXTEND): Likewise.
41263         (_FP_DIV_MEAT_N_loop): Likewise.
41265 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41267         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41268         throughout.
41270 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41272         [BZ #17097]
41273         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41274         result with correct sign in case of exponents that produce
41275         overflow except for X very close to 1.
41277 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41279         mktime: merge #if/#ifdef usage from glibc
41280         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41281         as that works with both Glibc's and Gnulib's style.
41282         See thread starting at Siddhesh Poyarekar's bug report at:
41283         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41285 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41287         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41288         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41289         * sysdeps/tile/tilegx/memmove.c: Remove file.
41291 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41293         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41294         abi-name definition.
41295         * scripts/soversions.awk: Do not handle or generate ABI lines.
41296         * shlib-versions: Remove ABI entries.
41297         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41298         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41300 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41303         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41304         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41305         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41307         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41309         Moved ...
41310         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41311         ... here.
41312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41313         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41315         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41317         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41319         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41321         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41323         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41325         Moved ...
41326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41328         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41330         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41332         Moved ...
41333         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41335         Moved ...
41336         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41338         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41340         Moved ...
41341         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41343         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41345         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41347         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41349         Moved ...
41350         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41352         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41353         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41354         Moved ...
41355         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41357         Moved ...
41358         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41360         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41362         Moved ...
41363         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41364         ... here.
41365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41366         Identical file removed.
41367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41368         Moved ...
41369         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41371         Identical file removed.
41372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41373         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41375         Moved ...
41376         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41378         Identical file removed.
41379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41380         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41382         Identical file removed.
41383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41384         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41385         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41386         Identical file removed.
41387         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41388         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41390         Identical file removed.
41391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41392         Moved ...
41393         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41395         Identical file removed.
41396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41397         Moved ...
41398         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41400         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41402         Identical file removed.
41403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41404         Moved ...
41405         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41406         ... here.
41407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41408         Identical file removed.
41409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41410         Moved ...
41411         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41413         Identical file removed.
41414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41415         Moved ...
41416         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41418         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41420         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41422         Moved ...
41423         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41424         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41425         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41427         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41428         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41429         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41430         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41431         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41433 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41435         [BZ #17092]
41436         * nscd/nscd.c (monitor_child): Return exit status of child
41437         instead of return value from wait syscall.
41439 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41441         * configure.ac (libc_commonpagesize): Remove variable.
41442         (libc_relro_required): Likewise.
41443         (libc_cv_z_relro): Remove configure test.
41444         * configure: Regenerated.
41445         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41446         variable.
41447         (libc_relro_required): Likewise.
41448         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41449         (libc_relro_required): Likewise.
41450         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41451         (libc_relro_required): Likewise.
41452         * sysdeps/arm/preconfigure: Regenerated.
41453         * sysdeps/ia64/preconfigure: Remove file.
41454         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41455         variable.
41456         (libc_relro_required): Likewise.
41458         [BZ #16561]
41459         [BZ #16562]
41460         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41461         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41462         recompute overflowing results in original rounding mode.
41463         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41464         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41465         recompute overflowing results in original rounding mode.
41466         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41467         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41468         recompute overflowing results in original rounding mode.
41469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41470         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41471         recompute overflowing results in original rounding mode.
41472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41473         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41474         recompute overflowing results in original rounding mode.
41475         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41476         (libc_feholdsetround_ctx): New macro.
41477         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41478         * sysdeps/i386/fpu/libm-test-ulps: Update.
41479         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41481 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41483         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41484         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41485         corresponding .cpsetup call.
41487 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41489         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41490         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41491         * sysdeps/arm/Makefile [$(subdir) = csu]
41492         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41493         (static-only-routines): Add aeabi_read_tp here.
41494         (shared-only-routines): Add libc-aeabi_read_tp here.
41495         (CFLAGS-libc-start.c): Add -fexceptions here.
41496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41497         (sysdep_routines, static-only-routines, shared-only-routines):
41498         Don't add to these here.
41499         (CFLAGS-libc-start.c): Likewise.
41501         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41502         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41503         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41504         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41505         * sysdeps/arm/Makefile [$(subdir) = rt]
41506         (librt-sysdep_routines, librt-shared-only-routines):
41507         Append rt-aeabi_unwind_cpp_pr1 here.
41508         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41509         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41510         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41511         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41512         Append nptl-aeabi_unwind_cpp_pr1 here.
41513         (tests): Filter out tst-cleanupx4 here.
41514         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41515         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41516         Don't do those here.
41518 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41520         * scripts/list-sources.sh: Do not handle ports specially.
41522 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41524         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41525         * sysdeps/arm/feupdateenv.c: Likewise.
41527         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41529 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41531         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41532         trailing whitespace removed.
41533         * scripts/config.guess: Update to version 2014-03-23.
41534         * scripts/config.sub: Update to version 2014-05-01
41535         * scripts/install-sh: Update to version 2013-12-25.23.
41536         * scripts/move-if-change: Update from gnulib.
41538 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41540         * debug/memmove_chk.c: Remove pagecopy.h include.
41542 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41544         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41545         identical to gnulib mktime.
41547 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41549         * configure.ac: Do not test for machine being rs6000.  Do not test
41550         for powerpc*-*soft.
41551         * configure: Regenerated.
41553         [BZ #11505]
41554         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41555         test.
41556         * configure: Regenerated.
41557         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41558         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41559         Remove configure test.
41560         * sysdeps/arm/configure: Regenerated.
41561         * sysdeps/nptl/configure.ac: Do not check
41562         libc_cv_asm_cfi_directives.
41563         * sysdeps/nptl/configure: Regenerated.
41564         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41565         * sysdeps/x86_64/nptl/configure: Remove generated file.
41566         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41567         unconditional.
41568         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41570 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41572         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41573         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41574         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41575         it is defined.
41577         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41578         instead of whether it is defined.
41579         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41580         * sysdeps/hppa/dl-machine.h: Likewise.
41581         * sysdeps/ia64/dl-machine.h: Likewise.
41582         * sysdeps/m68k/dl-machine.h: Likewise.
41583         * sysdeps/microblaze/dl-machine.h: Likewise.
41584         * sysdeps/mips/dl-machine.: Likewise.
41585         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41586         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41587         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41588         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41589         * sysdeps/sh/dl-machine.h: Likewise.
41590         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41591         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41592         * sysdeps/tile/dl-machine.h: Likewise.
41593         * sysdeps/x86_64/dl-machine.h: Likewise.
41595         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41596         code.
41597         (verify_persistent_db): Likewise.
41599 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41602         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41604         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41606         Moved ...
41607         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41608         ... here.
41609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41610         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41612         Identical file removed.
41613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41614         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41616         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41618         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41622         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41624         Moved ...
41625         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41627         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41629         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41631         Moved ...
41632         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41634         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41636         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41638         Identical file removed.
41639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41640         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41642         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41644         Moved ...
41645         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41646         ... here.
41647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41648         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41650         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41652         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41654         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41656         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41658         Moved ...
41659         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41661         Moved ...
41662         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41664         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41666         Moved ...
41667         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41669         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41671         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41672         folded into ...
41673         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41674         * sysdeps/unix/sysv/linux/s390/Versions
41675         (libpthread: GLIBC_2.19): New version set.
41676         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41677         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41678         (librt: GLIBC_2.3.3): New version set.
41679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41680         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41681         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41683         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41684         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41685         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41687         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41688         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41689         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41690         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41691         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41692         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41693         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41694         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41695         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41696         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41697         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41698         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41699         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41700         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41701         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41702         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41703         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41704         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41705         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41706         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41707         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41708         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41709         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41710         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41715         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41717         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41719         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41721         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41723         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41726         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41727         (__libc_vfork): Define the function under this name.
41728         [!NOT_IN_libc] (__vfork): Make this an alias.
41729         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41731         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41732         (__libc_vfork): Define the function under this name.
41733         [!NOT_IN_libc] (__vfork): Make this an alias.
41734         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41735         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41736         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41738         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41739         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41741         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41742         code that was previously under [RESET_PID].
41743         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41744         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41747         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41748         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41749         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41750         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41751         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41752         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41753         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41754         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41755         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41756         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41757         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41758         Moved ...
41759         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41760         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41761         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41762         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41763         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41764         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41765         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41766         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41767         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41768         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41769         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41770         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41771         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41772         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41773         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41774         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41775         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41776         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41777         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41778         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41779         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41780         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41781         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41782         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41783         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41784         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41785         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41786         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41787         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41789 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41791         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41792         that was previously under [RESET_PID].
41793         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41795 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41797         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41798         not undefine and redefine.
41799         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41800         [O_CLOEXEC]: Make code unconditional.
41801         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41802         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41803         <kernel-features.h>.
41804         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41805         conditional variable definition.
41806         (shm_open) [O_CLOEXEC]: Make code unconditional.
41807         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41808         code.
41810         * configure.ac (USE_REGPARMS): Don't define here.
41811         * configure: Regenerated.
41812         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41813         * sysdeps/i386/configure: Regenerated.
41815         * nptl/createthread.c: Don't include kernel-features.h.
41816         * nptl/pthread_cancel.c: Likewise.
41817         * nptl/pthread_condattr_setclock.c: Likewise.
41818         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41819         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41820         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41821         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41822         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41823         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41824         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41827         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41828         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41829         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41830         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41831         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41832         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41833         * nscd/gai.c: Likewise.
41834         * nss/nss_db/db-open.c: Likewise.
41835         * sysdeps/generic/ldsodefs.h: Likewise.
41836         * sysdeps/sh/nptl/tls.h: Likewise.
41837         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41838         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41839         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41840         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41841         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41842         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41843         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41844         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41846         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41847         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41848         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41849         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41850         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41851         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41852         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41853         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41854         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41855         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41856         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41859         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41860         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41865         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41866         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41867         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41868         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41869         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41870         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41871         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41872         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41873         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41874         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41875         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41876         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41877         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41878         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41879         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41880         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41881         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41882         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41883         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41884         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41885         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41886         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41887         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41888         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41889         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41890         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41891         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41892         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41893         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41894         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41917         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41918         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41919         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41920         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41921         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41922         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41923         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41924         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41925         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41926         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41927         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41928         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41929         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41930         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41931         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41932         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41933         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41934         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41935         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41936         * sysdeps/unix/sysv/linux/system.c: Likewise.
41937         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41938         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41939         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41940         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41941         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41942         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41943         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41945         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41946         * configure: Regenerated.
41947         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41949         * configure.ac (base_machine): Do not set specially for particular
41950         machines here.
41951         * configure: Regenerated.
41952         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41953         settings from configure.ac.
41954         * sysdeps/i386/preconfigure: New file.
41955         * sysdeps/s390/preconfigure: Likewise.
41956         * sysdeps/sh/preconfigure: Likewise.
41957         * sysdeps/sparc/preconfigure: Likewise.
41959 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41961         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41962         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41963         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41964         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41965         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41966         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41967         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41968         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41969         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41970         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41971         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41972         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41973         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41974         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41975         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41976         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41977         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41978         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41979         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41981         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41982         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41983         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41984         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41985         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41986         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41987         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41988         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41989         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41990         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41991         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41992         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41993         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41994         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41995         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41996         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41997         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41998         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41999         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42000         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42002         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42006         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42008         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42011         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42012         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42014         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42015         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42016         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42018         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42021         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42023         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42025         Moved ...
42026         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42027         ... here.
42028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42029         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42031         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42033         Moved ...
42034         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42036         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42040         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42042         Moved ...
42043         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42045         Moved ...
42046         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42048         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42050         Moved ...
42051         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42053         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42055         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42057         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42059         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42061         Moved ...
42062         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42063         ... here.
42064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42065         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42067         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42069         Moved ...
42070         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42072         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42074         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42076         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42078         Moved ...
42079         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42081         Moved ...
42082         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42084         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42086         Moved ...
42087         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42089         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42091         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42093 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42095         * timezone/checktab.awk: Update from tzcode 2014e.
42096         * timezone/private.h: Likewise.
42097         * timezone/tzfile.h: Likewise.
42098         * timezone/zdump.c: Likewise.
42099         * timezone/zic.c: Likewise.
42101         * sysdeps/unix/sysv/linux/kernel-features.h
42102         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42103         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42104         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42105         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42106         Remove conditional code.
42108 2014-06-25  Will Newton  <will.newton@linaro.org>
42110         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42111         (_dl_arm_cap_flags): Add HWCAP2 values.
42112         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42113         (_DL_HWCAP_COUNT): Increase to 37.
42114         (_DL_HWCAP_LAST): New define.
42115         (_DL_HWCAP2_LAST): New define.
42116         (_dl_procinfo): Add support for printing
42117         AT_HWCAP2 entries.
42118         (_dl_string_hwcap): Use _dl_hwcap_string.
42120 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42124 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42126         * README: Do not mention ports directory.
42128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42129         Remove macro.
42130         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42131         <kernel-features.h>.
42132         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42133         conditional variable definition.
42134         (__futimes): Update comment.
42135         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42136         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42138         [BZ #16560]
42139         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42140         arguments close to 0.
42141         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42142         Likewise.
42143         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42144         Likewise.
42145         * math/auto-libm-test-in: Add more tests of exp10.
42146         * math/auto-libm-test-out: Regenerated.
42147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42149         * sysdeps/unix/sysv/linux/kernel-features.h
42150         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42151         * sysdeps/unix/sysv/linux/readv.c: Do not include
42152         <kernel-features.h>.
42153         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42154         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42155         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42156         unconditional.
42157         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42158         conditional code.
42159         * sysdeps/unix/sysv/linux/writev.c: Do not include
42160         <kernel-features.h>.
42161         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42162         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42163         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42164         unconditional.
42165         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42166         conditional code.
42168 2014-06-25  Will Newton  <will.newton@linaro.org>
42170         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42171         comment changes throughout the file.  Remove checks
42172         for HAVE_*_H definitions that are not required.
42173         (__gen_tempname): Call abort if an unknown kind value is
42174         passed.
42176 2014-06-25  Andreas Schwab  <schwab@suse.de>
42178         [BZ #17086]
42179         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42180         scalbln, scalblnf, scalblnl in libc.
42182 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42184         [BZ #17086]
42185         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42186         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42187         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42189 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42191         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42192         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42193         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42194         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42195         Update #include.
42196         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42197         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42198         Update #include.
42199         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42200         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42201         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42202         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42203         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42204         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42205         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42206         * sysdeps/x86/bits/semaphore.h: ... here.
42207         * sysdeps/x86/nptl/elide.h: Moved ...
42208         * sysdeps/x86/elide.h: ... here.
42209         * sysdeps/x86_64/nptl/Implies: File removed.
42210         * sysdeps/i386/nptl/Implies: File removed.
42212 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42214         [BZ #16539]
42215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42216         return the argument for normal arguments with exponent below -64.
42217         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42218         Likewise.
42219         * math/auto-libm-test-in: Add another test of expm1.
42220         * math/auto-libm-test-out: Regenerated.
42222         [BZ #16287]
42223         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42224         calling __erfcl for arguments at least 16.
42225         * math/auto-libm-test-in: Add more tests of erf.
42226         * math/auto-libm-test-out: Regenerated.
42228         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42229         individual architectures.
42230         * sysdeps/unix/sysv/linux/configure: Regenerated.
42231         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42232         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42233         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42234         (ldd_rewrite_script): Define variable.
42235         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42237         file.
42238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42239         generated file.
42240         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42241         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42242         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42243         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42244         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42245         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42246         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42247         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42249 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42251         [BZ #17084]
42252         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42253         Rename member __data.d to __data.__elision_data.
42255 2014-06-24  Wilco  <wdijkstr@arm.com>
42257         * NEWS: Add 16918 to fixed bug list.
42259 2014-06-24  Wilco  <wdijkstr@arm.com>
42261         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42263 2014-06-24  Wilco  <wdijkstr@arm.com>
42265         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42266         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42267         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42268         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42269         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42270         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42271         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42272         Use _FPU_MASK_RM.
42274 2014-06-24  Wilco  <wdijkstr@arm.com>
42276         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42278 2014-06-24  Wilco  <wdijkstr@arm.com>
42280         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42281         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42282         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42283         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42285 2014-06-24  Wilco  <wdijkstr@arm.com>
42287         [BZ #16918]
42288         * sysdeps/arm/feupdateenv.c (feupdateenv):
42289         Rewrite to reduce FPSCR accesses and fix return value.
42291 2014-06-24  Wilco  <wdijkstr@arm.com>
42293         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42294         Optimize to avoid unnecessary FPSCR writes.
42295         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42296         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42297         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42298         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42300 2014-06-24  Wilco  <wdijkstr@arm.com>
42302         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42303         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42304         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42305         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42306         Call libc_fetestexcept_vfp.
42307         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42308         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42309         __SOFTFP__ ifdef so that they can be built for softfp.
42311 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42313         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42314         argument type signed char.
42316         * Makerules (check-abi): Dump diff of symlist if the test
42317         fails.
42319 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42321         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42322         using abort.
42324         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42325         Remove unused variable ST.
42327 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42329         [BZ #16354]
42330         [BZ #17061]
42331         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42332         small arguments before calling __expm1.
42333         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42334         small arguments before calling __expm1f.
42335         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42336         small arguments before calling __expm1l.
42337         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42338         Likewise.
42339         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42340         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42341         spurious underflow for some cosh tests.
42342         * math/auto-libm-test-out: Regenerated.
42343         * sysdeps/i386/fpu/libm-test-ulps: Update.
42345         [BZ #17050]
42346         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42347         (__ieee754_y1): Set errno if return value overflows.
42348         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42349         (__ieee754_y1f): Set errno if return value overflows.
42350         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42351         (__ieee754_y1l): Set errno if return value overflows.
42352         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42353         (__ieee754_y1l): Set errno if return value overflows.
42354         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42355         * math/auto-libm-test-out: Regenerated.
42357         * math/gen-auto-libm-tests.c: Document use of
42358         ignore-zero-inf-sign.
42359         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42360         (input_flags): Add ignore-zero-inf-sign.
42361         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42362         * math/gen-libm-test.pl (generate_testfile): Handle
42363         ignore-zero-inf-sign.
42364         * math/auto-libm-test-in: Mark some cpow tests with
42365         ignore-zero-inf-sign and some with xfail-rounding.
42366         * math/auto-libm-test-out: Regenerated.
42367         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42368         * sysdeps/i386/fpu/libm-test-ulps: Update.
42369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42371         [BZ #16315]
42372         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42373         overflowing or underflowing operations take place with sign of
42374         result.
42375         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42376         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42377         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42378         (__ieee754_pow): Recompute overflowing and underflowing results in
42379         original rounding mode.
42380         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42381         (__powl_helper): Allow negative argument X and scale negated value
42382         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42383         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42384         overflowing or underflowing operations take place with sign of
42385         result.
42386         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42387         Include <math.h>.
42388         * math/auto-libm-test-in: Add more tests of pow.
42389         * math/auto-libm-test-out: Regenerated.
42390         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42391         (pow_tonearest_test_data): Remove.
42392         (pow_test_tonearest): Likewise.
42393         (pow_towardzero_test_data): Likewise.
42394         (pow_test_towardzero): Likewise.
42395         (pow_downward_test_data): Likewise.
42396         (pow_test_downward): Likewise.
42397         (pow_upward_test_data): Likewise.
42398         (pow_test_upward): Likewise.
42399         (main): Don't call removed functions.
42400         * sysdeps/i386/fpu/libm-test-ulps: Update.
42401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42403 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42406         Moved ...
42407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42409         Moved ...
42410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42412         Moved ...
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42415         Moved ...
42416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42418         File removed.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42420         File removed.
42421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42422         File removed.
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42424         File removed.
42425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42426         File removed.
42427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42428         File removed.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42430         File removed.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42432         File removed.
42433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42434         File removed.
42435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42436         File removed.
42437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42438         File removed.
42439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42440         File removed.
42441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42442         Moved ...
42443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42445         Moved ...
42446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42447         ... here.
42448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42449         Moved ...
42450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42452         Moved ...
42453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42455         Moved ...
42456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42458         Moved ...
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42461         Moved ...
42462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42464         Moved ...
42465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42467         Moved ...
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42471         ... here.
42472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42473         Moved ...
42474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42476         Moved ...
42477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42478         ... here.
42479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42480         Moved ...
42481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42482         ... here.
42483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42484         Moved ...
42485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42486         ... here.
42487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42488         Moved ...
42489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42491         Moved ...
42492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42496         Moved ...
42497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42498         ... here.
42499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42500         Moved ...
42501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42502         ... here.
42503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42504         Moved ...
42505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42507         Moved ...
42508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42510         Moved ...
42511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42513         Moved ...
42514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42516         Moved ...
42517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42518         ... here.
42519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42520         Moved ...
42521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42523         Moved ...
42524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42526         Moved ...
42527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42529         Moved ...
42530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42534         Moved ...
42535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42537         Moved ...
42538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42540         Moved ...
42541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42542         ... here.
42543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42544         Moved ...
42545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42546         ... here.
42547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42548         Moved ...
42549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42550         ... here.
42551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42552         Moved ...
42553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42555         Moved ...
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42558         Moved ...
42559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42561         Moved ...
42562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42563         ... here.
42564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42565         Moved ...
42566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42567         ... here.
42568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42569         Moved ...
42570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42571         ... here.
42572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42573         Moved ...
42574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42576         Moved ...
42577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42579 2014-06-23  Will Newton  <will.newton@linaro.org>
42580             Wilco  <wdijkstr@arm.com>
42582         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42583         implementation.  Include get-rounding-mode.h.
42584         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42585         [!libc_feholdsetround_noex_ctx]: Define
42586         libc_feholdsetround_noex_ctx.
42587         [!libc_feholdsetround_noexf_ctx]: Define
42588         libc_feholdsetround_noexf_ctx.
42589         [!libc_feholdsetround_noexl_ctx]: Define
42590         libc_feholdsetround_noexl_ctx.
42591         (libc_feholdsetround_ctx): New function.
42592         (libc_feresetround_ctx): New function.
42593         (libc_feholdsetround_noex_ctx): New function.
42594         (libc_feresetround_noex_ctx): New function.
42596 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42598         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42599         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42600         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42601         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42602         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42603         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42605         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42606         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42607         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42608         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42609         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42610         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42612         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42614         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42616         Moved ...
42617         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42618         ... here.
42619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42620         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42622         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42624         Moved ...
42625         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42627         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42629         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42631         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42633         Moved ...
42634         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42636         Moved ...
42637         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42639         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42641         Moved ...
42642         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42644         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42645         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42646         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42647         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42648         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42650         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42652         Moved ...
42653         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42654         ... here.
42655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42656         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42658         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42660         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42661         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42662         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42666         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42667         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42668         Moved ...
42669         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42671         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42673         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42675         Moved ...
42676         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42677         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42678         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42679         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42680         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42682         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42683         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42684         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42685         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42686         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42687         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42688         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42689         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42691         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42692         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42693         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42694         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42695         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42696         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42697         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42698         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42699         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42700         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42701         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42702         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42703         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42704         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42705         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42706         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42707         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42708         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42709         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42711 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42714         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42715         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42716         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42717         (IPV6_PMTUDISC_INTERFACE): Likewise.
42718         (IPV6_PMTUDISC_OMIT): Likewise.
42720 2014-06-23  Andreas Schwab  <schwab@suse.de>
42722         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42723         Remove unused errout label.
42725 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42727         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42728         macro: hardware supports Vector Crypto instructions.
42730 2014-06-23  Will Newton  <will.newton@linaro.org>
42732         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42733         rather than __builtin_expect.
42735         * elf/dl-lookup.c (undefined_msg): Remove variable.
42736         (_dl_lookup_symbol_x): Replace undefined_msg with string
42737         literal.
42739         * elf/dl-lookup.c (do_lookup_unique): New function.
42740         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42741         to a separate function.
42743 2014-06-23  Andreas Schwab  <schwab@suse.de>
42745         [BZ #17079]
42746         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42747         before reading the next line.
42749 2014-06-23  Will Newton  <will.newton@linaro.org>
42751         * test-skeleton.c (signal_handler): Use printf and %m
42752         rather than perror.  Use printf rather than fprintf to
42753         stderr.  Use puts rather than fputs to stderr.
42754         (main): Likewise.
42756 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42758         * nscd/nscd.c (thread_info_t): Remove typedef.
42759         (thread_info): Remove variable.
42761 2014-06-21  Allan McRae  <allan@archlinux.org>
42763         * NEWS: Mention CVE-2014-4043.
42765 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42767         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42768         * nptl/smp.h: ... here.
42770         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42772         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42773         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42774         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42775         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42777         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42778         * nptl/stack-aliasing.h: New file.
42779         * sysdeps/i386/i686/stack-aliasing.h: New file.
42780         * sysdeps/i386/i686/nptl/Makefile: File removed.
42781         * sysdeps/x86_64/stack-aliasing.h: New file.
42782         * sysdeps/x86_64/nptl/Makefile
42783         (CFLAGS-pthread_create.c): Variable removed.
42785         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42786         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42787         old file.
42788         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42789         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42790         old file.
42792 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42795         (__ASSUME_SIGFRAME_V2): Remove macro.
42796         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42797         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42798         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42799         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42800         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42801         Declare as function.  Remove conditional macro definitions.
42802         (__default_rt_sa_restorer): Likewise.
42803         (__default_sa_restorer_v1): Remove declaration.
42804         (__default_sa_restorer_v2): Likewise.
42805         (__default_rt_sa_restorer_v1): Likewise.
42806         (__default_rt_sa_restorer_v2): Likewise.
42807         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42808         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42809         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42811 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42813         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42814         (libpthread-routines): Add sysdep.
42815         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42816         * sysdeps/unix/sysv/linux/sparc/Versions
42817         (libpthread: GLIBC_2.3.3): New version set.
42818         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42819         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42820         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42821         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42822         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42823         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42824         Moved ...
42825         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42826         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42827         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42828         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42829         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42830         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42831         * sysdeps/sparc/nptl/sem_init.c: ... here.
42832         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42833         * sysdeps/sparc/nptl/sem_post.c: ... here.
42834         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42835         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42836         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42837         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42838         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42839         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42840         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42841         (libpthread-routines): Add cpu_relax.
42842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42843         File removed.
42844         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42845         (librt: GLIBC_2.3.3): New version set.
42846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42847         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42848         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42849         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42852         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42854         Moved ...
42855         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42857         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42859         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42861         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42863         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42865         Moved ...
42866         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42867         Update #include.
42868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42869         Moved ...
42870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42871         Update #include.
42872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42873         Moved ...
42874         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42875         Update #include.
42876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42877         Moved ...
42878         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42879         Update #include.
42880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42881         Moved ...
42882         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42883         Update #include.
42884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42885         Moved ...
42886         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42887         Update #include.
42888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42889         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42895         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42897         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42899         Moved ...
42900         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42902         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42904         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42906 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42908         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42909         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42910         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42911         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42912         * nscd/nscd.c: Likewise.
42913         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42914         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42915         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42916         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42918         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42919         <kernel-features.h>.
42920         (init_mq_netlink): Remove conditional have_sock_cloexec
42921         definitions.  Remove code conditional on have_sock_cloexec < 0.
42922         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42923         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42924         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42925         <kernel-features.h>.
42926         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42927         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42929 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42932         Add tests for memset_chk and memset.
42934         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42935         with AVX2_Usable.
42937 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42939         [BZ #16046]
42940         * elf/tst-dl-iter-static.c: New file.
42941         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42943         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42944         error.
42946 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42948         * sysdeps/unix/sysv/linux/kernel-features.h
42949         (__ASSUME_F_GETOWN_EX): Remove macro.
42950         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42951         <kernel-features.h>.
42952         (miss_F_GETOWN_EX): Remove variable or macro.
42953         (do_fcntl): Do not check miss_F_GETOWN_EX.
42954         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42957         Remove macro.
42958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42959         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42960         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42962         * sysdeps/unix/sysv/linux/kernel-features.h
42963         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42964         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42965         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42966         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42968 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42970         [BZ #17075]
42971         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42972         Fix calculation of the symbol's value.
42973         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42974         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42975         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42976         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42977         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42978         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42979         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42980         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42981         (modules-names): Add `tst-armtlsdescmod',
42982         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42983         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42984         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42985         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42986         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42987         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42988         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42989         ($(objpfx)tst-armtlsdescloc): New dependency.
42990         ($(objpfx)tst-armtlsdescextnow): Likewise.
42991         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42992         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42993         TLS scheme support.
42994         * sysdeps/arm/configure: Regenerate.
42996 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42998         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42999         (__atfct_seterrno_2): Likewise.
43000         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43001         <kernel-features.h>.
43002         (__ASSUME_ATFCTS): Do not undefine and redefine.
43003         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43004         (__have_atfcts): Remove conditional definition.
43005         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43006         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43007         unreachable if [__ASSUME_ATFCTS].
43008         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43009         not undefine and redefine.
43010         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43011         <kernel-features.h>.
43012         (faccessat) [__NR_faccessat]: Make code unconditional.
43013         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43014         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43015         <kernel-features.h>.
43016         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43017         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43018         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43019         <kernel-features.h>.
43020         (fchownat) [__NR_fchownat]: Make code unconditional.
43021         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43022         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43023         <kernel-features.h>.
43024         (futimesat) [__NR_futimesat]: Make code unconditional.
43025         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43026         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43027         <kernel-features.h>.
43028         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43029         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43030         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43031         <kernel-features.h>.
43032         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43033         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43034         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43035         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43036         <kernel-features.h>.
43037         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43038         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43039         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43040         <kernel-features.h>.
43041         (linkat) [__NR_linkat]: Make code unconditional.
43042         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43043         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43044         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43045         <kernel-features.h>.
43046         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43047         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43048         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43049         <kernel-features.h>.
43050         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43051         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43052         * sysdeps/unix/sysv/linux/openat.c: Do not include
43053         <kernel-features.h>.
43054         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43055         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43056         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43057         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43058         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43059         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43060         <kernel-features.h>.
43061         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43062         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43063         result of INLINE_SYSCALL directly, not via int variable.
43064         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43065         <kernel-features.h>.
43066         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43067         (renameat) [__NR_renameat]: Make code unconditional.
43068         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43069         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43070         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43071         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43072         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43073         (__ASSUME_ATFCTS): Do not undefine and redefine.
43074         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43075         <kernel-features.h>.
43076         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43077         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43078         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43079         <kernel-features.h>.
43080         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43081         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43082         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43083         (__ASSUME_ATFCTS): Do not undefine and redefine.
43084         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43085         <kernel-features.h>.
43086         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43087         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43088         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43089         <kernel-features.h>.
43090         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43091         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43093 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43095         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43097 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43099         [BZ #17069]
43100         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43101         constructed tree before returning error.
43102         * posix/bug-regexp36.c: Expand test case.
43104 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43106         [BZ #6803]
43107         * math/libm-test.inc (scalbln_test_date):
43108         Add errno expectations.
43109         * math/w_scalblnf.c: New File.
43110         Add wrapper which checks for setting errno to ERANGE.
43111         Add weak_alias for corresponding scalbln function.
43112         * math/w_scalbln.c: Likewise.
43113         * math/w_scalblnl.c: Likewise.
43114         * math/Makefile (libm-calls): Add w_scalbln.
43115         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43116         Remove weak_alias for corresponding scalbln function.
43117         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43119         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43120         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43121         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43122         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43123         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43124         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43125         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43126         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43127         Remove long_double_symbol for scalblnl function in libm, libc.
43128         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43129         Add wrapper which checks for setting errno to ERANGE.
43130         Add long_double_symbol for scalblnl function in libm, libc.
43131         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43132         Remove long_double_symbol for scalblnl in libm.
43133         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43134         Add wrapper which checks for setting errno to ERANGE.
43135         Add long_double_symbol for scalblnl function in libm.
43136         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43137         Do not use wrapper because of own implementation.
43139 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43141         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43142         3 bytes for __pad1 for x32.
43143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43145 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43146             H.J. Lu  <hongjiu.lu@intel.com>
43148         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43149         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43150         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43151         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43152         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43154 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43156         [BZ #17069]
43157         * posix/regcomp.c (parse_expression): Deallocate partially
43158         constructed tree before returning error.
43159         * posix/Makefile.c (tests): Add bug-regex36.
43160         (generated): Add bug-regex36.mtrace.
43161         (tests-special): Add $(objpfx)bug-regex36-mem.out
43162         (bug-regex36-ENV): New variable.
43163         ($(objpfx)bug-regex36-mem.out): New rule.
43164         * posix/bug-regex36.c: New file.
43166 2014-06-19  Will Newton  <will.newton@linaro.org>
43168         * malloc/malloc.c (systrim): If extra is zero then return
43169         early.
43171 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43173         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43175 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43177         * sysdeps/aarch64/strchr.S: New file.
43179 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43181         [BZ #17022]
43182         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43183         from arguments -2 or below.
43184         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43185         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43187 2014-06-18  Andreas Schwab  <schwab@suse.de>
43189         [BZ #17062]
43190         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43191         of a bracket expr not to run off the end of the string.
43192         * posix/Makefile (tests): Add tst-fnmatch3.
43193         * posix/tst-fnmatch3.c: New file.
43195 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43197         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43198         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43199         [$(cross-compiling) = no]: Likewise.
43200         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43201         [$(cross-compiling) = no]: Likewise.
43203 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43205         [BZ #17031]
43206         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43207         double, adjusted for any remainder from the high double.
43208         * math/libm-test.inc (nearbyint): Add tests.
43209         (rint): Likewise.
43211 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43213         * nptl/sysdeps/powerpc/Makefile: Moved ...
43214         * sysdeps/powerpc/nptl/Makefile: ... here.
43215         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43216         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43217         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43218         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43219         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43220         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43221         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43222         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43223         * nptl/sysdeps/powerpc/tls.h: Moved ...
43224         * sysdeps/powerpc/nptl/tls.h: ... here.
43226 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43228         [BZ #16681]
43229         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43230         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43231         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43232         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43233         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43234         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43235         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43236         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43237         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43239 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43241         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43243 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43245         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43246         defined operator.
43248         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43249         $TIMEOUTFACTOR.
43251 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43253         [BZ #17058]
43254         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43255         non-executed part of the test.
43257 2014-06-16  Andreas Schwab  <schwab@suse.de>
43259         * string/bits/string2.h (strdup, strndup): Update feature guard.
43261 2014-06-14  David S. Miller  <davem@davemloft.net>
43263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43265 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43267         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43268         that was previously under [RESET_PID].
43269         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43271         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43272         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43273         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43274         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43275         (__libc_vfork): New strong alias.
43276         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43278 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43280         * sysdeps/generic/elide.h: New file.
43282 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43284         * Makefile (installed-headers): Adjust path of pthread.h header.
43286 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43288         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43289         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43290         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43291         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43293         * nptl/sysdeps/s390/Makefile: Moved ...
43294         * sysdeps/s390/nptl/Makefile: ... here.
43295         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43296         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43297         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43298         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43299         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43300         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43301         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43302         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43303         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43304         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43305         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43306         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43307         * nptl/sysdeps/s390/tls.h: Moved ...
43308         * sysdeps/s390/nptl/tls.h: ... here.
43310         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43311         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43313 2014-06-13  David S. Miller  <davem@davemloft.net>
43315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43318         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43322         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43323         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43324         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43325         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43326         Remove RESET_PID cpp guards.
43327         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43328         Remove RESET_PID cpp guards.
43329         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43331 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43333         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43334         __sp to uintptr_t.
43336 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43339         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43341         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43342         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43345         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43346         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43347         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43350         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43352         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43355         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43359         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43360         (pthread_rwlock_rdlock): Add elision.
43361         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43362         (pthread_rwlock_wrlock): Add elision.
43363         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43364         (pthread_rwlock_trywrlock): Add elision.
43365         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43366         (pthread_rwlock_tryrdlock): Add elision.
43367         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43368         (pthread_rwlock_tryrdlock): Add elision unlock.
43369         * nptl/sysdeps/pthread/pthread.h:
43370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43371         (PTHREAD_RWLOCK_INITIALIZER,
43372         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43373         Handle new elision field.
43374         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43375         * sysdeps/arm/nptl/bits/pthreadtypes.h
43376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43377         * sysdeps/sh/nptl/bits/pthreadtypes.h
43378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43379         * sysdeps/tile/nptl/bits/pthreadtypes.h
43380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43381         * sysdeps/a/nptl/bits/pthreadtypes.h
43382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43383         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43385         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43387         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43389         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43390         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43391         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43393         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43395         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43397         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43399         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43400         (elision_init): Set try_xbegin to zero when no RTM.
43401         * sysdeps/x86/nptl/bits/pthreadtypes.h
43402         (pthread_rwlock_t): Change __pad1 to __rwelision.
43403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43405 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43407         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43408         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43409         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43410         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43412 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43414         [BZ #16996]
43415         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43416         that the cached result has been set before returning it.
43418 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43420         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43421         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43422         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43423         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43424         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43425         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43427         * nptl/sysdeps/sparc/Makefile: Moved ...
43428         * sysdeps/sparc/nptl/Makefile: ... here.
43429         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43430         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43431         * nptl/sysdeps/sparc/tls.h: Moved ...
43432         * sysdeps/sparc/nptl/tls.h: ... here.
43433         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43434         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43435         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43436         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43437         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43438         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43439         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43440         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43441         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43442         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43443         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43444         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43445         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43446         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43447         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43448         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43449         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43450         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43451         Update #include.
43452         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43454         Update #include.
43455         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43456         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43457         Update #include.
43458         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43460         Update #include.
43462         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43464         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43465         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43467         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43468         (struct list_links): Type removed.
43469         (struct thread_node, struct timer_node): Replace struct list_links
43470         with struct list_head.
43471         (list_unlink_ip): Likewise.
43472         * sysdeps/pthread/timer_routines.c
43473         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43474         (list_append, list_insbefore): Likewise.
43475         (list_init): Function removed.
43476         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43477         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43478         * sysdeps/pthread/Makefile: ... here, new file.
43480         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43481         * sysdeps/nptl/Implies: ... here.
43482         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43483         * nptl/sysdeps/pthread/list.h: Moved ...
43484         * include/list.h: ... here.
43485         * nptl/sysdeps/pthread/createthread.c: Moved ...
43486         * nptl/createthread.c: ... here.
43487         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43488         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43489         * nptl/pt-longjmp.c: ... here.
43490         * nptl/sysdeps/pthread/Makefile: Moved ...
43491         * sysdeps/nptl/Makefile: ... here.
43492         * nptl/sysdeps/pthread/Subdirs: Moved ...
43493         * sysdeps/nptl/Subdirs: ... here.
43494         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43495         * sysdeps/nptl/aio_misc.h: ... here.
43496         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43497         * sysdeps/nptl/bits/libc-lock.h: ... here.
43498         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43499         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43500         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43501         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43502         * nptl/sysdeps/pthread/configure: Moved ...
43503         * sysdeps/nptl/configure: ... here.
43504         * nptl/sysdeps/pthread/configure.ac: Moved ...
43505         * sysdeps/nptl/configure.ac: ... here.
43506         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43507         * sysdeps/nptl/gai_misc.h: ... here.
43508         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43509         * sysdeps/nptl/librt-cancellation.c: ... here.
43510         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43511         * sysdeps/nptl/malloc-machine.h: ... here.
43512         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43513         * sysdeps/nptl/pthread-functions.h: ... here.
43514         * nptl/sysdeps/pthread/pthread.h: Moved ...
43515         * sysdeps/nptl/pthread.h: ... here.
43516         * nptl/sysdeps/pthread/setxid.h: Moved ...
43517         * sysdeps/nptl/setxid.h: ... here.
43518         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43519         * sysdeps/nptl/sigfillset.c: ... here.
43520         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43521         * sysdeps/nptl/tcb-offsets.h: ... here.
43522         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43523         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43524         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43525         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43526         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43527         * sysdeps/pthread/allocalim.h: ... here.
43528         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43529         * sysdeps/pthread/bits/sigthread.h: ... here.
43530         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43531         * sysdeps/pthread/flockfile.c: ... here.
43532         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43533         * sysdeps/pthread/ftrylockfile.c: ... here.
43534         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43535         * sysdeps/pthread/funlockfile.c: ... here.
43536         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43537         * sysdeps/pthread/posix-timer.h: ... here.
43538         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43539         * sysdeps/pthread/timer_create.c: ... here.
43540         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43541         * sysdeps/pthread/timer_delete.c: ... here.
43542         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43543         * sysdeps/pthread/timer_getoverr.c: ... here.
43544         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43545         * sysdeps/pthread/timer_gettime.c: ... here.
43546         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43547         * sysdeps/pthread/timer_routines.c: ... here.
43548         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43549         * sysdeps/pthread/timer_settime.c: ... here.
43550         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43551         * sysdeps/pthread/tst-timer.c: ... here.
43552         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43553         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43555         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43556         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43558         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43559         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43560         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43561         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43562         Update #include target.
43563         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43564         * sysdeps/i386/i686/nptl/Makefile: ... here.
43565         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43566         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43567         Update #include target.
43568         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43569         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43570         * nptl/sysdeps/i386/Makefile: Moved ...
43571         * sysdeps/i386/nptl/Makefile: ... here.
43572         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43573         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43574         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43575         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43576         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43577         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43578         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43579         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43580         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43581         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43582         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43583         * nptl/sysdeps/i386/tls.h: Moved ...
43584         * sysdeps/i386/nptl/tls.h: ... here.
43586         * sysdeps/sh/Makefile [$(subdir) = csu]
43587         (gen-as-const-headers): Add tcb-offsets.sym.
43588         * nptl/sysdeps/sh/Makefile: File removed.
43589         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43590         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43591         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43592         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43593         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43594         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43595         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43596         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43597         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43598         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43599         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43600         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43601         * nptl/sysdeps/sh/tls.h: Moved ...
43602         * sysdeps/sh/nptl/tls.h: ... here.
43603         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43604         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43605         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43606         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43607         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43608         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43609         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43610         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43611         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43612         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43614         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43616         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43617         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43618         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43619         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43620         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43622         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43624         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43625         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43626         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43627         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43628         Moved ...
43629         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43631         Moved ...
43632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43633         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43635         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43636         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43637         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43638         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43639         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43640         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43641         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43642         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43643         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43644         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43645         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43646         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43647         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43648         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43649         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43650         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43652 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43654         * posix/spawn_faction_addopen.c: Include string.h.
43656 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43658         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43659         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43660         * nptl/sysdeps/x86_64/Makefile: Moved ...
43661         * sysdeps/x86_64/nptl/Makefile: ... here.
43662         * nptl/sysdeps/x86_64/configure: Moved ...
43663         * sysdeps/x86_64/nptl/configure: ... here.
43664         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43665         * sysdeps/x86_64/nptl/configure.ac: ... here.
43666         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43667         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43668         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43669         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43670         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43671         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43672         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43673         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43674         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43675         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43676         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43677         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43678         * nptl/sysdeps/x86_64/tls.h: Moved ...
43679         * sysdeps/x86_64/nptl/tls.h: ... here.
43680         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43681         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43682         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43683         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43685         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43687 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43691 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43693         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43694         type.
43695         [POSIX] (off_t): Likewise.
43696         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43697         [POSIX] (S_ISBLK): Require macro.
43698         [POSIX] (S_ISCHR): Likewise.
43699         [POSIX] (S_ISDIR): Likewise.
43700         [POSIX] (S_ISFIFO): Likewise.
43701         [POSIX] (S_ISREG): Likewise.
43702         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43703         optional-macro.
43704         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43705         type.
43706         [POSIX] (time_t): Likewise.
43707         [POSIX] (timer_t): Likewise.
43709 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43711         [BZ #17048]
43712         * posix/spawn_int.h (struct __spawn_action): Make the path string
43713         non-const to support deallocation.
43714         * posix/spawn_faction_addopen.c
43715         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43716         * posix/spawn_faction_destroy.c
43717         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43718         path in all spawn_do_open actions.
43719         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43720         posix_spawn_file_actions_addopen.
43722 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43724         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43725         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43726         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43727         conditional code always true.
43728         (__libc_vfork): New alias.
43730 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43732         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43733         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43735         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43737         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43738         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43740         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43741         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43743         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43744         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43746 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43748         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43749         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43750         multiarch strcmp for PPC64.
43751         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43752         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43754         multiarch optimizations.
43755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43756         (__libc_ifunc_impl_list): Likewise.
43758 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43760         * benchtests/scripts/validate_benchout.py: New script.
43761         * benchtests/Makefile (bench-func): Call it.
43762         * benchtests/scripts/benchout.schema.json: New file.
43764 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43766         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43767         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43768         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43769         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43770         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43771         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43772         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43773         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43774         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43775         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43776         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43777         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43778         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43779         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43780         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43781         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43783         Moved ...
43784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43785         ... here.
43786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43787         Moved ...
43788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43790         Moved ...
43791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43792         ... here.
43793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43794         Moved ...
43795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43796         ... here.
43797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43798         Moved ...
43799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43801         Moved ...
43802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43803         ... here.
43804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43805         Moved ...
43806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43807         ... here.
43808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43809         Moved ...
43810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43812         Moved ...
43813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43814         ... here.
43815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43816         Moved ...
43817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43818         ... here.
43819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43820         Moved ...
43821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43822         ... here.
43823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43824         Moved ...
43825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43827         Moved ...
43828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43829         ... here.
43830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43831         Moved ...
43832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43833         ... here.
43834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43835         Moved ...
43836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43837         ... here.
43838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43839         Moved ...
43840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43842         Moved ...
43843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43844         ... here.
43845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43846         Moved ...
43847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43848         ... here.
43849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43850         Moved ...
43851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43853         Moved ...
43854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43855         ... here.
43856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43857         Moved ...
43858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43860         Moved ...
43861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43863         Moved ...
43864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43865         ... here.
43866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43867         Moved ...
43868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43869         ... here.
43870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43871         Moved ...
43872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43873         ... here.
43874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43875         Moved ...
43876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43878         Moved ...
43879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43880         ... here.
43881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43882         Moved ...
43883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43884         ... here.
43885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43886         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43888         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43890         Moved ...
43891         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43892         ... here.
43893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43894         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43896         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43898         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43900         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43902         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43903         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43904         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43905         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43906         Moved ...
43907         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43909         Moved ...
43910         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43912         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43913         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43914         Moved ...
43915         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43917         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43918         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43919         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43920         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43921         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43923 2014-06-10  Wilco  <wdijkstr@arm.com>
43925         * math/test-fenv-return.c: New file.
43926         * math/Makefile: Add new test test-fenv-return.
43928 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43930         [BZ #17042]
43931         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43932         when x - 1 is zero.
43933         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43934         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43935         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43936         0.0L for an argument of 1.0L.
43937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43938         Likewise.
43939         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43940         value when x - 1 is zero.
43941         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43942         * sysdeps/i386/fpu/libm-test-ulps: Update.
43943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43945 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43947         [BZ #15119]
43948         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43950 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43952         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43953         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43955 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43957         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43958         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43960         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43961         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43963         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43964         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43966         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43967         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43969         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43970         if not already defined.
43971         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43972         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43973         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43974         (TLS_INIT_TP): Use it.
43975         (TLS_DEFINE_INIT_TP): New macro.
43976         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43978 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43980         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43981         constant.
43982         [POSIX] (IXANY): Likewise.
43983         [POSIX] (OLCUC): Likewise.
43984         [POSIX || POSIX2008] (CBAUD): Do not allow.
43985         [POSIX || POSIX2008] (DEFECHO): Likewise.
43986         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43987         [POSIX || POSIX2008] (ECHOKE): Likewise.
43988         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43989         [POSIX || POSIX2008] (EXTA): Likewise.
43990         [POSIX || POSIX2008] (EXTB): Likewise.
43991         [POSIX || POSIX2008] (FLUSHO): Likewise.
43992         [POSIX || POSIX2008] (LOBLK): Likewise.
43993         [POSIX || POSIX2008] (PENDIN): Likewise.
43994         [POSIX || POSIX2008] (SWTCH): Likewise.
43995         [POSIX || POSIX2008] (VDISCARD): Likewise.
43996         [POSIX || POSIX2008] (VDSUSP): Likewise.
43997         [POSIX || POSIX2008] (VLNEXT): Likewise.
43998         [POSIX || POSIX2008] (VREPRINT): Likewise.
43999         [POSIX || POSIX2008] (VSTATUS): Likewise.
44000         [POSIX || POSIX2008] (VWERASE): Likewise.
44001         (B*): Change to B[0123456789]*.
44002         * conform/data/time.h-data [POSIX || UNIX98]
44003         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44004         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44005         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44006         [POSIX] (tm_*): Do not allow.
44008 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44010         * Makefile (install): Don't set LANGUAGE.
44011         * Makefile.in (install): Likewise.
44012         * assert/Makefile (test-assert-ENV): Remove variable.
44013         (test-assert-perr-ENV): Likewise.
44014         * elf/Makefile (neededtest4-ENV): Likewise.
44015         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44016         [$(cross-compiling) = no]: Don't set LANGUAGE.
44017         * io/ftwtest-sh (LANG): Remove variable.
44018         * libio/Makefile (tst-widetext-ENV): Likewise.
44019         * manual/install.texi (Running make install): Don't refer to
44020         environment settings for make install.
44021         * INSTALL: Regenerated.
44022         * nptl/tst-tls6.sh: Don't set LANG.
44023         * posix/globtest.sh (LANG): Remove variable.
44024         * string/Makefile (tester-ENV): Likewise.
44025         (inl-tester-ENV): Likewise.
44026         (noinl-tester-ENV): Likewise.
44027         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44028         [$(cross-compiling) = no]: Don't set LANGUAGE.
44029         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44030         without explicit environment settings.
44032 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44034         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44035         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44036         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44037         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44039 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44041         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44042         other files in the crypt directory.
44043         * crypt/crypt.c: Remove duplicate includes.
44044         * crypt/crypt-entry.c: Likewise.
44045         * crypt/crypt_util.c: Likewise.
44047 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44049         * Makeconfig (run-program-env): New variable.
44050         (run-program-prefix-before-env): Likewise.
44051         (run-program-prefix-after-env): Likewise.
44052         (run-program-prefix): Define in terms of new variables.
44053         (built-program-cmd-before-env): New variable.
44054         (built-program-cmd-after-env): Likewise.
44055         (built-program-cmd): Define in terms of new variables.
44056         (test-program-prefix-before-env): New variable.
44057         (test-program-prefix-after-env): Likewise.
44058         (test-program-prefix): Define in terms of new variables.
44059         (test-program-cmd-before-env): New variable.
44060         (test-program-cmd-after-env): Likewise.
44061         (test-program-cmd): Define in terms of new variables.
44062         * Rules (make-test-out): Use $(run-program-env).
44063         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44064         (help): Do not mention environment variables.  Mention
44065         --timeoutfactor option.
44066         (timeoutfactor): New variable.
44067         (blacklist_exports): Remove function.
44068         (exports): Remove variable.
44069         (command): Do not include ${exports}.
44070         * manual/install.texi (Configuring and compiling): Do not mention
44071         test wrappers preserving environment variables.  Mention that last
44072         assignment to a variable must take precedence.
44073         * INSTALL: Regenerated.
44074         * benchtests/Makefile (run-bench): Use $(run-program-env).
44075         * catgets/Makefile ($(objpfx)test1.cat): Use
44076         $(built-program-cmd-before-env), $(run-program-env) and
44077         $(built-program-cmd-after-env).
44078         ($(objpfx)test2.cat): Do not specify environment variables
44079         explicitly.
44080         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44081         $(run-program-env) and $(built-program-cmd-after-env).
44082         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44083         $(run-program-env) and $(test-program-cmd-after-env).
44084         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44085         explicitly.
44086         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44087         run_program_env and test_program_cmd_after_env arguments.
44088         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44089         * elf/tst-pathopt.sh: Use run_program_env argument.
44090         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44091         $(test-wrapper-env) and $(run-program-env).
44092         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44093         run_program_env arguments.
44094         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44095         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44096         $(test-program-prefix-before-env), $(run-program-env) and
44097         $(test-program-prefix-after-env).
44098         ($(objpfx)tst-gettext2.out): Likewise.
44099         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44100         run_program_env and test_program_prefix_after_env arguments.
44101         * intl/tst-gettext2.sh: Likewise.
44102         * intl/tst-gettext4.sh: Do not set environment variables
44103         explicitly.
44104         * intl/tst-gettext6.sh: Likewise.
44105         * intl/tst-translit.sh: Likewise.
44106         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44107         $(test-program-prefix-before-env), $(run-program-env) and
44108         $(test-program-prefix-after-env).
44109         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44110         run_program_env and test_program_prefix_after_env arguments.
44111         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44112         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44113         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44114         explicitly with each use of ${test_wrapper_env}.
44115         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44116         $(test-program-prefix-before-env), $(run-program-env) and
44117         $(test-program-prefix-after-env).
44118         * posix/tst-getconf.sh: Do not set environment variables
44119         explicitly.
44120         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44121         run_program_env and test_program_prefix_after_env arguments.
44122         * stdio-common/tst-printf.sh: Do not set environment variables
44123         explicitly.
44124         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44125         $(test-program-prefix-before-env), $(run-program-env) and
44126         $(test-program-prefix-after-env).
44127         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44128         run_program_env and test_program_prefix_after_env arguments.
44129         Split $test calls into $test_pre and $test.
44130         * timezone/Makefile (build-testdata): Use
44131         $(built-program-cmd-before-env), $(run-program-env) and
44132         $(built-program-cmd-after-env).
44134 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44136         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44137         strlen for non SHARED builds.
44139 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44141         * nptl/allocatestack.c (check_list): Inlined function...
44142         (__reclaim_stacks): ... here.
44144 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44146         [BZ #15698]
44147         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44148         memory overrun.
44150 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44152         * Rules (make-test-out): Include
44153         LOCPATH=$(common-objpfx)localedata in default environment.
44154         * debug/Makefile (tst-chk1-ENV): Remove variable.
44155         (tst-chk2-ENV): Likewise.
44156         (tst-chk3-ENV): Likewise.
44157         (tst-chk4-ENV): Likewise.
44158         (tst-chk5-ENV): Likewise.
44159         (tst-chk6-ENV): Likewise.
44160         (tst-lfschk1-ENV): Likewise.
44161         (tst-lfschk2-ENV): Likewise.
44162         (tst-lfschk3-ENV): Likewise.
44163         (tst-lfschk4-ENV): Likewise.
44164         (tst-lfschk5-ENV): Likewise.
44165         (tst-lfschk6-ENV): Likewise.
44166         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44167         (tst-iconv7-ENV): Likewise.
44168         * intl/Makefile (LOCPATH-ENV): Likewise.
44169         (tst-codeset-ENV): Likewise.
44170         (tst-gettext3-ENV): Likewise.
44171         (tst-gettext5-ENV): Likewise.
44172         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44173         (tst-fopenloc-ENV): Likewise.
44174         (tst-fgetws-ENV): Remove variable.
44175         (tst-ungetwc1-ENV): Likewise.
44176         (tst-ungetwc2-ENV): Likewise.
44177         (bug-ungetwc2-ENV): Likewise.
44178         (tst-swscanf-ENV): Likewise.
44179         (bug-ftell-ENV): Likewise.
44180         (tst-fgetwc-ENV): Likewise.
44181         (tst-fseek-ENV): Likewise.
44182         (tst-ftell-partial-wide-ENV): Likewise.
44183         (tst-ftell-active-handler-ENV): Likewise.
44184         (tst-ftell-append-ENV): Likewise.
44185         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44186         (tst-regexloc-ENV): Likewise.
44187         (bug-regex1-ENV): Likewise.
44188         (tst-regex-ENV): Likewise.
44189         (tst-regex2-ENV): Likewise.
44190         (bug-regex5-ENV): Likewise.
44191         (bug-regex6-ENV): Likewise.
44192         (bug-regex17-ENV): Likewise.
44193         (bug-regex18-ENV): Likewise.
44194         (bug-regex19-ENV): Likewise.
44195         (bug-regex20-ENV): Likewise.
44196         (bug-regex22-ENV): Likewise.
44197         (bug-regex23-ENV): Likewise.
44198         (bug-regex25-ENV): Likewise.
44199         (bug-regex26-ENV): Likewise.
44200         (bug-regex30-ENV): Likewise.
44201         (bug-regex32-ENV): Likewise.
44202         (bug-regex33-ENV): Likewise.
44203         (bug-regex34-ENV): Likewise.
44204         (bug-regex35-ENV): Likewise.
44205         (tst-rxspencer-ENV): Likewise.
44206         (tst-rxspencer-no-utf8-ENV): Likewise.
44207         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44208         (tst-sscanf-ENV): Likewise.
44209         (tst-swprintf-ENV): Likewise.
44210         (tst-swscanf-ENV): Likewise.
44211         (test-vfprintf-ENV): Likewise.
44212         (scanf13-ENV): Likewise.
44213         (bug14-ENV): Likewise.
44214         (tst-grouping-ENV): Likewise.
44215         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44216         (tst-strtod3-ENV): Likewise.
44217         (tst-strtod4-ENV): Likewise.
44218         (tst-strtod5-ENV): Likewise.
44219         (testmb2-ENV): Likewise./
44220         * string/Makefile (tst-strxfrm-ENV): Likewise.
44221         (tst-strxfrm2-ENV): Likewise.
44222         (bug-strcoll1-ENV): Likewise.
44223         (test-strcasecmp-ENV): Likewise.
44224         (test-strncasecmp-ENV): Likewise.
44225         * time/Makefile (tst-strptime-ENV): Likewise.
44226         (tst-ftime_l-ENV): Likewise.
44227         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44228         (tst-mbrtowc-ENV): Likewise.
44229         (tst-wcrtomb-ENV): Likewise.
44230         (tst-mbrtowc2-ENV): Likewise.
44231         (tst-c16c32-1-ENV): Likewise.
44232         (tst-mbsnrtowcs-ENV): Likewise.
44234 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44236         * manual/resource.texi (How to get information about the memory
44237         subsystem?): Fix typo.
44238         Reported by Peon de la Parra Ivan <peon@keba.com>
44240 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44242         [BZ #16882]
44243         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44244         (pthread_spin_lock): Branch out of spin loop to proper location.
44245         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44246         (pthread_spin_lock): Likewise.
44248         * nptl/tst-spin4.c: New test.
44249         * nptl/Makefile (tests): Add tst-spin4.
44251 2014-06-03  Andreas Schwab  <schwab@suse.de>
44253         [BZ #15946]
44254         * resolv/res_send.c (send_dg): Reload file descriptor after
44255         calling reopen.
44257 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44259         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44261 2014-06-03  Richard Henderson  <rth@redhat.com>
44263         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44264         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44265         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44266         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44267         in the SAVE_PID block.
44268         (__libc_vfork): New alias.
44269         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44271         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44272         child in registers, not on the stack.  Remove RESET_PID conditionals.
44273         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44275 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44277         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44279 2014-06-03  Wilco  <wdijkstr@arm.com>
44281         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44282         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44283         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44284         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44285         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44286         Likewise.
44288 2014-06-03  Wilco  <wdijkstr@arm.com>
44290         * sysdeps/aarch64/fpu/math_private.h
44291         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44292         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44293         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44294         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44295         Fix declarations.
44297 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44299         * crypt/crypt-private.h: Include ufc-crypt.h.
44300         (__b64_from_24bit): Declare extern.
44301         * crypt/crypt_util.c(__b64_from_24bit): New function.
44302         (b64t): New static const variable.
44303         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44304         (b64t): Remove variable.
44305         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44306         * crypt/sha256-crypt.c: Include crypt-private.h.
44307         (b64t): Remove variable.
44308         (__sha256_crypt_r): Remove b64_from_24bit and replace
44309         with __b64_from_24bit.
44310         * crypt/sha512-crypt.c: Likewise.
44312 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44314         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44315         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44316         Label the code __libc_vfork rather than __vfork.
44317         [!NOT_IN_libc] (vfork): Define as weak alias.
44318         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44319         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44320         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44322 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44324         * malloc/malloc.c (malloc_info): Fix format specifier for
44325         n_mmaps.
44327 2014-06-02  Wilco  <wdijkstr@arm.com>
44329         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44330         FPCR write.
44332 2014-06-02  Wilco  <wdijkstr@arm.com>
44334         [BZ #17009]
44335         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44336         Rewrite to reduce FPCR/FPSR accesses.
44338 2014-06-01  David S. Miller  <davem@davemloft.net>
44340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44342 2014-05-31  David S. Miller  <davem@davemloft.net>
44344         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44345         to occur in round to nearest mode when |x| >= 2.0
44347 2014-05-30  Richard Henderson  <rth@twiddle.net>
44349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44350         (PSEUDO_RET_NOERRNO): Remove.
44351         (ret): Don't redefine.
44352         (ret_NOERRNO): Define in terms of ret.
44353         (ret_ERRVAL): Likewise.
44355         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44356         use of PSEUDO_RET; perform the error check directly.
44358 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44360         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44361         with __int128_t.
44363 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44365         * malloc/malloc (malloc_info): Fix formatting.
44367 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44368             Roland McGrath  <roland@hack.frob.com>
44370         * malloc/malloc (malloc_info): Also print mmapped statistics.
44372 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44374         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44375         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44377 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44379         * malloc/malloc.c (malloc_info): Inline mi_arena.
44381 2014-05-29  Richard Henderson  <rth@twiddle.net>
44383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44384         Remove comma before expanding ASM_ARGS_##nr.
44385         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44386         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44387         of ASM_ARGS_##nr.
44388         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44389         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44390         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44391         (ASM_ARGS_1): Add leading comma.
44393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44394         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44395         to __errno_location.
44396         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44397         Remove the expected plt for __errno_location.
44399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44400         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44401         call to __read_tp.
44403         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44404         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44405         it and break it down.
44406         (DOCARGS_0, DOCARGS_1): Do nothing.
44407         (DOCARGS_2): Update to store into the new stack frame.
44408         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44409         (UNDOCARGS_1): Update to restore from the new stack frame.
44410         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44411         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44413         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44414         (SINGLE_THREAD_P): New parameter for result regno.
44415         (PSEUDO): Update to match; use cbz instead of beq.
44417         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44418         Use ENTRY to define the _nocancel entry point.  Share the syscall
44419         and syscall error check paths with the cancel path.
44420         (PSEUDO_END): New.
44422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44423         whitespace; tabs before and after asm mnemonics.
44425 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44427         [BZ #15132]
44428         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44429         Call fstat64 or stat64 internally, depending on arguments passed.
44430         Replace stat buffer argument with file descriptor argument.
44431         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44432         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44433         Pass fd to __internal_statvfs instead of calling fstat64.
44434         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44435         Pass fd to __internal_statvfs64 instead of calling fstat64.
44436         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44437         Pass -1 to __internal_statvfs instead of calling stat64.
44438         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44439         Pass -1 to __internal_statvfs64 instead of calling stat64.
44441 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44443         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44444         that was previously under [RESET_PID].
44445         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44447         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44448         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44450 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44452         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44454         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44455         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44457 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44459         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44461 2014-05-27  Andreas Schwab  <schwab@suse.de>
44463         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44464         TLS_INIT_TP macro.
44465         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44466         * elf/rtld.c (init_tls, dl_main): Likewise.
44467         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44468         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44469         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44470         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44471         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44472         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44473         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44474         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44475         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44476         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44477         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44478         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44479         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44480         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44481         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44482         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44483         * sysdeps/generic/tls.h: Update description.
44485 2014-05-27  Will Newton  <will.newton@linaro.org>
44487         [BZ #16990]
44488         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44489         and restore r2 rather than just restoring.
44491 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44493         [BZ #16724]
44494         * libio/tst-ftell-append.c: New test case.
44495         * libio/Makefile (tests): Add test case.
44496         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44497         append mode.
44498         * libio/wfileops.c (do_ftell_wide): Likewise.
44500 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44504         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44505         ...
44506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44508         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44509         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44510         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44511         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44512         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44513         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44515         Moved ...
44516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44518         Moved ...
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44520         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44521         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44522         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44523         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44524         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44525         ...
44526         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44527         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44528         Moved ...
44529         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44530         here.
44531         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44532         ...
44533         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44534         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44535         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44537         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44538         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44539         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44540         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44543         merge into ...
44544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44546         ...
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44549         ...
44550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44552         Moved ...
44553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44554         here.
44555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44556         Moved ...
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44559         Moved ...
44560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44563         conditional [RESET_PID].
44564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44566         removed.
44567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44568         removed.
44570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44571         <tcb-offsets.h>.
44572         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44573         (__libc_vfork): New strong alias.
44574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44575         removed.
44576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44577         Removed.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44580         <tcb-offsets.h>.
44581         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44582         (__libc_vfork): New strong alias.
44583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44584         removed.
44585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44586         removed.
44588 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44590         * malloc/malloc.c (mi_arena): New function.
44591         (malloc_info): Remove nested function mi_arena. Call non-nosted
44592         function mi_arena.
44594 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44596         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44597         by insrwi.
44598         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44599         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44600         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44601         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44602         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44603         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44604         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44606 2014-05-26  Andreas Schwab  <schwab@suse.de>
44608         [BZ #16984]
44609         * locale/programs/repertoire.c (repertoire_read): Add slash
44610         between I18NPATH element and file name.
44611         * locale/programs/locfile.c (locfile_read): Likewise.
44613 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44615         * nptl/pthread_mutexattr_settype.c
44616         (__pthread_mutexattr_settype):
44617         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44619 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44621         * nptl/tst-mutex5 (do_test):
44622         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44624 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44626         * benchtests/README: Document 'init' directive.
44627         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44628         BENCH_INIT.
44629         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44630         (parse_file): Recognize 'init' directive.
44632 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44634         [BZ #16796]
44635         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44636         alignment of struct pthread.
44638 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44640         [BZ #16878]
44641         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44642         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44643         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44644         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44646 2014-05-25  Richard Henderson  <rth@twiddle.net>
44648         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44649         (SINGLE_THREAD_P_PIC): Remove.
44650         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44651         (SINGLE_THREAD_P_PIC): Remove.
44653         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44654         branch to syscall error ...
44655         (PSEUDO): ... here.
44656         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44657         from __local_syscall_error to .Lsyscall_error.
44658         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44659         (SYSCALL_ERROR): Update label name.
44661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44662         Do not use DOARGS/UNDOARGS.
44663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44664         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44665         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44666         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44667         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44669         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44670         block comment.
44672         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44673         define if !NOT_IN_libc.
44674         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44675         define with non-default symbol versions.
44677 2014-05-23  Richard Henderson  <rth@twiddle.net>
44679         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44680         (vfork, __vfork): Define via compat_symbol.
44682         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44683         [!HAVE_IFUNC] (vfork_compat): Remove.
44684         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44686 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44688         [BZ #16978]
44689         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44690         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44691         variable.
44693 2014-05-23  Richard Henderson  <rth@twiddle.net>
44695         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44696         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44697         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44698         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44700         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44701         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44702         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44703         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44704         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44705         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44706         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44707         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44708         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44709         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44710         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44711         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44712         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44713         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44714         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44715         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44716         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44717         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44718         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44719         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44720         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44721         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44722         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44723         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44724         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44725         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44726         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44727         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44728         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44729         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44730         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44731         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44732         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44733         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44734         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44735         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44736         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44737         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44738         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44739         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44740         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44741         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44742         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44743         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44744         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44745         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44746         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44747         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44748         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44749         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44750         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44751         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44753         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44754         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44755         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44757         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44758         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44759         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44760         before exiting on error.
44761         (__libc_vfork): New strong alias.
44762         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44763         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44765         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44766         that was previously under [RESET_PID].
44767         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44769         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44771 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44773         [BZ #16977]
44774         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44775         value when x - 1 is zero.
44776         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44777         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44778         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44779         0.0L for an argument of 1.0L.
44780         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44781         Likewise.
44782         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44783         value when x - 1 is zero.
44784         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44785         * sysdeps/i386/fpu/libm-test-ulps: Update.
44786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44788 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44790         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44791         alphasort and versionsort.
44793 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44795         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44796         macro.
44797         [copysignf]: Likewise.
44799 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44801         * crypt/md5-crypt.c: Fix formatting.
44803 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44805         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44806         (b64_from_24bit): New function.
44808 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44810         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44811         libc_hidden_builtin_def to ifunc.
44812         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44813         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44815 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44817         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44818         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44820 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44822         * nscd/Depend (linuxthreads): Remove.
44823         (nptl): Add.
44824         * resolv/Depend (linuxthreads): Remove.
44825         * rt/Depend (linuxthreads): Remove.
44827         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44828         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44829         $(common-objpfx)elf/.
44830         (link-libc-before-gnulib): Likewise.
44831         (elfobjdir): Remove variable.
44832         * Makefile (install): Use $(elf-objpfx) instead of
44833         $(common-objpfx)elf/.
44834         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44835         $(elfobjdir)/.
44836         (link-libc-deps): Likewise.
44837         ($(common-objpfx)libc.so): Likewise.
44838         ($(common-objpfx)linkobj/libc.so): Likewise.
44839         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44840         instead of $(common-objpfx)elf/.
44841         (symbolic-link-list): Likewise.
44842         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44843         [$(cross-compiling) = no]: Likewise.
44844         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44845         $(elfobjdir)/.
44846         (static-gnulib-arch): Likewise.
44847         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44848         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44849         $(common-objpfx)elf/.
44851 2014-05-21  Richard Henderson  <rth@redhat.com>
44853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44854         (SINGLE_THREAD_P): Use the correct width load.  Fold
44855         into the ldr offset.
44857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44858         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44860 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44862         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44863         (libgcc_s_resume): Use __attribute_used__.
44864         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44865         Likewise.
44867 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44869         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44870         optimization when used with float constants.
44872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44874 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44876         [BZ #16915]
44877         * locale/nl_langinfo_l.c: Make direct reference to every
44878         _nl_current_CATEGORY symbol.
44879         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44880         (tests-static): Add tst-langinfo-static.
44881         (tests-special): Add tst-langinfo-static.out.
44882         ($(objpfx)tst-langinfo.out): Redirect output.
44883         ($(objpfx)tst-langinfo-static.out): New.
44884         * localedata/tst-langinfo.sh: Send output to stdout.
44885         * localedata/tst-langinfo-static.c: New file.
44887         [BZ #16965]
44888         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44889         when the shift amount is modulo the limb size.
44891 2014-05-20  Richard Henderson  <rth@redhat.com>
44893         [BZ #16967]
44894         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44895         Change type of sa_flags from unsigned int to int.
44897         [BZ #16966]
44898         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44900         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44902 2014-05-20  Will Newton  <will.newton@linaro.org>
44904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44905         Test the return value of the system call in the nocancel case.
44907 2014-05-20  Will Newton  <will.newton@linaro.org>
44908             Yvan Roux  <yvan.roux@linaro.org>
44910         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44911         #include of asm/ptrace.h.
44912         (PTRACE_GET_THREAD_AREA): Remove #undef.
44913         (PTRACE_GETHBPREGS): Likewise.
44914         (PTRACE_SETHBPREGS): Likewise.
44915         (struct user_regs_struct): New structure.
44916         (struct user_fpsimd_struct): New structure.
44917         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44918         #include of asm/ptrace.h and second #include of sys/user.h.
44919         (PTRACE_GET_THREAD_AREA): Remove #undef.
44920         (PTRACE_GETHBPREGS): Likewise.
44921         (PTRACE_SETHBPREGS): Likewise.
44922         (ELF_NGREG): Use new struct user_regs_struct.
44923         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44925 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44930 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44932         [BZ #16958]
44933         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44934         membar to avoid block loads/stores to overlap previous stores.
44936 2014-05-17  Richard Henderson  <rth@redhat.com>
44938         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44939         Create the __##syscall_name##_nocancel entry point.
44940         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44941         Remove; let the sysdep-cancel.h code create it.
44943 2014-05-17  David S. Miller  <davem@davemloft.net>
44945         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44946         Protect with __USE_GNU.
44947         (TIOCSET_TEMPT): Likewise.
44948         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44949         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44950         these are already provided in bits/ioctl-types.h
44952 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44954         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44955         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44957         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44958         Use wait4 regardless of [__NR_waitpid].
44960 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44962         PR libgcc/60166
44963         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44964         (_FP_NANSIGN_Q): Set the quiet bit.
44966 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44968         * benchtests/Makefile
44969         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44970         not $(common-objpfx)math/libm.so.
44971         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44972         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44973         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44974         $(common-objpfx)dlfcn/libdl.so.
44975         ($(objpfx)tst-audit8): Depend on $(libm), not
44976         $(common-objpfx)math/libm.so.
44977         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44978         not $(common-objpfx)dlfcn/libdl.so.
44979         * math/Makefile
44980         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44981         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44982         [$(build-shared) = yes].
44983         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44984         $(common-objpfx)nptl/libpthread.so.
44985         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44986         $(common-objpfx)math/libm.so$(libm.so-version) or
44987         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44988         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44989         $(common-objpfx)dlfcn/libdl.so.
44990         * setjmp/Makefile (link-libm): Remove variable.
44991         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44992         * stdio-common/Makefile (link-libm): Remove variable.
44993         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44994         * stdlib/Makefile (link-libm): Remove variable.
44995         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44996         ($(objpfx)tst-strtod-round): Likewise.
44997         ($(objpfx)tst-tininess): Likewise.
44998         ($(objpfx)tst-strtod-underflow): Likewise.
44999         ($(objpfx)tst-strtod6): Likewise.
45000         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45001         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45002         $(common-objpfx)dlfcn/libdl.so.
45004 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45006         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45007         BSD terminal modes definitions.
45009 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45011         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45012         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45014         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45015         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45016         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45017         Don't do #include_next.
45018         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45019         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45020         Don't do #include_next.
45021         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45022         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45023         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45024         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45026 2014-05-16  Allan McRae  <allan@archlinux.org>
45028         * po/sv.po: Update Swedish translation from translation project.
45030         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45031         in sed expression.
45033 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45035         [BZ #16917]
45036         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45037         errno if the TIOCGPTN ioctl fails with an error different than
45038         EINVAL.
45039         * login/tst-ptsname.c: New file.
45040         * login/Makefile (tests): Add tst-ptsname.
45042         [BZ #16943]
45043         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45044         and prlimit64.
45046 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45048         [BZ #16849]
45049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45050         herrno to return EAI_AGAIN.
45052 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45054         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45055         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45056         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45057         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45058         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45059         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45060         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45061         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45062         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45063         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45064         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45065         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45066         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45067         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45068         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45069         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45070         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45071         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45072         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45073         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45074         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45075         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45076         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45077         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45078         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45079         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45080         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45081         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45082         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45083         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45085         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45087         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45089         Moved ...
45090         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45092         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45094         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45096         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45098         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45100         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45102         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45104         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45106         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45108         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45110         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45112         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45114         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45116         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45118         Moved ...
45119         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45121         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45123         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45125         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45127         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45131         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45133         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45135         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45137         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45139         Moved ...
45140         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45142         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45144         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45145         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45146         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45147         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45148         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45149         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45150         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45151         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45152         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45153         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45154         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45155         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45156         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45157         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45158         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45159         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45160         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45161         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45162         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45163         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45164         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45165         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45166         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45167         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45168         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45169         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45170         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45171         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45172         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45173         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45174         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45176         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45177         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45179         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45180         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45181         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45182         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45183         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45185         Moved ...
45186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45188         Moved ...
45189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45191         Moved ...
45192         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45194         Moved ...
45195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45197         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45199         Moved ...
45200         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45201         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45202         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45204         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45205         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45206         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45208         Moved ...
45209         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45211         Moved ...
45212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45213         ... here.
45214         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45215         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45216         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45217         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45218         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45219         Moved ...
45220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45221         ... here.
45222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45223         Moved ...
45224         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45225         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45226         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45227         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45228         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45230         Moved ...
45231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45233         Moved ...
45234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45236         Moved ...
45237         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45239         Moved ...
45240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45242         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45244         Moved ...
45245         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45246         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45247         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45249         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45250         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45251         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45253         Moved ...
45254         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45256         Moved ...
45257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45258         ... here.
45259         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45260         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45261         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45262         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45263         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45264         Moved ...
45265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45266         ... here.
45267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45268         Moved ...
45269         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45270         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45271         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45272         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45273         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45274         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45275         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45276         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45277         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45278         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45279         Moved ...
45280         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45281         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45282         Moved ...
45283         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45285         Moved ...
45286         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45288         Moved ...
45289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45290         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45291         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45292         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45293         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45295         Moved ...
45296         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45297         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45298         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45300         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45301         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45302         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45304         Moved ...
45305         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45307         Moved ...
45308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45309         ... here.
45310         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45311         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45312         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45313         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45315         Moved ...
45316         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45317         ... here.
45318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45319         Moved ...
45320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45321         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45322         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45323         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45324         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45325         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45326         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45327         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45328         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45329         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45330         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45332         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45333         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45335         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45336         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45338         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45339         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45340         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45341         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45342         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45343         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45344         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45345         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45346         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45347         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45349         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45350         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45351         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45352         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45354         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45356         Moved ...
45357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45361         Moved ...
45362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45364         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45366         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45368         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45370         Moved ...
45371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45373         Moved ...
45374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45380         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45381         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45382         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45383         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45384         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45385         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45386         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45387         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45388         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45389         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45390         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45392         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45393         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45394         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45395         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45396         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45398         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45399         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45400         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45401         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45402         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45403         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45404         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45405         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45406         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45407         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45412         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45413         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45414         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45415         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45416         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45417         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45418         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45419         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45420         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45421         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45422         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45423         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45424         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45425         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45427         Update #include.
45428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45429         Likewise.
45430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45431         Likewise.
45432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45433         Likewise.
45434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45435         Likewise.
45436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45437         Likewise.
45438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45439         Likewise.
45440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45441         Likewise.
45442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45443         Likewise.
45444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45445         Likewise.
45446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45455         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45458         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45459         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45460         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45462         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45463         that was previously under [RESET_PID].
45464         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45465         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45466         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45468         * sysdeps/i386/nptl/Implies: New file.
45469         * sysdeps/x86_64/nptl/Implies: New file.
45470         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45471         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45472         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45473         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45475         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45476         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45477         (__libc_vfork): New strong alias.
45478         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45479         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45481         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45482         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45483         (__libc_vfork): New strong alias.
45484         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45485         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45487         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45488         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45489         (__libc_vfork): New strong alias.
45490         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45491         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45492         * nptl/pt-vfork.c: New file.
45493         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45494         (libpthread: GLIBC_2.20): New version set (empty).
45496 2014-05-14  Will Newton  <will.newton@linaro.org>
45498         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45499         rather than #if.
45501 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45503         [BZ #16564]
45504         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45505         arguments with exponent 65 or above.
45506         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45507         arguments 0x1p113L or above.
45508         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45509         to arguments 0x1p107L or above.
45510         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45511         positive arguments with exponent 65 or above.
45512         * math/auto-libm-test-in: Add more tests of log1p.
45513         * math/auto-libm-test-out: Regenerated.
45515         [BZ #16928]
45516         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45517         non-finite arguments is +0.
45518         * math/s_cacosf.c (__cacosf): Likewise.
45519         * math/s_cacosl.c (__cacosl): Likewise.
45520         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45521         * sysdeps/i386/fpu/libm-test-ulps: Update.
45522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45524         [BZ #16927]
45525         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45526         value.
45527         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45528         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45529         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45530         for explicit high bit of mantissa when testing for argument equal
45531         to 1.
45532         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45533         * sysdeps/i386/fpu/libm-test-ulps: Update.
45534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45536         [BZ #16516]
45537         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45538         (__erf): Scale by 16 instead of 8 in potentially underflowing
45539         case.  Ensure exception if result actually underflows.
45540         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45541         (__erff): Scale by 16 instead of 8 in potentially underflowing
45542         case.  Ensure exception if result actually underflows.
45543         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45544         (efx8): Remove variable.
45545         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45546         case.  Ensure exception if result actually underflows.
45547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45548         (efx8): Remove variable.
45549         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45550         case.  Ensure exception if result actually underflows.
45551         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45552         (efx8): Remove variable.
45553         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45554         case.  Ensure exception if result actually underflows.
45555         * math/auto-libm-test-in: Add more tests of erf.
45556         * math/auto-libm-test-out: Regenerated.
45558 2014-05-14  Andreas Schwab  <schwab@suse.de>
45560         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45561         Remove code conditionalized on USE___THREAD.
45563         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45564         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45565         not definedness.
45567 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45569         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45570         Define unconditionally.
45571         (__ASSUME_O_CLOEXEC): Likewise.
45572         (__ASSUME_SOCK_CLOEXEC): Likewise.
45573         (__ASSUME_IN_NONBLOCK): Likewise.
45574         (__ASSUME_PIPE2): Likewise.
45575         (__ASSUME_EVENTFD2): Likewise.
45576         (__ASSUME_SIGNALFD4): Likewise.
45577         (__ASSUME_DUP3): Likewise.
45578         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45579         (__ASSUME_DUP3): Do not define.
45580         (__ASSUME_EVENTFD2): Likewise.
45581         (__ASSUME_IN_NONBLOCK): Likewise.
45582         (__ASSUME_O_CLOEXEC): Likewise.
45583         (__ASSUME_PIPE2): Likewise.
45584         (__ASSUME_SIGNALFD4): Likewise.
45585         (__ASSUME_SOCK_CLOEXEC): Likewise.
45586         (__ASSUME_UTIMES): Undefine.
45587         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45588         (__ASSUME_UTIMES): Do not define.
45589         (__ASSUME_O_CLOEXEC): Likewise.
45590         (__ASSUME_SOCK_CLOEXEC): Likewise.
45591         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45592         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45593         0x020621].
45594         (__ASSUME_PIPE2): Likewise.
45595         (__ASSUME_EVENTFD2): Likewise.
45596         (__ASSUME_SIGNALFD4): Likewise.
45597         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45598         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45599         Do not define.
45600         (__ASSUME_EVENTFD2): Likewise.
45601         (__ASSUME_SIGNALFD4): Likewise.
45602         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45603         (__ASSUME_32BITUIDS): Likewise.
45604         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45605         (__ASSUME_IPC64): Likewise.
45606         (__ASSUME_ST_INO_64_BIT): Likewise.
45607         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45608         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45609         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45610         (__ASSUME_UTIMES): Do not define.
45611         (__ASSUME_PSELECT): Likewise.
45612         (__ASSUME_PPOLL): Likewise.
45613         (__ASSUME_O_CLOEXEC): Likewise.
45614         (__ASSUME_SOCK_CLOEXEC): Likewise.
45615         (__ASSUME_IN_NONBLOCK): Likewise.
45616         (__ASSUME_PIPE2): Likewise.
45617         (__ASSUME_EVENTFD2): Likewise.
45618         (__ASSUME_SIGNALFD4): Likewise.
45619         (__ASSUME_DUP3): Likewise.
45620         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45621         (__ASSUME_UTIMES): Likewise.
45622         (__ASSUME_O_CLOEXEC): Likewise.
45623         (__ASSUME_SOCK_CLOEXEC): Likewise.
45624         (__ASSUME_IN_NONBLOCK): Likewise.
45625         (__ASSUME_PIPE2): Likewise.
45626         (__ASSUME_EVENTFD2): Likewise.
45627         (__ASSUME_SIGNALFD4): Likewise.
45628         (__ASSUME_DUP3): Likewise.
45629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45630         (__ASSUME_UTIMES): Likewise.
45631         (__ASSUME_O_CLOEXEC): Likewise.
45632         (__ASSUME_SOCK_CLOEXEC): Likewise.
45633         (__ASSUME_IN_NONBLOCK): Likewise.
45634         (__ASSUME_PIPE2): Likewise.
45635         (__ASSUME_EVENTFD2): Likewise.
45636         (__ASSUME_SIGNALFD4): Likewise.
45637         (__ASSUME_DUP3): Likewise.
45638         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45639         Likewise.
45640         (__ASSUME_UTIMES): Likewise.
45641         (__ASSUME_EVENTFD2): Likewise.
45642         (__ASSUME_SIGNALFD4): Likewise.
45643         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45644         (__ASSUME_O_CLOEXEC): Likewise.
45645         (__ASSUME_SOCK_CLOEXEC): Likewise.
45646         (__ASSUME_IN_NONBLOCK): Likewise.
45647         (__ASSUME_PIPE2): Likewise.
45648         (__ASSUME_EVENTFD2): Likewise.
45649         (__ASSUME_SIGNALFD4): Likewise.
45650         (__ASSUME_DUP3): Likewise.
45651         (__ASSUME_UTIMES): Undefine.
45653         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45654         feclearexcept.  Remove symbol versioning code.
45655         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45656         symbol versioning code.
45657         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45658         symbol versioning code.
45659         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45660         feupdateenv.  Remove symbol versioning code.
45661         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45662         fegetexceptflag.  Remove symbol versioning code.
45663         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45664         fesetexceptflag.  Remove symbol versioning code.
45665         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45666         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45667         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45668         (__posix_fadvise64_l32): Remove prototype.
45669         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45670         code.
45672 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45674         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45675         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45676         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45677         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45679 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45681         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45682         current working directory
45684 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45686         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45687         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45688         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45689         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45690         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45691         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45692         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45693         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45694         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45695         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45696         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45697         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45698         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45699         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45700         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45701         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45702         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45703         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45704         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45705         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45706         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45707         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45708         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45709         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45710         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45711         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45712         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45713         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45714         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45715         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45716         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45717         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45718         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45719         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45720         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45721         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45722         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45723         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45724         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45725         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45726         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45727         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45729         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45730         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45732         * sysdeps/unix/sysv/linux/arm/Makefile
45733         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45734         Add rt-aeabi_unwind_cpp_pr1.
45735         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45736         Add nptl-aeabi_unwind_cpp_pr1.
45737         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45738         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45739         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45740         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45741         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45742         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45744         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45745         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45746         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45747         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45749         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45750         Deconditionalize the code that was previously under [RESET_PID].
45751         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45753         * sysdeps/generic/exit-thread.h: New file.
45754         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45755         * include/unistd.h (__exit_thread): Remove declaration.
45756         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45757         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45758         * csu/libc-start.c: Include <exit-thread.h>.
45759         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45760         * nptl/pthread_create.c: Include <exit-thread.h>.
45761         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45762         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45763         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45764         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45765         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45766         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45767         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45768         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45769         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45770         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45771         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45772         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45773         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45774         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45775         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45776         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45777         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45779 2014-05-13  Andreas Schwab  <schwab@suse.de>
45781         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45783 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45785         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45786         (__ASSUME_UTIMES): Do not condition on kernel version.
45787         (__ASSUME_PSELECT): Define unconditionally.
45788         (__ASSUME_PPOLL): Likewise.
45789         (__ASSUME_ATFCTS): Likewise.
45790         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45791         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45792         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45793         (__ASSUME_UTIMENSAT): Define unconditionally.
45794         (__ASSUME_PRIVATE_FUTEX): Likewise.
45795         (__ASSUME_FALLOCATE): Likewise.
45796         (__ASSUME_O_CLOEXEC): Likewise.
45797         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45798         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45799         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45800         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45801         (__ASSUME_IN_NONBLOCK): Likewise.
45802         (__ASSUME_PIPE2): Likewise.
45803         (__ASSUME_EVENTFD2): Likewise.
45804         (__ASSUME_SIGNALFD4): Likewise.
45805         (__ASSUME_DUP3): Likewise.
45806         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45807         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45808         (__ASSUME_AT_RANDOM): Likewise.
45809         (__ASSUME_PREADV): Likewise.
45810         (__ASSUME_PWRITEV): Likewise.
45811         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45812         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45813         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45814         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45815         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45816         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45817         (__ASSUME_O_CLOEXEC): Define unconditionally.
45818         (__ASSUME_PSELECT): Do not undefine conditionally.
45819         (__ASSUME_PPOLL): Likewise.
45820         (__ASSUME_ATFCTS): Likewise.
45821         (__ASSUME_SET_ROBUST_LIST): Likewise.
45822         (__ASSUME_UTIMENSAT): Likewise.
45823         (__ASSUME_FDATASYNC): Define unconditionally.
45824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45825         (__ASSUME_SIGFRAME_V2): Likewise.
45826         )__ASSUME_EVENTFD2): Likewise.
45827         (__ASSUME_SIGNALFD4): Likewise.
45828         (__ASSUME_PSELECT): Do not undefine conditionally.
45829         (__ASSUME_PPOLL): Likewise.
45830         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45831         (__ASSUME_PSELECT): Define unconditionally.
45832         (__ASSUME_PPOLL): Likewise.
45833         (__ASSUME_O_CLOEXEC): Likewise.
45834         (__ASSUME_SOCK_CLOEXEC): Likewise.
45835         (__ASSUME_IN_NONBLOCK): Likewise.
45836         (__ASSUME_PIPE2): Likewise.
45837         (__ASSUME_EVENTFD2): Likewise.
45838         (__ASSUME_SIGNALFD4): Likewise.
45839         (__ASSUME_DUP3): Likewise.
45840         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45841         (__ASSUME_O_CLOEXEC): Likewise.
45842         (__ASSUME_SOCK_CLOEXEC): Likewise.
45843         (__ASSUME_IN_NONBLOCK): Likewise.
45844         (__ASSUME_PIPE2): Likewise.
45845         (__ASSUME_EVENTFD2): Likewise.
45846         (__ASSUME_SIGNALFD4): Likewise.
45847         (__ASSUME_DUP3): Likewise.
45848         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45849         (__ASSUME_EVENTFD2): Likewise.
45850         (__ASSUME_SIGNALFD4): Likewise.
45851         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45853 2014-05-12  Andreas Schwab  <schwab@suse.de>
45855         [BZ #16932]
45856         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45857         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45858         than maximum RPC packet size.
45859         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45860         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45861         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45862         (_nss_nis_getservbyport_r): Likewise.
45864 2014-05-12  Will Newton  <will.newton@linaro.org>
45866         * malloc/Makefile (tests): Add tst-mallopt.
45867         * malloc/tst-mallopt.c: New file.
45869 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45871         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45872         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45874 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45876         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45877         (tst-tlsmod6.so): Likewise.
45879 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45881         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45883 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45885         [BZ #16064]
45886         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45887         and <dl-procinfo.h>.
45888         (__fegetenv): Save SSE state in envp->__eip if supported.
45889         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45890         envp->__eip if supported.
45891         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45892         and <dl-procinfo.h>.
45893         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45894         __data_offset and __data_selector in environment to 0.  Set SSE
45895         state if supported.
45896         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45897         test-fenv-sse.
45898         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45899         -mfpmath=sse.
45900         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45902 2014-05-09  Will Newton  <will.newton@linaro.org>
45904         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45905         and libc_relro_required for ARM.
45906         * sysdeps/arm/preconfigure: Regenerate.
45908 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45909             Stefan Liebler  <stli@linux.vnet.ibm.com>
45911         * config.make.in (enable-lock-elision): New Makefile variable.
45912         * configure.ac: Likewise.
45913         * configure: Regenerate.
45914         * sysdeps/s390/configure.ac:
45915         Add check for gcc transactions support.
45916         * sysdeps/s390/configure: Regenerate.
45917         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45918         Build elision files if enabled.
45919         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45920         Add lock elision support for s390.
45921         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45922         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45923         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45924         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45925         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45926         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45928         Likewise.
45929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45930         Likewise.
45931         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45932         Likewise.
45933         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45934         Likewise.
45935         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45936         (__lll_timedlock_elision, __lll_lock_elision)
45937         (__lll_unlock_elision, __lll_trylock_elision)
45938         (lll_timedlock_elision, lll_lock_elision)
45939         (lll_unlock_elision, lll_trylock_elision): Add.
45940         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45941         (pthread_mutex_t): Add lock elision support for s390.
45943 2014-05-14  Wilco  <wdijkstr@arm.com>
45945         * sysdeps/arm/fclrexcpt.c: Cleanup.
45946         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45947         * sysdeps/arm/feenablxcpt.c: Cleanup.
45948         * sysdeps/arm/fegetenv.c: Cleanup.
45949         * sysdeps/arm/fegetexcept.c: Cleanup.
45950         * sysdeps/arm/fegetround.c: Cleanup.
45951         * sysdeps/arm/feholdexcpt.c: Cleanup.
45952         * sysdeps/arm/fesetenv.c: Cleanup.
45953         * sysdeps/arm/fesetround.c: Cleanup.
45954         * sysdeps/arm/feupdateenv.c: Cleanup.
45955         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45956         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45957         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45958         * sysdeps/arm/ftestexcept.c: Cleanup.
45959         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45960         * sysdeps/arm/setfpucw.c: Cleanup.
45962 2014-05-09  Will Newton  <will.newton@linaro.org>
45964         * sysdeps/arm/armv7/strcmp.S: New file.
45965         * NEWS: Mention addition of ARMv7 optimized strcmp.
45967 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45969         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45970         look for %.ac rather than %.in.
45972         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45973         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45974         * sysdeps/mach/hurd/configure: Regenerated.
45975         * sysdeps/unix/sysv/linux/configure: Regenerated.
45977         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45979 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45981         [BZ #16922]
45982         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45983         (LONG_SUB): Ditto.
45984         (PTR_SUB): Ditto.
45986 2014-05-07  Andreas Schwab  <schwab@suse.de>
45988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45989         when skipping over non-matching result from nscd.
45991 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45993         [BZ #16876]
45994         * nptl/sockperf.c (client): Check socket return value.
45996         [BZ #16877]
45997         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45998         nscd security class.
46000 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46002         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46003         * sysdeps/arm/unwind.h: ... here.
46005 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46007         [BZ #16916]
46008         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46009         Define.
46011 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46013         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46014         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46015         multiarch strncpy for PPC64.
46016         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46017         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46019         multiarch optimizations.
46020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46021         (__libc_ifunc_impl_list): Likewise.
46022         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46023         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46024         multiarch stpncpy for PPC64.
46025         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46026         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46028 2014-05-06  Andreas Schwab  <schwab@suse.de>
46030         [BZ #16912]
46031         * gmon/mcount.c (_MCOUNT_DECL): Use
46032         atomic_compare_and_exchange_bool_acq instead of
46033         catomic_compare_and_exchange_bool_acq.
46035 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46037         * elf/Makefile (others, install-bin): Remove pldd.
46038         (pldd-modules): Variable removed.
46039         ($(objpfx)pldd): Target removed.
46040         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46041         (others, install-bin): Append pldd here.
46042         ($(objpfx)pldd): New target.
46044         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46045         to 0, so the first #if test emitted later doesn't see it undefined.
46046         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46047         * sysdeps/gnu/errlist.c: Regenerated.
46049 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46051         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46052         [libc_hidden_builtin_def]: Define to empty value.
46053         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46054         [libc_hidden_builtin_def]: Likewise.
46055         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46056         [libc_hidden_builtin_def]: Likewise.
46057         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46058         [libc_hidden_builtin_def]: Likewise.
46059         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46060         __redirect_memcpy and define ifunc as default hidden symbol.
46061         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46062         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46064 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46066         * locale/iso-4217.def: Reintroduce XDR currency.
46068 2014-05-04  Allan McRae  <allan@archlinux.org>
46070         * po/eo.po: Update Esperanto translation from translation project.
46072 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46074         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46075         and FEATURE_INDEX_MAX to 1.
46076         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46078 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46080         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46081         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46082         * iconvdata/big5.c (ONE_DIRECTION): Define.
46083         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46084         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46085         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46086         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46087         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46088         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46089         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46090         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46091         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46092         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46093         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46094         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46095         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46096         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46097         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46098         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46099         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46100         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46101         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46102         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46103         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46104         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46105         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46106         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46107         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46108         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46109         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46110         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46111         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46112         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46113         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46114         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46115         * iconvdata/johab.c (ONE_DIRECTION): Define.
46116         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46117         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46118         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46119         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46120         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46121         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46122         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46123         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46124         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46125         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46127 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46129         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46130         (_IO_JUMPS_OFFSET): Define to 0.
46132         * nptl/sysdeps/pthread/bits/libc-lock.h
46133         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46134         (__libc_lock_define_initialized_recursive): Always define using
46135         initializer.  Modern compilers treat uninitialized (implicit zero) and
46136         explicit zero initializers the same (i.e. put the datum in bss).
46138 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46140         * nscd/nscd-client.h: Include <string.h>.
46142 2014-05-01  David S. Miller  <davem@davemloft.net>
46144         [BZ #16885]
46145         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46146         multiple zero bytes exist at the end of a string.
46147         Reported by Aurelien Jarno <aurelien@aurel32.net>
46149         * string/test-strcmp.c (check): Add explicit test for situations where
46150         there are multiple zero bytes after the first.
46152 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46154         [BZ #16890]
46155         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46156         when compiling wprintf.
46157         * stdio-common/tstdiomisc.c (t3): New function.
46158         (main): Call it.
46160 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46162         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46163         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46164         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46165         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46167 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46169         * stdlib/longlong.h: Updated from GCC.
46171 2014-05-01  Will Newton  <will.newton@linaro.org>
46172             Bernard Ogden  <bernie.ogden@linaro.org>
46174         * NEWS: Update fixed bug list.
46176         [BZ #15119]
46177         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46179 2014-04-30  David S. Miller  <davem@davemloft.net>
46181         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46182         (libc_feholdexcept_setround_sparc_ctx): New function.
46183         (libc_fesetenv_sparc_ctx): Likewise.
46184         (libc_feupdateenv_sparc_ctx): Likewise.
46185         (libc_feholdsetround_sparc_ctx): Likewise.
46186         (libc_feholdexcept_setround_ctx): Define.
46187         (libc_feholdexcept_setroundf_ctx): Likewise.
46188         (libc_feholdexcept_setroundl_ctx): Likewise.
46189         (libc_fesetenv_ctx): Likewise.
46190         (libc_fesetenvf_ctx): Likewise.
46191         (libc_fesetenvl_ctx): Likewise.
46192         (libc_feupdateenv_ctx): Likewise.
46193         (libc_feupdateenvf_ctx): Likewise.
46194         (libc_feupdateenvl_ctx): Likewise.
46195         (libc_feresetround_ctx): Likewise.
46196         (libc_feresetroundf_ctx): Likewise.
46197         (libc_feresetroundl_ctx): Likewise.
46198         (libc_feholdsetround_ctx): Likewise.
46199         (libc_feholdsetroundf_ctx): Likewise.
46200         (libc_feholdsetroundl_ctx): Likewise.
46202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46203         with __USE_GNU instead of XOPEN cpp guards.
46205         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46206         0.
46208         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46209         with XOPEN cpp guards.
46211 2014-04-30  Julian Brown  <julian@codesourcery.com>
46213         [BZ #16888]
46214         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46215         handling.
46217 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46219         [BZ #9894]
46220         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46221         Change to 2.6.32.
46222         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46223         * sysdeps/unix/sysv/linux/configure: Regenerated.
46224         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46225         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46226         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46227         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46228         * README: Update reference to required Linux kernel version.
46229         * manual/install.texi (Linux): Update reference to required Linux
46230         kernel headers version.
46231         * INSTALL: Regenerated.
46233         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46234         header inclusion.
46235         [POSIX] (limits.h): Likewise.
46236         [POSIX] (math.h): Likewise.
46237         [POSIX] (sys/wait.h): Likewise.
46238         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46239         function.
46240         [POSIX] (stddef.h): Do not allow header inclusion.
46242 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46244         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46246 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46248         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46249         Return immediately after lll_futex_wake.
46251 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46253         [BZ #16791]
46254         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46255         structure.
46256         (datahead_init_pos): Call datahead_init_common early.
46257         (datahead_init_neg): Likewise.
46259         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46260         datahead_init_neg): New functions.
46261         * nscd/aicache.c (addhstaiX): Use them.
46262         * nscd/grpcache.c (cache_addgr): Likewise.
46263         * nscd/hstcache.c (cache_addhst): Likewise.
46264         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46265         * nscd/netgroupcache.c (do_notfound): Likewise.
46266         (addgetnetgrentX): Likewise.
46267         (addinnetgrX): Likewise.
46268         * nscd/pwdcache.c (cache_addpw): Likewise.
46269         * nscd/servicescache.c (cache_addserv): Likewise.
46271 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46272             Atsushi Onoe  <atsushi@onoe.org>
46274         [BZ #14308]
46275         [BZ #12994]
46276         [BZ #13651]
46277         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46278         one response is valid.
46279         * resolv/res_send.c (send_dg): Check for validity of other
46280         response if the current response is a referral.
46282 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46284         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46286 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46288         [BZ #16823]
46289         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46290         Always divide by positive zero when computing -Inf result.
46291         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46292         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46294 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46296         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46297         FPSCR if value do not change.
46298         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46299         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46300         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46301         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46302         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46303         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46304         function.
46306 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46308         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46309         * sysdeps/unix/sysv/linux/hppa: Move directory from
46310         ports/systeps/unix/sysv/linux/hppa.
46311         * README: Update listing for hppa-*-linux-gnu.
46313 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46315         [BZ #16754]
46316         * manual/stdio.texi (Hook functions): Fix types of stream hook
46317         functions.
46318         [BZ #16854]
46319         * socket/sys/socket.h: Fix typo in comment.
46321 2014-04-28  Wilco  <wdijkstr@arm.com>
46323         * sysdeps/arm/fenv_private.h: New file.
46324         * sysdeps/arm/math_private.h: New file.
46325         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46327 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46329         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46330         with __int128_t.
46331         (La_x86_64_retval): Likewise.
46333 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46335         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46336         fpsr if value didn't change.
46337         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46338         to fpcr if value didn't change.
46339         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46340         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46341         fpsr or fpcr if value didn't change.
46342         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46343         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46344         fpcr if value didn't change.
46345         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46346         to fpsr if value didn't change.
46348 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46350         * nptl/tst-sem3.c: Use test-skeleton.c
46351         (main): Rename to do_test.  Use return instead of
46352         exit.
46353         * nptl/tst-sem4.c: Use test-skeleton.c
46354         (main): Rename to do_test.
46356 2014-04-22  David S. Miller  <davem@davemloft.net>
46358         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46359         (struct sigaction): New struct member __glibc_reserved0, change
46360         type of sa_flags to int.
46362 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46364         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46365         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46367 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46369         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46370         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46372 2014-04-22  Will Newton  <will.newton@linaro.org>
46373             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46375         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46376         (__longjmp): Add longjmp and longjmp_target SystemTap
46377         probes.
46378         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46379         (__sigsetjmp): Add setjmp SystemTap probe.
46381 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46383         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46384         match manual order.
46386 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46388         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46390         * sysdeps/powerpc/fpu/fenv_private.h
46391         (libc_feholdexcept_setroundl_ctx): Define to
46392         libc_feholdexcept_setround_ppc_ctx.
46393         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46394         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46395         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46396         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46398 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46400         * sysdeps/aarch64/math-tests.h: New file.
46402 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46404         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46405         New.
46406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46407         Check and set bit_AVX2_Usable.
46408         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46409         macro.
46410         (bit_AVX2): Likewise.
46411         (index_AVX2_Usable): Likewise.
46412         (CPUID_AVX2): Likewise.
46413         (HAS_AVX2): Likewise.
46415 2014-04-17  Will Newton  <will.newton@linaro.org>
46417         * manual/setjmp.texi (System V contexts): Add note that
46418         calling setcontext on a context created by a call to a
46419         signal handler is undefined.  Update text to note that
46420         setcontext from a signal handler is possible but not
46421         recommended.
46423         [BZ #16629]
46424         * stdlib/tst-setcontext.c: Include signal.h.
46425         (main): Check that the signal stack before and
46426         after swapcontext is the same.
46428         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46429         Re-implement to restore registers in user code and avoid
46430         rt_sigreturn system call.
46432 2014-04-17  Wilco  <wdijkstr@arm.com>
46434         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46435         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46436         * math/test-fenv.c: Skip exception trap tests on targets which only
46437         support non-stop mode.
46439 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46440             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46442         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46443         (libc_feholdsetround_aarch64_ctx)
46444         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46445         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46446         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46447         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46448         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46449         (libc_feresetround_noexl_ctx): Define.
46451 2014-04-16  Richard Henderson  <rth@redhat.com>
46453         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46455         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46456         unwind tables.
46458         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46459         const from the non-libc, non-ldso copy.
46461         * sysdeps/alpha/libm-test-ulps: Regenerate.
46463 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46464             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46466         * sysdeps/aarch64/fpu/math_private.h: New file.
46468 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46470         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46472 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46474         [BZ #16275]
46475         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46476         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46478         Intel MPX bound registers before _dl_profile_fixup.
46479         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46480         registers after _dl_profile_fixup.  Save and restore bound
46481         registers bnd0/bnd1 when calling _dl_call_pltexit.
46482         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46483         (LR_BND_OFFSET): Likewise.
46484         (LRV_BND0_OFFSET): Likewise.
46485         (LRV_BND1_OFFSET): Likewise.
46487 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46489         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46490         to...
46491         * sysdeps/mach/hurd/i386/tls.h: ... here.
46492         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46493         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46494         fields.
46496 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46498         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46500 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46502         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46504 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46506         [BZ #14770]
46507         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46508         * sysdeps/s390/configure: Regenerate.
46510         [BZ #16824]
46511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46512         Set round-to-nearest internally to reduce error accumulation.
46514 2014-04-16  Alan Modra  <amodra@gmail.com>
46516         [BZ #16740]
46517         [BZ #16619]
46518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46519         * math/libm-test.inc (frexp_test_data): Add tests.
46520         * NEWS: Update fixed bug list.
46522 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46524         * benchtests/Makefile: Depend on libraries in build directory.
46525         (bench-math): Separate out math tests.
46526         (bench-pthread): Separate out pthread tests.
46527         (bench): Include math and pthread tests.
46529 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46531         [BZ #16831]
46532         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46533         _dl_debug_initialize.
46535         * configure.ac: Remove SELinux header check.
46536         * configure: Regenerate.
46537         * nscd/selinux.c (perms): Array of const char* to permission names.
46538         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46539         default policy. Call string_to_security_class and string_to_av_perm to
46540         translate strings. Enforce default policy and call avs_has_perm with
46541         results of translated strings.
46543 2014-04-13  David S. Miller  <davem@davemloft.net>
46545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46547 2014-04-12  Allan McRae  <allan@archlinux.org>
46549         [BZ #16838]
46550         * manual/string.texi (Collation Functions): Fix qsort argument
46551         order in example.
46552         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46554 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46556         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46557         Make the test a no-op if there are no exceptions defined.
46559 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46561         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46562         enable-hardcoded-path-in-tests
46564 2014-04-11  Will Newton  <will.newton@linaro.org>
46566         * benchtests/Makefile (extra-objs): Add json-lib.o.
46567         (bench-func): Tidy up JSON output.
46568         * benchtests/bench-skeleton.c: Include json-lib.h.
46569         (main): Use JSON library functions to do output of
46570         benchmark results.
46571         * benchtests/bench-timing-type.c (main): Output the
46572         timing type simply, leaving formatting to the user.
46573         * benchtests/json-lib.c: New file.
46574         * benchtests/json-lib.h: Likewise.
46576 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46578         [BZ #15215]
46579         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46580         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46581         memory barriers.  Add comments.
46582         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46583         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46584         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46585         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46586         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46587         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46589 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46591         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46592         * sysdeps/s390/s390-64/configure.ac: ... this ...
46593         * sysdeps/s390/configure.ac: ... to here.
46594         * sysdeps/s390/s390-32/configure: Delete file.
46595         * sysdeps/s390/s390-64/configure: Delete file.
46596         * sysdeps/s390/configure: Regenerate.
46598 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46600         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46602 2014-04-11  Will Newton  <will.newton@linaro.org>
46604         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46605         to zero if it is not defined elsewhere.  (mtrim): Test
46606         the value of MALLOC_DEBUG with #if rather than #ifdef.
46608 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46610         * benchtests/pthread_once-inputs: New file.
46611         * benchtests/pthread_once-source.c: New file.
46612         * benchtests/README: Update documentation.
46614 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46615             H.J. Lu  <hongjiu.lu@intel.com>
46617         [BZ #16275]
46618         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46619         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46620         * sysdeps/x86_64/configure: Regenerated.
46621         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46622         macro.
46623         (REGISTER_SAVE_RAX): Likewise.
46624         (REGISTER_SAVE_RCX): Likewise.
46625         (REGISTER_SAVE_RDX): Likewise.
46626         (REGISTER_SAVE_RSI): Likewise.
46627         (REGISTER_SAVE_RDI): Likewise.
46628         (REGISTER_SAVE_R8): Likewise.
46629         (REGISTER_SAVE_R9): Likewise.
46630         (REGISTER_SAVE_BND0): Likewise.
46631         (REGISTER_SAVE_BND1): Likewise.
46632         (REGISTER_SAVE_BND2): Likewise.
46633         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46634         bound registers when calling _dl_fixup.
46636 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46638         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46639         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46640         of its definition.
46641         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46642         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46643         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46644         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46645         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46646         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46647         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46649 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46651         [BZ #15514]
46652         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46653         pathconf(_PC_NAME_MAX).
46655 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46657         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46658         Remove macro usage.
46659         (__PTHREAD_SPINS): Move definition to ...
46660         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46661         (__PTHREAD_SPINS): ... here.
46662         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46663         (__PTHREAD_SPIN): Likewise.
46664         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46665         (__PTHREAD_SPIN): Likewise.
46666         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46667         (__PTHREAD_SPIN): Likewise.
46668         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46669         (__PTHREAD_SPIN): Likewise.
46670         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46671         (__PTHREAD_SPIN): Likewise.
46672         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46673         (__PTHREAD_SPIN): Likewise.
46674         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46675         (__PTHREAD_SPIN): Likewise.
46676         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46677         (__PTHREAD_SPIN): Likewise.
46678         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46679         (__PTHREAD_SPIN): Likewise.
46680         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46681         (__PTHREAD_SPIN): Likewise.
46682         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46683         (__PTHREAD_SPIN): Likewise.
46684         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46685         (__PTHREAD_SPIN): Likewise.
46687         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46688         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46689         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46690         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46691         imply folder.
46692         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46693         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46694         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46695         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46696         correct imply path.
46697         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46698         strlen symbol for non multi-arch builds.
46699         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46700         missing hidden_def and weak_alias.
46702 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46704         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46706 2014-04-07  Will Newton  <will.newton@linaro.org>
46708         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46709         and contents.  [!_LIBC] Remove #ifndef and contents.
46710         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46711         * string/memccpy.c (__memccpy): Use ANSI prototype.
46712         * string/memfrob.c (memfrob): Likewise.
46713         * string/strcoll.c (STRCOLL): Likewise.
46714         * string/strlen.c (strlen): Likewise.
46715         * string/strtok.c (STRTOK): Likewise.
46716         * string/strcat.c: Remove unused #include of memcopy.h.
46717         (strcat): Use ANSI prototype.
46718         * string/strchr.c: Remove unused #include of memcopy.h.
46719         (strchr): Use ANSI prototype.
46720         * string/strcmp.c: Remove unused #include of memcopy.h.
46721         (strcmp): Use ANSI prototype.
46722         * string/strcpy.c: Remove unused #include of memcopy.h.
46723         (strcpy): Use ANSI prototype.
46725 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46727         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46728         * config.make.in (config-extra-cppflags): Set it from
46729         libc_extra_cppflags.
46730         * configure.ac (libc_extra_cflags): Make it accumulate over
46731         configure fragments.
46732         (libc_extra_cppflags): New flag.
46733         * configure. Regenerate.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46735         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46736         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46739         [BZ #16815]
46740         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46741         result for FE_DOWNWARD rounding mode.
46742         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46743         Likewise.
46744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46746 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46748         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46749         in function argument name.
46751 2014-04-03  David Svoboda  <svoboda@cert.org>
46753         [BZ #5666]
46754         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46755         explicitly.
46757 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46759         * elf/dl-unmap-segments.h: New file.
46760         * sysdeps/generic/ldsodefs.h
46761         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46762         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46763         * elf/dl-fptr.c: Likewise.
46764         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46765         * sysdeps/aarch64/tlsdesc.c: Likewise.
46766         * sysdeps/arm/tlsdesc.c: Likewise.
46767         * sysdeps/i386/tlsdesc.c: Likewise.
46768         * sysdeps/tile/dl-runtime.c: Likewise.
46769         * sysdeps/x86_64/tlsdesc.c: Likewise.
46770         * elf/dl-load.h: New file.
46771         * elf/dl-load.c: Include it.
46772         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46773         Macros moved to dl-load.h.
46774         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46775         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46776         Use _dl_unmap_segments in place of __munmap.
46777         Break out segment-mapping loop into ...
46778         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46780 2014-04-03  Will Newton  <will.newton@linaro.org>
46782         * elf/dl-lookup.c (do_lookup_x): Remove comment
46783         referring to nested function and move variable
46784         declarations down to before first use.
46786 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46788         [BZ #16799]
46789         [BZ #16800]
46790         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46791         with 0 numerator.
46792         * math/s_catanf.c (__catanf): Likewise.
46793         * math/s_catanh.c (__catanh): Likewise.
46794         * math/s_catanhf.c (__catanhf): Likewise.
46795         * math/s_catanhl.c (__catanhl): Likewise.
46796         * math/s_catanl.c (__catanl): Likewise.
46797         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46798         by positive zero when computing -Inf result.
46799         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46800         (catanh_test): Likewise.
46801         * sysdeps/i386/fpu/libm-test-ulps: Update.
46802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46804         [BZ #16789]
46805         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46806         instead of using underflowing value in computing result.
46807         * math/s_clog10.c (__clog10): Likewise.
46808         * math/s_clog10f.c (__clog10f): Likewise.
46809         * math/s_clog10l.c (__clog10l): Likewise.
46810         * math/s_clogf.c (__clogf): Likewise.
46811         * math/s_clogl.c (__clogl): Likewise.
46812         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46813         (clog10_test): Likewise.
46814         * sysdeps/i386/fpu/libm-test-ulps: Update.
46815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46817 2014-04-02  Alan Modra  <amodra@gmail.com>
46819         [BZ #16739]
46820         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46821         output when value is near a power of two.  Use int64_t for lx and
46822         remove casts.  Use decimal rather than hex exponent constants.
46823         Don't use long double multiplication when double will suffice.
46824         * math/libm-test.inc (nextafter_test_data): Add tests.
46825         * NEWS: Add 16739 and 16786 to bug list.
46827         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46829         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46831 2014-04-01  Will Newton  <will.newton@linaro.org>
46833         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46834         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46836 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46838         [BZ #13347]
46839         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46840         * nptl/tst-setuid2.c: New file.
46841         * nptl/Makefile (xtests): Add tst-setuid2.
46843 2014-04-01  Alan Modra  <amodra@gmail.com>
46845         [BZ #16786]
46846         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46848 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46850         [BZ #6803]
46851         [BZ #6804]
46852         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46853         set errno as appropriate.
46854         * math/w_scalbf.c (__scalbf): Likewise.
46855         * math/w_scalbl.c (__scalbl): Likewise.
46856         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46857         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46858         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46859         Add more NaN tests.
46861         [BZ #16349]
46862         * math/w_atan2.c: Include <errno.h>.
46863         (__atan2): Set errno for result underflowing to zero.
46864         * math/w_atan2f.c: Include <errno.h>.
46865         (__atan2f): Set errno for result underflowing to zero.
46866         * math/w_atan2l.c: Include <errno.h>.
46867         (__atan2l): Set errno for result underflowing to zero.
46868         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46869         tests.
46870         * math/auto-libm-test-out: Regenerated.
46872 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46874         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46875         Encode instruction correctly in little endian.
46876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46877         Likewise.
46878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46879         Likewise.
46880         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46881         Likewise.
46882         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46883         Likewise.
46885 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46887         [BZ #9894]
46888         * sysdeps/unix/sysv/linux/kernel-features.h
46889         [__sparc__ && !__arch64__ && !__sparc_v9__]
46890         (__ASSUME_SET_ROBUST_LIST): Do not define.
46891         [__sparc__ && !__arch64__ && !__sparc_v9__]
46892         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46893         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46894         Likewise.
46895         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46896         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46897         (__ASSUME_REQUEUE_PI): Likewise.
46898         (__ASSUME_SET_ROBUST_LIST): Likewise.
46899         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46900         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46901         Undefine.
46902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46903         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46904         Likewise.
46905         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46906         Likewise.
46907         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46908         Likewise.
46909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46910         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46911         Undefine.
46912         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46913         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46914         Likewise.
46916         [BZ #16648]
46917         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46918         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46919         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46921 2014-03-31  Will Newton  <will.newton@linaro.org>
46923         * benchtests/Makefile (bench): Add ffs and ffsll to list
46924         of tests.
46925         * benchtests/ffs-inputs: New file.
46926         * benchtests/ffsll-inputs: Likewise.
46928 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46930         [BZ #16770]
46931         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46932         too large before casting to int.
46933         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46934         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46935         * math/libm-test.inc (scalb_test_data): Add more tests.
46937 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46939         * benchtests/Makefile (DETAILED_OPT): New make option.
46940         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46941         set.
46942         * benchtests/bench-skeleton.c: Include stdbool.h.
46943         (main): Store and print timings per input.
46944         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46945         member to each argument value.
46946         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46947         (_print_arg_data): Initialize per-input timing to 0.
46949         * benchtests/Makefile (timing-type): New binary.
46950         (bench-clean): Also remove bench-timing-type.
46951         (bench): New target for timing-type.
46952         (bench-func): Print output in JSON format.
46953         * benchtests/bench-skeleton.c (main): Print output in JSON
46954         format.
46955         * benchtests/bench-timing-type.c: New file.
46956         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46957         (TIMING_PRINT_STATS): Remove.
46958         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46959         name separately.
46961         * benchtests/bench-modf.c: Remove.
46962         * benchtests/modf-inputs: New inputs file.
46964 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46966         [BZ #16362]
46967         * math/s_clog10.c (M_PI_LOG10E): New macro.
46968         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46969         imaginary parts are 0.
46970         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46971         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46972         imaginary parts are 0.
46973         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46974         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46975         imaginary parts are 0.
46976         * math/libm-test.inc (clog10_test_data): Update expected results
46977         for when real and imaginary parts are 0.
46979 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46981         * elf/dl-load.c: Finish conversion of __builtin_expect into
46982         __glibc_{un}likely.
46984 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46986         [BZ #16348]
46987         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46988         1+x for argument with exponent below -67.
46989         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46990         Likewise.
46991         * math/auto-libm-test-in: Add more tests of exp.
46992         * math/auto-libm-test-out: Regenerated.
46994 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46996         [BZ #16759]
46997         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46998         (nscd_getnetgrent): Use it.
47000         [BZ #16760]
47001         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47002         of stpcpy.
47004 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47006         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47007         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47008         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47009         (lll_robust_unlock): Remove out of line section. Use cfi
47010         intrinsics.
47011         (LLL_STUB_UNWIND_INFO*): Remove.
47012         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47013         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47014         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47015         (lll_robust_unlock): Remove out of line section. Use cfi
47016         intrinsics.
47017         (LLL_STUB_UNWIND_INFO*): Remove.
47019 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47021         [BZ #16758]
47022         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47023         blank values.
47025 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47027         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47029 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47031         [BZ #16198]
47032         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47033         fnstenv.
47034         * math/test-fenv-preserve.c: New file.
47035         * math/Makefile (tests): Add test-fenv-preserve.
47037 2014-03-26  Will Newton <will.newton@linaro.org>
47039         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47041 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47043         * scripts/versionlist.awk: Partition the version sets and emit all
47044         GLIBC_* (sorted) before all others (sorted).
47046 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47048         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47049         GLIBC_2.2.5 version.
47051 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47053         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47054         calls.
47056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47057         previous change.
47059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47061 2014-03-25  Andreas Schwab  <schwab@suse.de>
47063         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47064         label to be used after in6ailist is initialized.
47066 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47068         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47069         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47071 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47073         [BZ #16357]
47074         [BZ #16599]
47075         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47076         min_plus_half.
47077         (fp_formats): Update initializers.
47078         (init_fp_formats): Initialize new field.
47079         (output_for_one_input_case): Allow underflow for results up to
47080         min_plus_half.
47081         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47082         * math/auto-libm-test-in: Don't mark some underflows from asin and
47083         atanh as spurious.
47084         * math/auto-libm-test-out: Regenerated.
47085         * sysdeps/i386/fpu/libm-test-ulps: Update.
47086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47088 2014-03-25  Andreas Schwab  <schwab@suse.de>
47090         * libio/Makefile (tst-ftell-partial-wide-ENV)
47091         (tst-ftell-active-handler-ENV): Define.
47093 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47095         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47097 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47099         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47101 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47103         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47104         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47105         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47107 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47109         [BZ #16634]
47110         * elf/dl-load.c (open_verify): Add mode parameter.
47111         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47112         (open_path): Change from boolean 'secure' to complete flag 'mode'
47113         (_dl_map_object): Adjust.
47114         * elf/Makefile (tests): Add tst-dlopen-aout.
47115         * elf/tst-dlopen-aout.c: New test.
47117 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47119         [BZ #16714]
47120         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47121         (struct stat): Rename member pad0 to __glibc_reserved0.
47123         [BZ #16712]
47124         * sysdeps/s390/s390-32/bits/wordsize.h
47125         (__WORDSIZE32_SIZE_ULONG): New define.
47126         * sysdeps/s390/s390-64/bits/wordsize.h
47127         (__WORDSIZE32_SIZE_ULONG): Likewise.
47128         * sysdeps/generic/stdint.h (SIZE_MAX):
47129         Define as UL if __WORDSIZE32_SIZE_ULONG.
47131         [BZ #16713]
47132         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47133         (__glibc_reserved0): New variable.
47134         (sa_flags): Change type to int.
47136         * posix/Makefile (before-compile): Use += before-compile instead
47137         of a :=.
47139         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47140         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47142 2014-03-20  Andreas Schwab  <schwab@suse.de>
47144         [BZ #16743]
47145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47146         non-matching result from nscd.
47148 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47150         * scripts/bench.py: Moved to ...
47151         * benchtests/scripts/bench.py: ... here.
47152         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47154 2014-03-24  Andreas Schwab  <schwab@suse.de>
47156         [BZ #16002]
47157         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47158         alloca_account and account alloca use for struct in6ailist.
47160 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47162         [BZ #16284]
47163         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47164         rounding mode to recompute results that overflow to infinity or
47165         underflow to zero.
47166         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47167         bug 16284.
47168         * math/auto-libm-test-out: Regenerated.
47169         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47170         (ccosh_test): Likewise.
47171         (csin_test_data): Use plus_oflow.
47172         (csin_test): Use ALL_RM_TEST.
47173         (csinh_test_data): Use plus_oflow.
47174         (csinh_test): Use ALL_RM_TEST.
47175         * sysdeps/i386/fpu/libm-test-ulps: Update.
47176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47178 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47180         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47181         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47182         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47184         [BZ #16731]
47185         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47186         when x - 1 is zero.
47187         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47188         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47189         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47190         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47191         argument is 1.
47192         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47193         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47194         zero.
47195         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47196         * sysdeps/i386/fpu/libm-test-ulps: Update.
47197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47199 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47201         * scripts/bench.pl: Remove file.
47202         * scripts/bench.py: New benchmark script.
47203         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47204         * benchtests/README: Mention python dependency.
47205         * scripts/pylintrc: New file.
47206         * scripts/pylint: New file.
47208         * bits/mathdef.h: Use #ifdef instead of #if.
47209         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47210         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47211         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47212         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47213         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47214         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47216 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47217             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47219         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47221         and strpbrk-ppc64 objects.
47222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47223         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47224         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47225         multiarch strpbrk for POWER7.
47226         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47227         multiarch strpbrk for PPC64.
47228         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47229         ifunc selector.
47230         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47231         strpbrk for POWER7.
47233 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47235         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47236         (atan_test): Likewise.
47237         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47238         (atanh_test): Use ALL_RM_TEST.
47239         (atan2_test_data): Likewise.
47240         (cabs_test): Likewise.
47241         (cacosh_test): Likewise.
47242         (carg_test): Likewise.
47243         (casin_test): Likewise.
47244         (casinh_test): Likewise.
47245         (cbrt_test): Likewise.
47246         (csqrt_test): Likewise.
47247         (erf_test): Likewise.
47248         (erfc_test): Likewise.
47249         (pow10_test): Likewise.
47250         (exp2_test): Likewise.
47251         (hypot_test): Likewise.
47252         (j0_test): Likewise.
47253         (j1_test): Likewise.
47254         (lgamma_test): Likewise.
47255         (gamma_test): Likewise.
47256         (sincos_test): Likewise.
47257         (tanh_test): Likewise.
47258         (y0_test): Likewise.
47259         (y1_test): Likewise.
47260         * sysdeps/i386/fpu/libm-test-ulps: Update.
47261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47263 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47265         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47267         and strcspn-ppc64 objects.
47268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47269         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47270         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47271         multiarch strcspn for POWER7.
47272         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47273         multiarch strcspn for PPC64.
47274         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47275         ifunc selector.
47276         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47277         strcspn for POWER7.
47279 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47281         * math/gen-libm-test.pl (generate_testfile): Expect only function
47282         name as argument to AUTO_TESTS_* and pass results for all rounding
47283         modes to parse_args.
47284         (parse_auto_input): Separate inputs of automatic tests from
47285         outputs before storing in %auto_tests.
47286         * math/libm-test.inc (acos_test_data): Update call to
47287         AUTO_TESTS_f_f.
47288         (acos_test): Use ALL_RM_TEST.
47289         (acos_tonearest_test_data): Remove.
47290         (acos_test_tonearest): Likewise.
47291         (acos_towardzero_test_data): Likewise.
47292         (acos_test_towardzero): Likewise.
47293         (acos_downward_test_data): Likewise.
47294         (acos_test_downward): Likewise.
47295         (acos_upward_test_data): Likewise.
47296         (acos_test_upward): Likewise.
47297         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47298         (asin_test_data): Likewise.
47299         (asin_test): Use ALL_RM_TEST.
47300         (asin_tonearest_test_data): Remove.
47301         (asin_test_tonearest): Likewise.
47302         (asin_towardzero_test_data): Likewise.
47303         (asin_test_towardzero): Likewise.
47304         (asin_downward_test_data): Likewise.
47305         (asin_test_downward): Likewise.
47306         (asin_upward_test_data): Likewise.
47307         (asin_test_upward): Likewise.
47308         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47309         (atan_test_data): Likewise.
47310         (atanh_test_data): Likewise.
47311         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47312         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47313         (carg_test_data): Likewise.
47314         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47315         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47316         (ccosh_test_data): Likewise.
47317         (cexp_test_data): Likewise.
47318         (clog_test_data): Likewise.
47319         (clog10_test_data): Likewise.
47320         (cos_test_data): Update call to AUTO_TESTS_f_f.
47321         (cos_test): Use ALL_RM_TEST.
47322         (cos_tonearest_test_data): Remove.
47323         (cos_test_tonearest): Likewise.
47324         (cos_towardzero_test_data): Likewise.
47325         (cos_test_towardzero): Likewise.
47326         (cos_downward_test_data): Likewise.
47327         (cos_test_downward): Likewise.
47328         (cos_upward_test_data): Likewise.
47329         (cos_test_upward): Likewise.
47330         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47331         (cosh_test): Use ALL_RM_TEST.
47332         (cosh_tonearest_test_data): Remove.
47333         (cosh_test_tonearest): Likewise.
47334         (cosh_towardzero_test_data): Likewise.
47335         (cosh_test_towardzero): Likewise.
47336         (cosh_downward_test_data): Likewise.
47337         (cosh_test_downward): Likewise.
47338         (cosh_upward_test_data): Likewise.
47339         (cosh_test_upward): Likewise.
47340         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47341         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47342         (ctan_test_data): Likewise.
47343         (ctan_test): Use ALL_RM_TEST.
47344         (ctan_tonearest_test_data): Remove.
47345         (ctan_test_tonearest): Likewise.
47346         (ctan_towardzero_test_data): Likewise.
47347         (ctan_test_towardzero): Likewise.
47348         (ctan_downward_test_data): Likewise.
47349         (ctan_test_downward): Likewise.
47350         (ctan_upward_test_data): Likewise.
47351         (ctan_test_upward): Likewise.
47352         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47353         (ctanh_test): Use ALL_RM_TEST.
47354         (ctanh_tonearest_test_data): Remove.
47355         (ctanh_test_tonearest): Likewise.
47356         (ctanh_towardzero_test_data): Likewise.
47357         (ctanh_test_towardzero): Likewise.
47358         (ctanh_downward_test_data): Likewise.
47359         (ctanh_test_downward): Likewise.
47360         (ctanh_upward_test_data): Likewise.
47361         (ctanh_test_upward): Likewise.
47362         (erf_test_data): Update call to AUTO_TESTS_f_f.
47363         (erfc_test_data): Likewise.
47364         (exp_test_data): Likewise.
47365         (exp_test): Use ALL_RM_TEST.
47366         (exp_tonearest_test_data): Remove.
47367         (exp_test_tonearest): Likewise.
47368         (exp_towardzero_test_data): Likewise.
47369         (exp_test_towardzero): Likewise.
47370         (exp_downward_test_data): Likewise.
47371         (exp_test_downward): Likewise.
47372         (exp_upward_test_data): Likewise.
47373         (exp_test_upward): Likewise.
47374         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47375         (exp10_test): Use ALL_RM_TEST.
47376         (exp10_tonearest_test_data): Remove.
47377         (exp10_test_tonearest): Likewise.
47378         (exp10_towardzero_test_data): Likewise.
47379         (exp10_test_towardzero): Likewise.
47380         (exp10_downward_test_data): Likewise.
47381         (exp10_test_downward): Likewise.
47382         (exp10_upward_test_data): Likewise.
47383         (exp10_test_upward): Likewise.
47384         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47385         (expm1_test_data): Likewise.
47386         (expm1_test): Use ALL_RM_TEST.
47387         (expm1_tonearest_test_data): Remove.
47388         (expm1_test_tonearest): Likewise.
47389         (expm1_towardzero_test_data): Likewise.
47390         (expm1_test_towardzero): Likewise.
47391         (expm1_downward_test_data): Likewise.
47392         (expm1_test_downward): Likewise.
47393         (expm1_upward_test_data): Likewise.
47394         (expm1_test_upward): Likewise.
47395         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47396         (fma_test): Use ALL_RM_TEST.
47397         (fma_towardzero_test_data): Remove.
47398         (fma_test_towardzero): Likewise.
47399         (fma_downward_test_data): Likewise.
47400         (fma_test_downward): Likewise.
47401         (fma_upward_test_data): Likewise.
47402         (fma_test_upward): Likewise.
47403         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47404         (j0_test_data): Update call to AUTO_TESTS_f_f.
47405         (j1_test_data): Likewise.
47406         (jn_test_data): Update call to AUTO_TESTS_if_f.
47407         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47408         (log_test_data): Update call to AUTO_TESTS_f_f.
47409         (log10_test_data): Likewise.
47410         (log1p_test_data): Likewise.
47411         (log2_test_data): Likewise.
47412         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47413         (pow_tonearest_test_data): Likewise.
47414         (sin_test_data): Update call to AUTO_TESTS_f_f.
47415         (sin_test): Use ALL_RM_TEST.
47416         (sin_tonearest_test_data): Remove.
47417         (sin_test_tonearest): Likewise.
47418         (sin_towardzero_test_data): Likewise.
47419         (sin_test_towardzero): Likewise.
47420         (sin_downward_test_data): Likewise.
47421         (sin_test_downward): Likewise.
47422         (sin_upward_test_data): Likewise.
47423         (sin_test_upward): Likewise.
47424         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47425         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47426         (sinh_test): Use ALL_RM_TEST.
47427         (sinh_tonearest_test_data): Remove.
47428         (sinh_test_tonearest): Likewise.
47429         (sinh_towardzero_test_data): Likewise.
47430         (sinh_test_towardzero): Likewise.
47431         (sinh_downward_test_data): Likewise.
47432         (sinh_test_downward): Likewise.
47433         (sinh_upward_test_data): Likewise.
47434         (sinh_test_upward): Likewise.
47435         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47436         (sqrt_test): Use ALL_RM_TEST.
47437         (sqrt_tonearest_test_data): Remove.
47438         (sqrt_test_tonearest): Likewise.
47439         (sqrt_towardzero_test_data): Likewise.
47440         (sqrt_test_towardzero): Likewise.
47441         (sqrt_downward_test_data): Likewise.
47442         (sqrt_test_downward): Likewise.
47443         (sqrt_upward_test_data): Likewise.
47444         (sqrt_test_upward): Likewise.
47445         (tan_test_data): Update call to AUTO_TESTS_f_f.
47446         (tan_test): Use ALL_RM_TEST.
47447         (tan_tonearest_test_data): Remove.
47448         (tan_test_tonearest): Likewise.
47449         (tan_towardzero_test_data): Likewise.
47450         (tan_test_towardzero): Likewise.
47451         (tan_downward_test_data): Likewise.
47452         (tan_test_downward): Likewise.
47453         (tan_upward_test_data): Likewise.
47454         (tan_test_upward): Likewise.
47455         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47456         (tgamma_test_data): Likewise.
47457         (y0_test_data): Likewise.
47458         (y1_test_data): Likewise.
47459         (yn_test_data): Update call to AUTO_TESTS_if_f.
47460         (main): Do not call removed functions.
47462 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47464         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47465         (ldexp_test_data): Remove.
47466         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47467         scalbn_test_data.
47468         (scalb_test): Use ALL_RM_TEST.
47470 2014-03-19  Andreas Schwab  <schwab@suse.de>
47472         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47474 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47476         [BZ #16649]
47477         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47478         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47479         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47481         (__ASSUME_PREADV): Undefine.
47482         (__ASSUME_PWRITEV): Likewise.
47484 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47486         * bits/mman-linux.h: Add comment about non-Linux use.
47487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47488         bits/mman-linux.h resting place.
47490         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47491         * bits/mman-linux.h: ... here.
47493 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47495         * conform/conformtest.pl: Add standard definition when calling C
47496         preprocessor on data files.
47497         (checknamespace): Remove unused variable.
47499 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47501         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47502         minus_oflow, plus_uflow and minus_uflow in expected results.
47503         * math/libm-test.inc (scalbn_test_data): Add more tests of
47504         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47505         minus_uflow.
47506         (scalbn_test): Use ALL_RM_TEST.
47507         (scalbln_test_data): Add more tests of negative arguments.  Use
47508         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47509         (scalbln_test): Use ALL_RM_TEST.
47511 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47513         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47515 2014-03-18  Will Newton  <will.newton@linaro.org>
47517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47518         inaccurate comment.
47520 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47522         * Makerules [!subdir] (check-abi): Exit with error status if a
47523         test failed.
47525 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47527         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47528         for rint.  Include results for all rounding modes.
47529         (nearbyint_test): Use ALL_RM_TEST.
47530         (rint_test_data): Include all tests used for nearbyint.
47532 2014-03-17  Will Newton  <will.newton@linaro.org>
47534         * nptl/sysdeps/pthread/pthread.h: Revert previous
47535         change.
47537         * sysdeps/generic/ldsodefs.h: Revert previous
47538         change.
47540         * libio/genops.c: Revert previous change.
47541         * libio/libioP.h: Likewise.
47542         * stdio-common/vfprintf.c: Likewise.
47544         * sysdeps/generic/math_private.h: Revert previous
47545         change.
47547         * sysdeps/generic/math_private.h: Check whether
47548         HAVE_RM_CTX is defined with #ifdef rather
47549         than #if.
47551         * argp/argp-fmtstream.h: Check whether
47552         __STRICT_ANSI__ is defined with #ifdef rather
47553         than #if.
47554         * argp/argp.h: Likewise.
47556         * libio/genops.c: Check whether
47557         _IO_JUMPS_OFFSET is defined with #ifdef rather
47558         than #if.
47559         * libio/libioP.h: Likewise.
47560         * stdio-common/vfprintf.c: Likewise.
47562         * sysdeps/generic/ldsodefs.h: Check whether
47563         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47564         than #if.
47566         * nptl/sysdeps/pthread/pthread.h: Check
47567         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47568         its value.
47570 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47572         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47573         setting O_APPEND.
47574         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47575         test case.
47577         [BZ #16680]
47578         * libio/fileops.c (_IO_file_open): Seek to end of file but
47579         don't cache the offset.
47580         (get_file_offset): Remove function.
47581         (do_ftell): Use cached offset when available.
47582         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47583         don't cache the offset.
47584         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47585         case.
47586         (do_one_test): Call it.
47587         (do_ftell_test): Fix up expected old offset for a+ mode.
47588         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47589         available.
47591         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47592         up test status with function return status.
47593         (do_write_test): Likewise.
47594         (do_append_test): Likewise.
47596         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47597         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47598         Remove.
47600 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47602         * math/gen-libm-test.pl (parse_args): Handle results specified for
47603         each rounding mode separately.
47604         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47605         tests and results from lrint_tonearest_test_data,
47606         lrint_towardzero_test_data, lrint_downward_test_data and
47607         lrint_upward_test_data.
47608         (lrint_test): Use ALL_RM_TEST.
47609         (lrint_tonearest_test_data): Remove.
47610         (lrint_test_tonearest): Likewise.
47611         (lrint_towardzero_test_data): Likewise.
47612         (lrint_test_towardzero): Likewise.
47613         (lrint_downward_test_data): Likewise.
47614         (lrint_test_downward): Likewise.
47615         (lrint_upward_test_data): Likewise.
47616         (lrint_test_upward): Likewise.
47617         (llrint_test_data): Merge in per-rounding-mode tests and results
47618         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47619         llrint_downward_test_data and llrint_upward_test_data.
47620         (llrint_test): Use ALL_RM_TEST.
47621         (llrint_tonearest_test_data): Remove.
47622         (llrint_test_tonearest): Likewise.
47623         (llrint_towardzero_test_data): Likewise.
47624         (llrint_test_towardzero): Likewise.
47625         (llrint_downward_test_data): Likewise.
47626         (llrint_test_downward): Likewise.
47627         (llrint_upward_test_data): Likewise.
47628         (llrint_test_upward): Likewise.
47629         (rint_test_data): Merge in per-rounding-mode tests and results
47630         from rint_tonearest_test_data, rint_towardzero_test_data,
47631         rint_downward_test_data and rint_upward_test_data.  Add
47632         per-rounding-mode results for tests not in those arrays.
47633         (rint_test): Use ALL_RM_TEST.
47634         (rint_tonearest_test_data): Remove.
47635         (rint_test_tonearest): Likewise.
47636         (rint_towardzero_test_data): Likewise.
47637         (rint_test_towardzero): Likewise.
47638         (rint_downward_test_data): Likewise.
47639         (rint_test_downward): Likewise.
47640         (rint_upward_test_data): Likewise.
47641         (rint_test_upward): Likewise.
47642         (main): Don't call removed functions.
47644 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47646         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47647         "Compiled on ..." crapola.  It is anti-useful.
47649 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47651         * scripts/evaluate-test.sh: Handle fourth argument to determine
47652         whether test run should stop on failure.
47653         * Makeconfig (stop-on-test-failure): New variable.
47654         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47655         $(stop-on-test-failure).
47656         * Makefile (tests): Give a summary of results from testing and
47657         exit with failure status if they include an ERROR or FAIL.
47658         (xtests): Likewise.
47659         * manual/install.texi (Configuring and compiling): Mention
47660         stop-on-test-failure=y.
47661         * INSTALL: Regenerated.
47663 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47665         * scripts/versionlist.awk: New file.
47666         * Makerules [$(build-shared) = yes]
47667         (postclean-generated): Add Versions.def, not Versions.def.v and
47668         Versions.def.v.i.
47669         ($(common-objpfx)Versions.def.v.i): Target removed.
47670         ($(common-objpfx)Versions.def): New target.
47671         ($(common-objpfx)Versions.all): Depend on that rather that
47672         $(common-objpfx)Versions.def.v.
47673         * Versions.def: File removed.
47675         * Makeconfig (+gccwarn): Add -Wundef.
47676         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47677         a dl-sysdep.h breaking its contract.
47678         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47679         * include/stackinfo.h: New file.
47680         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47681         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47682         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47683         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47684         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47685         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47686         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47687         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47688         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47689         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47690         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47691         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47692         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47693         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47694         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47696 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47698         [BZ #16707]
47699         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47700         implementation.
47701         * math/libm-test.inc (round_test_data): Add more tests.
47703         [BZ #16706]
47704         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47705         implementation.
47706         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47708         [BZ #16701]
47709         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47710         implementation.
47711         * math/libm-test.inc (ceil_test_data): Add more tests.
47713         * math/libm-test.inc (trunc_test_data): Add more tests related to
47714         BZ#16414.
47716 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47718         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47719         with #if rather than #ifdef.
47720         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47722 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47724         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47725         first.  Disable AVX-512 GCC support if assembler doesn't support
47726         it.
47727         * sysdeps/x86_64/configure: Regenerated.
47729 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47731         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47732         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47733         (__old_pthread_attr_setstack): Likewise.
47734         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47735         [!_STACK_GROWS_DOWN]: Likewise.
47737 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47739         * config.make.in (have-bash2): Delete.
47740         * configure.ac (libc_cv_have_bash2): Delete.
47741         * configure: Regenerate.
47742         * elf/Makefile (common-ldd-rewrite): Rename to ...
47743         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47744         (sh-ldd-rewrite): Delete.
47745         (bash-ldd-rewrite): Delete.
47746         (have-bash2): Delete checks.
47747         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47748         ldd-rewrite.
47750         * config.make.in (have-ksh): Delete.
47751         (KSH): Delete.
47752         * configure.ac (libc_cv_have_ksh): Delete.
47753         * configure: Regenerate.
47755         * elf/Makefile: Delete $(have-ksh) check.
47756         ($(objpfx)sotruss): Change KSH to BASH.
47757         * elf/sotruss.ksh: Rename to ...
47758         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47759         function style to match POSIX.  Drop ksh vim mode setting.
47761         * manual/time.texi (Specifying the Time Zone with TZ): Change
47762         Tuesday to Thursday.
47764         * debug/tst-longjmp_chk2.c: Update header comment.
47765         (stackoverflow_handler): Add comment.  Call assert on pass value.
47767 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47769         [BZ #16194]
47770         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47771         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47772         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47773         (La_x86_64_vector): Add zmm.
47774         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47775         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47776         ($(objpfx)tst-audit10): New target.
47777         ($(objpfx)tst-audit10.out): Likewise.
47778         (tst-audit10-ENV): New.
47779         (AVX512-CFLAGS): Likewise.
47780         (CFLAGS-tst-audit10.c): Likewise.
47781         (CFLAGS-tst-auditmod10a.c): Likewise.
47782         (CFLAGS-tst-auditmod10b.c): Likewise.
47783         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47784         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47785         * sysdeps/x86_64/configure: Regenerated.
47786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47787         AVX-512 zmm register support.
47788         (_dl_x86_64_save_sse): Likewise.
47789         (_dl_x86_64_restore_sse): Likewise.
47790         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47791         size vector registers.
47792         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47793         (ZMM_SIZE): Likewise.
47794         * sysdeps/x86_64/tst-audit10.c: New file.
47795         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47796         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47798 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47800         * configure.ac (HAVE_EHDR_START): New check.
47801         * configure: Regenerated.
47802         * config.h.in (HAVE_EHDR_START): New #undef.
47803         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47804         assuming the lowest-addressed segment maps the start of the file.
47806 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47808         * INSTALL: Regenerated.
47810 2014-03-13  Will Newton  <will.newton@linaro.org>
47812         * manual/setjmp.texi (System V contexts): Improve
47813         clarity and grammar of documentation.
47815 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47817         [BZ #16381]
47818         * elf/Makefile (tests): Add tst-pie2.
47819         (tests-pie): Add tst-pie2.
47820         * elf/tst-pie2.c: New file.
47821         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47822         for ET_EXEC.
47823         * elf/rtld.c (map_doit): Load executable as lt_executable.
47824         (dl_main): Likewise.
47826 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47828         [BZ #16642]
47829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47830         (__ASSUME_PSELECT): Undefine.
47832 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47834         [BZ #16689]
47835         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47836         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47837         static build.
47838         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47839         selector for static builds.
47841 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47843         [BZ #16695]
47844         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47845         key in the buffer.
47847 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47849         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47850         IFUNC selector for static builds.
47852 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47854         * sysdeps/mips/math_private.h [__mips_hard_float]
47855         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47856         libc_feresetround_mips_ctx.
47857         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47858         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47859         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47861         [BZ #16677]
47862         * math/s_nextafter.c (__nextafter): Do not return value from
47863         overflowing computation.
47864         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47865         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47866         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47867         Likewise.
47868         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47869         Likewise.
47870         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47871         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47873 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47875         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47876         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47877         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47878         the new mov targetting sp.
47880 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47882         [BZ #16683]
47883         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47884         Define it for static builds as well.
47885         (NO_BZERO_IMPL): Likewise.
47887 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47889         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47890         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47891         multiarch strspn for PPC64.
47892         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47893         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47895         (__libc_ifunc_impl_list): Likewise.
47896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47897         multiarch optimizations
47898         * string/strspn.c (strspn): Using macro to redefine symbol name.
47900 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47901             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47903         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47904         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47905         multiarch strncat for PPC64.
47906         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47907         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47909         (__libc_ifunc_impl_list): Likewise.
47910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47911         multiarch optimizations
47913 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47915         [BZ #16639]
47916         * nscd/nscd.service: Make service type forking.
47918 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47920         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47921         sign in non default rounding modes.
47922         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47924 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47926         * math/libm-test.inc (ALL_RM_TEST): New macro.
47927         (ceil_test): Use ALL_RM_TEST.
47928         (cimag_test): Likewise.
47929         (conj_test): Likewise.
47930         (copysign_test): Likewise.
47931         (cproj_test): Likewise.
47932         (creal_test): Likewise.
47933         (fabs_test): Likewise.
47934         (floor_test): Likewise.
47935         (fmax_test): Likewise.
47936         (fmin_test): Likewise.
47937         (fmod_test): Likewise.
47938         (fpclassify_test): Likewise.
47939         (frexp_test): Likewise.
47940         (ilogb_test): Likewise.
47941         (isfinite_test): Likewise.
47942         (finite_test): Likewise.
47943         (isgreater_test): Likewise.
47944         (isgreaterequal_test): Likewise.
47945         (isinf_test): Likewise.
47946         (isless_test): Likewise.
47947         (islessequal_test): Likewise.
47948         (islessgreater_test): Likewise.
47949         (isnan_test): Likewise.
47950         (isnormal_test): Likewise.
47951         (issignaling_test): Likewise.
47952         (isunordered_test): Likewise.
47953         (logb_test): Likewise.
47954         (logb_downward_test_data): Remove.
47955         (logb_test_downward): Likewise.
47956         (lround_test): Use ALL_RM_TEST.
47957         (llround_test): Likewise.
47958         (modf_test): Likewise.
47959         (nexttoward_test): Likewise.
47960         (remainder_test): Likewise.
47961         (drem_test): Likewise.
47962         (remainder_tonearest_test_data): Likewise.
47963         (remainder_test_tonearest): Likewise.
47964         (drem_test_tonearest): Likewise.
47965         (remainder_towardzero_test_data): Likewise.
47966         (remainder_test_towardzero): Likewise.
47967         (drem_test_towardzero): Likewise.
47968         (remainder_downward_test_data): Likewise.
47969         (remainder_test_downward): Likewise.
47970         (drem_test_downward): Likewise.
47971         (remainder_upward_test_data): Likewise.
47972         (remainder_test_upward): Likewise.
47973         (drem_test_upward): Likewise.
47974         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47975         (round_test): Use ALL_RM_TEST.
47976         (signbit_test): Likewise.
47977         (trunc_test): Likewise.
47978         (significand_test): Likewise.
47979         (main): Don't call removed functions.
47981 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47983         [BZ #16674]
47984         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47985         || __USE_XOPEN2K8].
47986         (ILL_ILLOPN): Likewise.
47987         (ILL_ILLADR): Likewise.
47988         (ILL_ILLTRP): Likewise.
47989         (ILL_PRVOPC): Likewise.
47990         (ILL_PRVREG): Likewise.
47991         (ILL_COPROC): Likewise.
47992         (ILL_BADSTK): Likewise.
47993         (FPE_INTDIV): Likewise.
47994         (FPE_INTOVF): Likewise.
47995         (FPE_FLTDIV): Likewise.
47996         (FPE_FLTOVF): Likewise.
47997         (FPE_FLTUND): Likewise.
47998         (FPE_FLTRES): Likewise.
47999         (FPE_FLTINV): Likewise.
48000         (FPE_FLTSUB): Likewise.
48001         (SEGV_MAPERR): Likewise.
48002         (SEGV_ACCERR): Likewise.
48003         (BUS_ADRALN): Likewise.
48004         (BUS_ADRERR): Likewise.
48005         (BUS_OBJERR): Likewise.
48006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48007         (TRAP_TRACE): Likewise.
48008         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48009         __USE_XOPEN2K8].
48010         (CLD_KILLED): Likewise.
48011         (CLD_DUMPED): Likewise.
48012         (CLD_TRAPPED): Likewise.
48013         (CLD_STOPPED): Likewise.
48014         (CLD_CONTINUED): Likewise.
48015         (POLL_IN): Likewise.
48016         (POLL_OUT): Likewise.
48017         (POLL_MSG): Likewise.
48018         (POLL_ERR): Likewise.
48019         (POLL_PRI): Likewise.
48020         (POLL_HUP): Likewise.
48021         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48022         Likewise.
48023         (ILL_ILLOPN): Likewise.
48024         (ILL_ILLADR): Likewise.
48025         (ILL_ILLTRP): Likewise.
48026         (ILL_PRVOPC): Likewise.
48027         (ILL_PRVREG): Likewise.
48028         (ILL_COPROC): Likewise.
48029         (ILL_BADSTK): Likewise.
48030         (FPE_INTDIV): Likewise.
48031         (FPE_INTOVF): Likewise.
48032         (FPE_FLTDIV): Likewise.
48033         (FPE_FLTOVF): Likewise.
48034         (FPE_FLTUND): Likewise.
48035         (FPE_FLTRES): Likewise.
48036         (FPE_FLTINV): Likewise.
48037         (FPE_FLTSUB): Likewise.
48038         (SEGV_MAPERR): Likewise.
48039         (SEGV_ACCERR): Likewise.
48040         (BUS_ADRALN): Likewise.
48041         (BUS_ADRERR): Likewise.
48042         (BUS_OBJERR): Likewise.
48043         (BUS_MCEERR_AR): Likewise.
48044         (BUS_MCEERR_AO): Likewise.
48045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48046         (TRAP_TRACE): Likewise.
48047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48048         __USE_XOPEN2K8].
48049         (CLD_KILLED): Likewise.
48050         (CLD_DUMPED): Likewise.
48051         (CLD_TRAPPED): Likewise.
48052         (CLD_STOPPED): Likewise.
48053         (CLD_CONTINUED): Likewise.
48054         (POLL_IN): Likewise.
48055         (POLL_OUT): Likewise.
48056         (POLL_MSG): Likewise.
48057         (POLL_ERR): Likewise.
48058         (POLL_PRI): Likewise.
48059         (POLL_HUP): Likewise.
48060         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48061         (ILL_ILLOPN): Likewise.
48062         (ILL_ILLADR): Likewise.
48063         (ILL_ILLTRP): Likewise.
48064         (ILL_PRVOPC): Likewise.
48065         (ILL_PRVREG): Likewise.
48066         (ILL_COPROC): Likewise.
48067         (ILL_BADSTK): Likewise.
48068         (FPE_INTDIV): Likewise.
48069         (FPE_INTOVF): Likewise.
48070         (FPE_FLTDIV): Likewise.
48071         (FPE_FLTOVF): Likewise.
48072         (FPE_FLTUND): Likewise.
48073         (FPE_FLTRES): Likewise.
48074         (FPE_FLTINV): Likewise.
48075         (FPE_FLTSUB): Likewise.
48076         (SEGV_MAPERR): Likewise.
48077         (SEGV_ACCERR): Likewise.
48078         (BUS_ADRALN): Likewise.
48079         (BUS_ADRERR): Likewise.
48080         (BUS_OBJERR): Likewise.
48081         (BUS_MCEERR_AR): Likewise.
48082         (BUS_MCEERR_AO): Likewise.
48083         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48084         (TRAP_TRACE): Likewise.
48085         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48086         __USE_XOPEN2K8].
48087         (CLD_KILLED): Likewise.
48088         (CLD_DUMPED): Likewise.
48089         (CLD_TRAPPED): Likewise.
48090         (CLD_STOPPED): Likewise.
48091         (CLD_CONTINUED): Likewise.
48092         (POLL_IN): Likewise.
48093         (POLL_OUT): Likewise.
48094         (POLL_MSG): Likewise.
48095         (POLL_ERR): Likewise.
48096         (POLL_PRI): Likewise.
48097         (POLL_HUP): Likewise.
48098         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48099         Likewise.
48100         (ILL_ILLOPN): Likewise.
48101         (ILL_ILLADR): Likewise.
48102         (ILL_ILLTRP): Likewise.
48103         (ILL_PRVOPC): Likewise.
48104         (ILL_PRVREG): Likewise.
48105         (ILL_COPROC): Likewise.
48106         (ILL_BADSTK): Likewise.
48107         (ILL_BADIADDR): Likewise.
48108         (ILL_BREAK): Likewise.
48109         (FPE_INTDIV): Likewise.
48110         (FPE_INTOVF): Likewise.
48111         (FPE_FLTDIV): Likewise.
48112         (FPE_FLTOVF): Likewise.
48113         (FPE_FLTUND): Likewise.
48114         (FPE_FLTRES): Likewise.
48115         (FPE_FLTINV): Likewise.
48116         (FPE_FLTSUB): Likewise.
48117         (FPE_DECOVF): Likewise.
48118         (FPE_DECDIV): Likewise.
48119         (FPE_DECERR): Likewise.
48120         (FPE_INVASC): Likewise.
48121         (FPE_INVDEC): Likewise.
48122         (SEGV_MAPERR): Likewise.
48123         (SEGV_ACCERR): Likewise.
48124         (SEGV_PSTKOVF): Likewise.
48125         (BUS_ADRALN): Likewise.
48126         (BUS_ADRERR): Likewise.
48127         (BUS_OBJERR): Likewise.
48128         (BUS_MCEERR_AR): Likewise.
48129         (BUS_MCEERR_AO): Likewise.
48130         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48131         (TRAP_TRACE): Likewise.
48132         (TRAP_BRANCH): Likewise.
48133         (TRAP_HWBKPT): Likewise.
48134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48135         __USE_XOPEN2K8].
48136         (CLD_KILLED): Likewise.
48137         (CLD_DUMPED): Likewise.
48138         (CLD_TRAPPED): Likewise.
48139         (CLD_STOPPED): Likewise.
48140         (CLD_CONTINUED): Likewise.
48141         (POLL_IN): Likewise.
48142         (POLL_OUT): Likewise.
48143         (POLL_MSG): Likewise.
48144         (POLL_ERR): Likewise.
48145         (POLL_PRI): Likewise.
48146         (POLL_HUP): Likewise.
48147         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48148         (ILL_ILLOPN): Likewise.
48149         (ILL_ILLADR): Likewise.
48150         (ILL_ILLTRP): Likewise.
48151         (ILL_PRVOPC): Likewise.
48152         (ILL_PRVREG): Likewise.
48153         (ILL_COPROC): Likewise.
48154         (ILL_BADSTK): Likewise.
48155         (FPE_INTDIV): Likewise.
48156         (FPE_INTOVF): Likewise.
48157         (FPE_FLTDIV): Likewise.
48158         (FPE_FLTOVF): Likewise.
48159         (FPE_FLTUND): Likewise.
48160         (FPE_FLTRES): Likewise.
48161         (FPE_FLTINV): Likewise.
48162         (FPE_FLTSUB): Likewise.
48163         (SEGV_MAPERR): Likewise.
48164         (SEGV_ACCERR): Likewise.
48165         (BUS_ADRALN): Likewise.
48166         (BUS_ADRERR): Likewise.
48167         (BUS_OBJERR): Likewise.
48168         (BUS_MCEERR_AR): Likewise.
48169         (BUS_MCEERR_AO): Likewise.
48170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48171         (TRAP_TRACE): Likewise.
48172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48173         __USE_XOPEN2K8].
48174         (CLD_KILLED): Likewise.
48175         (CLD_DUMPED): Likewise.
48176         (CLD_TRAPPED): Likewise.
48177         (CLD_STOPPED): Likewise.
48178         (CLD_CONTINUED): Likewise.
48179         (POLL_IN): Likewise.
48180         (POLL_OUT): Likewise.
48181         (POLL_MSG): Likewise.
48182         (POLL_ERR): Likewise.
48183         (POLL_PRI): Likewise.
48184         (POLL_HUP): Likewise.
48185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48186         (ILL_ILLOPN): Likewise.
48187         (ILL_ILLADR): Likewise.
48188         (ILL_ILLTRP): Likewise.
48189         (ILL_PRVOPC): Likewise.
48190         (ILL_PRVREG): Likewise.
48191         (ILL_COPROC): Likewise.
48192         (ILL_BADSTK): Likewise.
48193         (FPE_INTDIV): Likewise.
48194         (FPE_INTOVF): Likewise.
48195         (FPE_FLTDIV): Likewise.
48196         (FPE_FLTOVF): Likewise.
48197         (FPE_FLTUND): Likewise.
48198         (FPE_FLTRES): Likewise.
48199         (FPE_FLTINV): Likewise.
48200         (FPE_FLTSUB): Likewise.
48201         (SEGV_MAPERR): Likewise.
48202         (SEGV_ACCERR): Likewise.
48203         (BUS_ADRALN): Likewise.
48204         (BUS_ADRERR): Likewise.
48205         (BUS_OBJERR): Likewise.
48206         (BUS_MCEERR_AR): Likewise.
48207         (BUS_MCEERR_AO): Likewise.
48208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48209         (TRAP_TRACE): Likewise.
48210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48211         __USE_XOPEN2K8].
48212         (CLD_KILLED): Likewise.
48213         (CLD_DUMPED): Likewise.
48214         (CLD_TRAPPED): Likewise.
48215         (CLD_STOPPED): Likewise.
48216         (CLD_CONTINUED): Likewise.
48217         (POLL_IN): Likewise.
48218         (POLL_OUT): Likewise.
48219         (POLL_MSG): Likewise.
48220         (POLL_ERR): Likewise.
48221         (POLL_PRI): Likewise.
48222         (POLL_HUP): Likewise.
48223         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48224         (ILL_ILLOPN): Likewise.
48225         (ILL_ILLADR): Likewise.
48226         (ILL_ILLTRP): Likewise.
48227         (ILL_PRVOPC): Likewise.
48228         (ILL_PRVREG): Likewise.
48229         (ILL_COPROC): Likewise.
48230         (ILL_BADSTK): Likewise.
48231         (FPE_INTDIV): Likewise.
48232         (FPE_INTOVF): Likewise.
48233         (FPE_FLTDIV): Likewise.
48234         (FPE_FLTOVF): Likewise.
48235         (FPE_FLTUND): Likewise.
48236         (FPE_FLTRES): Likewise.
48237         (FPE_FLTINV): Likewise.
48238         (FPE_FLTSUB): Likewise.
48239         (SEGV_MAPERR): Likewise.
48240         (SEGV_ACCERR): Likewise.
48241         (BUS_ADRALN): Likewise.
48242         (BUS_ADRERR): Likewise.
48243         (BUS_OBJERR): Likewise.
48244         (BUS_MCEERR_AR): Likewise.
48245         (BUS_MCEERR_AO): Likewise.
48246         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48247         (TRAP_TRACE): Likewise.
48248         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48249         __USE_XOPEN2K8].
48250         (CLD_KILLED): Likewise.
48251         (CLD_DUMPED): Likewise.
48252         (CLD_TRAPPED): Likewise.
48253         (CLD_STOPPED): Likewise.
48254         (CLD_CONTINUED): Likewise.
48255         (POLL_IN): Likewise.
48256         (POLL_OUT): Likewise.
48257         (POLL_MSG): Likewise.
48258         (POLL_ERR): Likewise.
48259         (POLL_PRI): Likewise.
48260         (POLL_HUP): Likewise.
48261         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48262         (ILL_ILLOPN): Likewise.
48263         (ILL_ILLADR): Likewise.
48264         (ILL_ILLTRP): Likewise.
48265         (ILL_PRVOPC): Likewise.
48266         (ILL_PRVREG): Likewise.
48267         (ILL_COPROC): Likewise.
48268         (ILL_BADSTK): Likewise.
48269         (ILL_DBLFLT): Likewise.
48270         (ILL_HARDWALL): Likewise.
48271         (FPE_INTDIV): Likewise.
48272         (FPE_INTOVF): Likewise.
48273         (FPE_FLTDIV): Likewise.
48274         (FPE_FLTOVF): Likewise.
48275         (FPE_FLTUND): Likewise.
48276         (FPE_FLTRES): Likewise.
48277         (FPE_FLTINV): Likewise.
48278         (FPE_FLTSUB): Likewise.
48279         (SEGV_MAPERR): Likewise.
48280         (SEGV_ACCERR): Likewise.
48281         (BUS_ADRALN): Likewise.
48282         (BUS_ADRERR): Likewise.
48283         (BUS_OBJERR): Likewise.
48284         (BUS_MCEERR_AR): Likewise.
48285         (BUS_MCEERR_AO): Likewise.
48286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48287         (TRAP_TRACE): Likewise.
48288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48289         __USE_XOPEN2K8].
48290         (CLD_KILLED): Likewise.
48291         (CLD_DUMPED): Likewise.
48292         (CLD_TRAPPED): Likewise.
48293         (CLD_STOPPED): Likewise.
48294         (CLD_CONTINUED): Likewise.
48295         (POLL_IN): Likewise.
48296         (POLL_OUT): Likewise.
48297         (POLL_MSG): Likewise.
48298         (POLL_ERR): Likewise.
48299         (POLL_PRI): Likewise.
48300         (POLL_HUP): Likewise.
48301         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48302         (ILL_ILLOPN): Likewise.
48303         (ILL_ILLADR): Likewise.
48304         (ILL_ILLTRP): Likewise.
48305         (ILL_PRVOPC): Likewise.
48306         (ILL_PRVREG): Likewise.
48307         (ILL_COPROC): Likewise.
48308         (ILL_BADSTK): Likewise.
48309         (FPE_INTDIV): Likewise.
48310         (FPE_INTOVF): Likewise.
48311         (FPE_FLTDIV): Likewise.
48312         (FPE_FLTOVF): Likewise.
48313         (FPE_FLTUND): Likewise.
48314         (FPE_FLTRES): Likewise.
48315         (FPE_FLTINV): Likewise.
48316         (FPE_FLTSUB): Likewise.
48317         (SEGV_MAPERR): Likewise.
48318         (SEGV_ACCERR): Likewise.
48319         (BUS_ADRALN): Likewise.
48320         (BUS_ADRERR): Likewise.
48321         (BUS_OBJERR): Likewise.
48322         (BUS_MCEERR_AR): Likewise.
48323         (BUS_MCEERR_AO): Likewise.
48324         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48325         (TRAP_TRACE): Likewise.
48326         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48327         __USE_XOPEN2K8].
48328         (CLD_KILLED): Likewise.
48329         (CLD_DUMPED): Likewise.
48330         (CLD_TRAPPED): Likewise.
48331         (CLD_STOPPED): Likewise.
48332         (CLD_CONTINUED): Likewise.
48333         (POLL_IN): Likewise.
48334         (POLL_OUT): Likewise.
48335         (POLL_MSG): Likewise.
48336         (POLL_ERR): Likewise.
48337         (POLL_PRI): Likewise.
48338         (POLL_HUP): Likewise.
48339         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48340         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48342         [BZ #16670]
48343         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48344         before #include of <time.h>.
48345         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48346         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48347         (test-xfail-UNIX98/sched.h/conform): Likewise.
48349 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48351         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48352         error absence of trapping exception support.
48353         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48355 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48357         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48358         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48359         * timezone/Makefile (testdata): Move definition above include of
48360         Rules.
48361         (test-zones): New variable.
48362         (tests-special): Add zone files.
48363         (build-testdata): Use $(evaluate-test).
48365         * elf/Makefile (tests-special): Rename tests to end with .out.
48366         ($(objpfx)noload-mem): Likewise.
48367         ($(objpfx)tst-leaks1-mem): Likewise.
48368         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48369         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48370         $(objpfx)test-iconvconfig.out.
48371         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48372         set -e inside subshell and redirect output to file.
48373         * iconvdata/Makefile (generated): Rename tests to end with .out.
48374         Correct type.
48375         (tests-special): Rename tests to end with .out.
48376         ($(objpfx)mtrace-tst-loading): Likewise.
48377         * intl/Makefile (generated): Likewise.
48378         (tests-special): Likewise.
48379         ($(objpfx)mtrace-tst-gettext): Likewise.
48380         * misc/Makefile (generated): Likewise.
48381         (tests-special): Likewise.
48382         ($(objpfx)tst-error1-mem): Likewise.
48383         * nptl/Makefile (tests-special): Likewise.
48384         ($(objpfx)tst-stack3-mem): Likewise.
48385         (generated): Likewise.
48386         * posix/Makefile (generated): Likewise.
48387         (tests-special): Likewise.
48388         (xtests-special): Likewise.
48389         ($(objpfx)tst-fnmatch-mem): Likewise.
48390         ($(objpfx)bug-regex2-mem): Likewise.
48391         ($(objpfx)bug-regex14-mem): Likewise.
48392         ($(objpfx)bug-regex21-mem): Likewise.
48393         ($(objpfx)bug-regex31-mem): Likewise.
48394         ($(objpfx)tst-vfork3-mem): Likewise.
48395         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48396         ($(objpfx)tst-pcre-mem): Likewise.
48397         ($(objpfx)tst-boost-mem): Likewise.
48398         ($(objpfx)bug-ga2-mem): Likewise.
48399         ($(objpfx)bug-glob2-mem): Likewise.
48400         * resolv/Makefile (generate): Likewise.
48401         (tests-special): Likewise.
48402         (xtests-special): Likewise.
48403         (generated): Likewise.
48404         ($(objpfx)mtrace-tst-leaks): Likewise.
48405         ($(objpfx)mtrace-tst-leaks2): Likewise.
48407         * scripts/merge-test-results.sh: New file.
48408         * Makefile (tests-special-notdir): New variable.
48409         (tests): Run merge-test-results.sh.
48410         (xtests): Likewise.
48411         * Rules (tests-special-notdir): New variable.
48412         (xtests-special-notdir): Likewise.
48413         (tests): Run merge-test-results.sh
48414         (xtests): Likewise.
48416         * Makeconfig (test-xfail-name): New variable.
48417         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48418         compute variable name for expected failures.
48419         * conform/Makefile (conformtest-headers-data): New variable.
48420         (conformtest-standards): Likewise.
48421         (conformtest-headers-ISO): Likewise.
48422         (conformtest-headers-ISO99): Likewise.
48423         (conformtest-headers-ISO11): Likewise.
48424         (conformtest-headers-POSIX): Likewise.
48425         (conformtest-headers-XPG3): Likewise.
48426         (conformtest-headers-XPG4): Likewise.
48427         (conformtest-headers-UNIX98): Likewise.
48428         (conformtest-headers-XOPEN2K): Likewise.
48429         (conformtest-headers-POSIX2008): Likewise.
48430         (conformtest-headers-XOPEN2K8): Likewise.
48431         (conformtest-header-list-base): Likewise.
48432         (conformtest-header-list-tests): Likewise.
48433         (conformtest-header-base): Likewise.
48434         (conformtest-header-tests): Likewise.
48435         (tests-special): Add $(conformtest-header-list-tests).  If
48436         [$(fast-check) && !$(cross-compiling)], add
48437         $(conformtest-header-tests) instead of
48438         $(objpfx)run-conformtest.out.
48439         (generated): Add $(conformtest-header-list-base).  If
48440         [$(fast-check) && !$(cross-compiling)], add
48441         $(conformtest-header-base).  Remove previous setting.
48442         ($(conformtest-header-list-tests)): New target.
48443         (test-xfail-run-conformtest): Remove variable.
48444         ($(objpfx)run-conformtest.out): Remove target.
48445         (test-xfail-ISO11/complex.h/conform): New variable.
48446         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48447         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48448         (test-xfail-XPG3/varargs.h/conform): Likewise.
48449         (test-xfail-XPG4/varargs.h/conform): Likewise.
48450         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48451         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48452         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48453         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48454         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48455         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48456         (test-xfail-XPG3/ftw.h/conform): Likewise.
48457         (test-xfail-XPG3/grp.h/conform): Likewise.
48458         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48459         (test-xfail-XPG3/limits.h/conform): Likewise.
48460         (test-xfail-XPG3/pwd.h/conform): Likewise.
48461         (test-xfail-XPG3/search.h/conform): Likewise.
48462         (test-xfail-XPG3/signal.h/conform): Likewise.
48463         (test-xfail-XPG3/stdio.h/conform): Likewise.
48464         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48465         (test-xfail-XPG3/string.h/conform): Likewise.
48466         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48467         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48468         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48469         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48470         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48471         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48472         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48473         (test-xfail-XPG3/termios.h/conform): Likewise.
48474         (test-xfail-XPG3/time.h/conform): Likewise.
48475         (test-xfail-XPG3/unistd.h/conform): Likewise.
48476         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48477         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48478         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48479         (test-xfail-XPG4/netdb.h/conform): Likewise.
48480         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48481         (test-xfail-XPG4/signal.h/conform): Likewise.
48482         (test-xfail-XPG4/stdio.h/conform): Likewise.
48483         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48484         (test-xfail-XPG4/stropts.h/conform): Likewise.
48485         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48486         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48487         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48488         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48489         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48490         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48491         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48492         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48493         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48494         (test-xfail-XPG4/termios.h/conform): Likewise.
48495         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48496         (test-xfail-XPG4/unistd.h/conform): Likewise.
48497         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48498         (test-xfail-POSIX/sched.h/conform): Likewise.
48499         (test-xfail-POSIX/signal.h/conform): Likewise.
48500         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48501         (test-xfail-POSIX/tar.h/conform): Likewise.
48502         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48503         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48504         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48505         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48506         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48507         (test-xfail-UNIX98/sched.h/conform): Likewise.
48508         (test-xfail-UNIX98/signal.h/conform): Likewise.
48509         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48510         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48511         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48512         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48513         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48514         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48515         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48516         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48517         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48518         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48519         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48520         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48521         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48522         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48523         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48524         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48525         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48526         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48527         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48528         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48529         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48530         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48531         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48532         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48533         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48534         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48535         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48536         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48537         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48538         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48539         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48540         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48541         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48542         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48543         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48544         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48545         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48546         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48547         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48548         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48549         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48550         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48551         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48552         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48553         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48554         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48555         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48556         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48557         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48558         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48559         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48560         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48561         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48562         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48563         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48564         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48565         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48566         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48567         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48568         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48569         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48570         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48571         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48572         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48573         (conformtest-cc-flags): Likewise.
48574         ($(conformtest-header-tests): New target.
48575         * conform/check-header-lists.sh: New file.
48576         * conform/run-conformtest.sh: Remove.
48578         * conform/conformtest.pl: Allow ' and \ in values given for
48579         constants.
48580         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48581         inclusion.
48582         [POSIX] (sys/types.h): Likewise.
48583         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48584         inclusion.
48585         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48586         inclusion.
48587         * conform/data/signal.h-data (SIGIO): Remove expectation.
48588         [XPG3] (SIGBUS): Do not expect.
48589         [POSIX || XPG3] (SIGPOLL): Likewise.
48590         [POSIX || XPG3] (SIGPROF): Likewise.
48591         [POSIX || XPG3] (SIGSYS): Likewise.
48592         [XPG3] (SIGTRAP): Likewise.
48593         [POSIX || XPG3] (SIGURG): Likewise.
48594         [POSIX || XPG3] (SIGVTALRM): Likewise.
48595         [POSIX || XPG3] (SIGXCPU): Likewise.
48596         [POSIX || XPG3] (SIGXFSZ): Likewise.
48597         [POSIX] (SA_SIGINFO): Expect.
48598         [XPG3] (siginfo_t): Do not expect type or contents.
48599         [POSIX] (si_pid): Do not expect element.
48600         [POSIX] (si_uid): Likewise.
48601         [POSIX] (si_addr): Likewise.
48602         [POSIX] (si_status): Likewise.
48603         [POSIX] (si_band): Likewise.
48604         [XPG4] (si_value): Likewise.
48605         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48606         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48607         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48608         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48609         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48610         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48611         [POSIX || XPG3] (ILL_COPROC): Likewise.
48612         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48613         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48614         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48615         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48616         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48617         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48618         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48619         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48620         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48621         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48622         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48623         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48624         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48625         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48626         [POSIX || XPG3] (CLD_EXITED): Likewise.
48627         [POSIX || XPG3] (CLD_KILLED): Likewise.
48628         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48629         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48630         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48631         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48632         [POSIX || XPG3] (POLL_IN): Likewise.
48633         [POSIX || XPG3] (POLL_OUT): Likewise.
48634         [POSIX || XPG3] (POLL_MSG): Likewise.
48635         [POSIX || XPG3] (POLL_ERR): Likewise.
48636         [POSIX || XPG3] (POLL_PRI): Likewise.
48637         [POSIX || XPG3] (POLL_HUP): Likewise.
48638         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48639         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48640         (SIG*): Do not allow.
48641         [XPG3] (si_*): Likewise.
48642         [XPG3] (SI_*): Likewise.
48643         [XPG3 || XPG4] (sigev_*): Likewise.
48644         [XPG3 || XPG4] (SIGEV_*): Likewise.
48645         [XPG3 || XPG4] (sival_*): Likewise.
48646         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48647         [POSIX || XPG3] (BUS_*): Likewise.
48648         [POSIX || XPG3] (CLD_*): Likewise.
48649         [POSIX || XPG3] (FPE_*): Likewise.
48650         [POSIX || XPG3] (ILL_*): Likewise.
48651         [POSIX || XPG3] (POLL_*): Likewise.
48652         [POSIX || XPG3] (SEGV_*): Likewise.
48653         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48654         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48655         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48656         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48657         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48658         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48659         Specify type and value.
48660         (TVERSLEN): Likewise.
48661         (REGTYPE): Likewise.
48662         (AREGTYPE): Likewise.
48663         (LNKTYPE): Likewise.
48664         (SYMTYPE): Likewise.
48665         (CHRTYPE): Likewise.
48666         (BLKTYPE): Likewise.
48667         (DIRTYPE): Likewise.
48668         (FIFOTYPE): Likewise.
48669         (CONTTYPE): Likewise.
48670         (TSUID): Likewise.
48671         (TSGID): Likewise.
48672         (TSVTX): Likewise.
48673         (TUREAD): Likewise.
48674         (TUWRITE): Likewise.
48675         (TUEXEC): Likewise.
48676         (TGREAD): Likewise.
48677         (TGWRITE): Likewise.
48678         (TGEXEC): Likewise.
48679         (TOREAD): Likewise.
48680         (TOWRITE): Likewise.
48681         (TOEXEC): Likewise.
48682         [POSIX] (TSVTX): Expect constant.
48684 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48686         * Makefile (tests): Change dependencies to ....
48687         (tests-special): ... additions to this variable.
48688         (tests): Depend on $(tests-special).
48689         * Makerules (check-abi-list): New variable.
48690         (check-abi): Depend on $(check-abi-list).
48691         [$(subdir) = elf] (tests-special): Add
48692         $(objpfx)check-abi-libc.out.
48693         [$(build-shared) = yes && subdir] (tests-special): Add
48694         $(check-abi-list).
48695         [$(build-shared) = yes && subdir] (tests): Do not depend on
48696         check-abi.
48697         * Rules (tests): Depend on $(tests-special).
48698         (xtests): Depend on $(xtests-special).
48699         * catgets/Makefile (tests): Change dependencies to ....
48700         (tests-special): ... additions to this variable.
48701         * conform/Makefile (tests): Change dependencies to ....
48702         (tests-special): ... additions to this variable.
48703         * elf/Makefile (tests): Change dependencies to ....
48704         (tests-special): ... additions to this variable.
48705         * grp/Makefile (tests): Change dependencies to ....
48706         (tests-special): ... additions to this variable.
48707         * iconv/Makefile (xtests): Change dependencies to ....
48708         (xtests-special): ... additions to this variable.
48709         * iconvdata/Makefile (tests): Change dependencies to ....
48710         (tests-special): ... additions to this variable.
48711         * intl/Makefile (tests): Change dependencies to ....
48712         (tests-special): ... additions to this variable.  Also add
48713         $(objpfx)tst-gettext.out.
48714         * io/Makefile (tests): Change dependencies to ....
48715         (tests-special): ... additions to this variable.
48716         * libio/Makefile (tests): Change dependencies to ....
48717         (tests-special): ... additions to this variable.
48718         * malloc/Makefile (tests): Change dependencies to ....
48719         (tests-special): ... additions to this variable.
48720         * misc/Makefile (tests): Change dependencies to ....
48721         (tests-special): ... additions to this variable.
48722         * nptl/Makefile (tests): Change dependencies to ....
48723         (tests-special): ... additions to this variable.
48724         * nptl_db/Makefile (tests): Change dependencies to ....
48725         (tests-special): ... additions to this variable.
48726         * posix/Makefile (tests): Change dependencies to ....
48727         (tests-special): ... additions to this variable.
48728         (xtests): Change dependencies to ....
48729         (xtests-special): ... additions to this variable.
48730         * resolv/Makefile (tests): Change dependencies to ....
48731         (tests-special): ... additions to this variable.
48732         (xtests): Change dependencies to ....
48733         (xtests-special): ... additions to this variable.
48734         * stdio-common/Makefile (tests): Change dependencies to ....
48735         (tests-special): ... additions to this variable.
48736         (do-tst-unbputc): Remove target.
48737         (do-tst-printf): Likewise.
48738         * stdlib/Makefile (tests): Change dependencies to ....
48739         (tests-special): ... additions to this variable.
48740         * string/Makefile (tests): Change dependencies to ....
48741         (tests-special): ... additions to this variable.
48742         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48743         (tests-special): ... additions to this variable.
48745         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48746         whole file.
48747         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48748         whole file.
48749         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48750         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48752         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48753         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48754         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48755         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48756         * conform/data/libgen.h-data [XPG3]: Likewise.
48757         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48758         * conform/data/ndbm.h-data [XPG3]: Likewise.
48759         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48760         * conform/data/netdb.h-data [XPG3]: Likewise.
48761         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48762         * conform/data/poll.h-data [XPG3]: Likewise.
48763         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48764         * conform/data/strings.h-data [XPG3]: Likewise.
48765         * conform/data/stropts.h-data [XPG3]: Likewise.
48766         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48767         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48768         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48769         Likewise.
48770         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48771         * conform/data/sys/time.h-data [XPG3]: Likewise.
48772         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48773         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48774         * conform/data/sys/un.h-data [XPG3]: Likewise.
48775         * conform/data/syslog.h-data [XPG3]: Likewise.
48776         * conform/data/ucontext.h-data [XPG3]: Likewise.
48777         * conform/data/utmpx.h-data [XPG3]: Likewise.
48778         * conform/data/varargs.h-data [UNIX98]: Enable file.
48780         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48782         * math/libm-test.inc (struct test_f_f_data): Move expected results
48783         into structure for each rounding mode.
48784         (struct test_ff_f_data): Likewise.
48785         (struct test_ff_f_data_nexttoward): Likewise.
48786         (struct test_fi_f_data): Likewise.
48787         (struct test_fl_f_data): Likewise.
48788         (struct test_if_f_data): Likewise.
48789         (struct test_fff_f_data): Likewise.
48790         (struct test_c_f_data): Likewise.
48791         (struct test_f_f1_data): Likewise.
48792         (struct test_fF_f1_data): Likewise.
48793         (struct test_ffI_f1_data): Likewise.
48794         (struct test_c_c_data): Likewise.
48795         (struct test_cc_c_data): Likewise.
48796         (struct test_f_i_data): Likewise.
48797         (struct test_ff_i_data): Likewise.
48798         (struct test_f_l_data): Likewise.
48799         (struct test_f_L_data): Likewise.
48800         (struct test_fFF_11_data): Likewise.
48801         (RM_): New macro.
48802         (RM_FE_DOWNWARD): Likewise.
48803         (RM_FE_TONEAREST): Likewise.
48804         (RM_FE_TOWARDZERO): Likewise.
48805         (RM_FE_UPWARD): Likewise.
48806         (RUN_TEST_LOOP_f_f): Update references to expected results.
48807         (RUN_TEST_LOOP_2_f): Likewise.
48808         (RUN_TEST_LOOP_fff_f): Likewise.
48809         (RUN_TEST_LOOP_c_f): Likewise.
48810         (RUN_TEST_LOOP_f_f1): Likewise.
48811         (RUN_TEST_LOOP_fF_f1): Likewise.
48812         (RUN_TEST_LOOP_fI_f1): Likewise.
48813         (RUN_TEST_LOOP_ffI_f1): Likewise.
48814         (RUN_TEST_LOOP_c_c): Likewise.
48815         (RUN_TEST_LOOP_cc_c): Likewise.
48816         (RUN_TEST_LOOP_f_i): Likewise.
48817         (RUN_TEST_LOOP_f_i_tg): Likewise.
48818         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48819         (RUN_TEST_LOOP_f_b): Likewise.
48820         (RUN_TEST_LOOP_f_b_tg): Likewise.
48821         (RUN_TEST_LOOP_f_l): Likewise.
48822         (RUN_TEST_LOOP_f_L): Likewise.
48823         (RUN_TEST_LOOP_fFF_11): Likewise.
48824         * math/gen-libm-test.pl (parse_args): Output four copies of
48825         expected results for each test.
48827         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48828         (__ASSUME_UTIMES): Remove.
48829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48830         (__ASSUME_UTIMES): Likewise.
48832         * math/gen-auto-libm-tests.c: Update comment on output format.
48833         (output_for_one_input_case): Generate before-rounding and
48834         after-rounding information as conditions on output flags not
48835         floating-point format.
48836         * math/auto-libm-test-out: Regenerated.
48837         * math/gen-libm-test.pl (cond_value): New function.
48838         (or_cond_value): Use cond_value.
48839         (generate_testfile): Handle conditional exceptions.
48841 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48843         * math/libm-test.inc (max_valid_error): New variable.
48844         (init_max_error): Take new argument specifying whether function
48845         results are exactly determined.  Set max_valid_error and bound
48846         other variables for errors based on this argument.
48847         (set_max_error): Do not record results above max_valid_error.
48848         (check_float_internal): Only accept errors of up to 0.5ulps if
48849         also at most max_valid_error.
48850         (START): Take new argument EXACT and pass it to init_max_error.
48851         (acos_test): Update call to START.
48852         (acos_test_tonearest): Likewise.
48853         (acos_test_towardzero): Likewise.
48854         (acos_test_downward): Likewise.
48855         (acos_test_upward): Likewise.
48856         (acosh_test): Likewise.
48857         (asin_test): Likewise.
48858         (asin_test_tonearest): Likewise.
48859         (asin_test_towardzero): Likewise.
48860         (asin_test_downward): Likewise.
48861         (asin_test_upward): Likewise.
48862         (asinh_test): Likewise.
48863         (atan_test): Likewise.
48864         (atanh_test): Likewise.
48865         (atan2_test): Likewise.
48866         (cabs_test): Likewise.
48867         (cacos_test): Likewise.
48868         (cacosh_test): Likewise.
48869         (carg_test): Likewise.
48870         (casin_test): Likewise.
48871         (casinh_test): Likewise.
48872         (catan_test): Likewise.
48873         (catanh_test): Likewise.
48874         (cbrt_test): Likewise.
48875         (ccos_test): Likewise.
48876         (ccosh_test): Likewise.
48877         (ceil_test): Likewise.
48878         (cexp_test): Likewise.
48879         (cimag_test): Likewise.
48880         (clog_test): Likewise.
48881         (clog10_test): Likewise.
48882         (conj_test): Likewise.
48883         (copysign_test): Likewise.
48884         (cos_test): Likewise.
48885         (cos_test_tonearest): Likewise.
48886         (cos_test_towardzero): Likewise.
48887         (cos_test_downward): Likewise.
48888         (cos_test_upward): Likewise.
48889         (cosh_test): Likewise.
48890         (cosh_test_tonearest): Likewise.
48891         (cosh_test_towardzero): Likewise.
48892         (cosh_test_downward): Likewise.
48893         (cosh_test_upward): Likewise.
48894         (cpow_test): Likewise.
48895         (cproj_test): Likewise.
48896         (creal_test): Likewise.
48897         (csin_test): Likewise.
48898         (csinh_test): Likewise.
48899         (csqrt_test): Likewise.
48900         (ctan_test): Likewise.
48901         (ctan_test_tonearest): Likewise.
48902         (ctan_test_towardzero): Likewise.
48903         (ctan_test_downward): Likewise.
48904         (ctan_test_upward): Likewise.
48905         (ctanh_test): Likewise.
48906         (ctanh_test_tonearest): Likewise.
48907         (ctanh_test_towardzero): Likewise.
48908         (ctanh_test_downward): Likewise.
48909         (ctanh_test_upward): Likewise.
48910         (erf_test): Likewise.
48911         (erfc_test): Likewise.
48912         (exp_test): Likewise.
48913         (exp_test_tonearest): Likewise.
48914         (exp_test_towardzero): Likewise.
48915         (exp_test_downward): Likewise.
48916         (exp_test_upward): Likewise.
48917         (exp10_test): Likewise.
48918         (exp10_test_tonearest): Likewise.
48919         (exp10_test_towardzero): Likewise.
48920         (exp10_test_downward): Likewise.
48921         (exp10_test_upward): Likewise.
48922         (pow10_test): Likewise.
48923         (exp2_test): Likewise.
48924         (expm1_test): Likewise.
48925         (expm1_test_tonearest): Likewise.
48926         (expm1_test_towardzero): Likewise.
48927         (expm1_test_downward): Likewise.
48928         (expm1_test_upward): Likewise.
48929         (fabs_test): Likewise.
48930         (fdim_test): Likewise.
48931         (floor_test): Likewise.
48932         (fma_test): Likewise.
48933         (fma_test_towardzero): Likewise.
48934         (fma_test_downward): Likewise.
48935         (fma_test_upward): Likewise.
48936         (fmax_test): Likewise.
48937         (fmin_test): Likewise.
48938         (fmod_test): Likewise.
48939         (fpclassify_test): Likewise.
48940         (frexp_test): Likewise.
48941         (hypot_test): Likewise.
48942         (ilogb_test): Likewise.
48943         (isfinite_test): Likewise.
48944         (finite_test): Likewise.
48945         (isgreater_test): Likewise.
48946         (isgreaterequal_test): Likewise.
48947         (isinf_test): Likewise.
48948         (isless_test): Likewise.
48949         (islessequal_test): Likewise.
48950         (islessgreater_test): Likewise.
48951         (isnan_test): Likewise.
48952         (isnormal_test): Likewise.
48953         (issignaling_test): Likewise.
48954         (isunordered_test): Likewise.
48955         (j0_test): Likewise.
48956         (j1_test): Likewise.
48957         (jn_test): Likewise.
48958         (ldexp_test): Likewise.
48959         (lgamma_test): Likewise.
48960         (gamma_test): Likewise.
48961         (lrint_test): Likewise.
48962         (lrint_test_tonearest): Likewise.
48963         (lrint_test_towardzero): Likewise.
48964         (lrint_test_downward): Likewise.
48965         (lrint_test_upward): Likewise.
48966         (llrint_test): Likewise.
48967         (llrint_test_tonearest): Likewise.
48968         (llrint_test_towardzero): Likewise.
48969         (llrint_test_downward): Likewise.
48970         (llrint_test_upward): Likewise.
48971         (log_test): Likewise.
48972         (log10_test): Likewise.
48973         (log1p_test): Likewise.
48974         (log2_test): Likewise.
48975         (logb_test): Likewise.
48976         (logb_test_downward): Likewise.
48977         (lround_test): Likewise.
48978         (llround_test): Likewise.
48979         (modf_test): Likewise.
48980         (nearbyint_test): Likewise.
48981         (nextafter_test): Likewise.
48982         (nexttoward_test): Likewise.
48983         (pow_test): Likewise.
48984         (pow_test_tonearest): Likewise.
48985         (pow_test_towardzero): Likewise.
48986         (pow_test_downward): Likewise.
48987         (pow_test_upward): Likewise.
48988         (remainder_test): Likewise.
48989         (drem_test): Likewise.
48990         (remainder_test_tonearest): Likewise.
48991         (drem_test_tonearest): Likewise.
48992         (remainder_test_towardzero): Likewise.
48993         (drem_test_towardzero): Likewise.
48994         (remainder_test_downward): Likewise.
48995         (drem_test_downward): Likewise.
48996         (remainder_test_upward): Likewise.
48997         (drem_test_upward): Likewise.
48998         (remquo_test): Likewise.
48999         (rint_test): Likewise.
49000         (rint_test_tonearest): Likewise.
49001         (rint_test_towardzero): Likewise.
49002         (rint_test_downward): Likewise.
49003         (rint_test_upward): Likewise.
49004         (round_test): Likewise.
49005         (scalb_test): Likewise.
49006         (scalbn_test): Likewise.
49007         (scalbln_test): Likewise.
49008         (signbit_test): Likewise.
49009         (sin_test): Likewise.
49010         (sin_test_tonearest): Likewise.
49011         (sin_test_towardzero): Likewise.
49012         (sin_test_downward): Likewise.
49013         (sin_test_upward): Likewise.
49014         (sincos_test): Likewise.
49015         (sinh_test): Likewise.
49016         (sinh_test_tonearest): Likewise.
49017         (sinh_test_towardzero): Likewise.
49018         (sinh_test_downward): Likewise.
49019         (sinh_test_upward): Likewise.
49020         (sqrt_test): Likewise.
49021         (sqrt_test_tonearest): Likewise.
49022         (sqrt_test_towardzero): Likewise.
49023         (sqrt_test_downward): Likewise.
49024         (sqrt_test_upward): Likewise.
49025         (tan_test): Likewise.
49026         (tan_test_tonearest): Likewise.
49027         (tan_test_towardzero): Likewise.
49028         (tan_test_downward): Likewise.
49029         (tan_test_upward): Likewise.
49030         (tanh_test): Likewise.
49031         (tgamma_test): Likewise.
49032         (trunc_test): Likewise.
49033         (y0_test): Likewise.
49034         (y1_test): Likewise.
49035         (yn_test): Likewise.
49036         (significand_test): Likewise.
49038         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49039         individual tests in comment.
49040         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49041         (prev_max_error): New variable.
49042         (prev_real_max_error): Likewise.
49043         (prev_imag_max_error): Likewise.
49044         (compare_ulp_data): Don't refer to test names in comment.
49045         (find_test_ulps): Remove function.
49046         (find_function_ulps): Likewise.
49047         (find_complex_function_ulps): Likewise.
49048         (init_max_error): Take function name as argument.  Look up ulps
49049         for that function.
49050         (print_ulps): Remove function.
49051         (print_max_error): Use prev_max_error instead of calling
49052         find_function_ulps.
49053         (print_complex_max_error): Use prev_real_max_error and
49054         prev_imag_max_error instead of calling find_complex_function_ulps.
49055         (check_float_internal): Take max_ulp parameter instead of calling
49056         find_test_ulps.  Don't call print_ulps.
49057         (check_float): Update call to check_float_internal.
49058         (check_complex): Update calls to check_float_internal.
49059         (START): Pass argument to init_max_error.
49060         * math/gen-libm-test.pl (%results): Don't include "kind"
49061         information.
49062         (parse_ulps): Don't handle ulps of individual tests.
49063         (print_ulps_file): Likewise.
49064         (output_ulps): Likewise.
49065         * math/README.libm-test: Update.
49066         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49067         individual tests.
49068         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49069         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49070         * sysdeps/arm/libm-test-ulps: Likewise.
49071         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49072         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49073         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49074         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49075         * sysdeps/microblaze/libm-test-ulps: Likewise.
49076         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49078         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49079         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49080         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49081         * sysdeps/sh/libm-test-ulps: Likewise.
49082         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49083         * sysdeps/tile/libm-test-ulps: Likewise.
49084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49086 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49088         * math/libm-test.inc (print_complex_max_error): Check separately
49089         whether real and imaginary errors are within allowed range and
49090         pass 0 to print_complex_function_ulps instead of value within
49091         allowed range.
49093 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49095         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49096         formatting.
49097         (get_handles_fopen): Likewise.
49098         (do_write_test): Likewise.
49100         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49102         * libio/fileops.c (do_ftell): Use cached offset when
49103         available.
49104         * libio/iofwide.c (do_ftell_wide): Likewise.
49105         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49106         _IO_file_attach.
49107         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49109         [BZ #16532]
49110         * libio/libioP.h (get_file_offset): New function.
49111         * libio/fileops.c (get_file_offset): Likewise.
49112         (do_ftell): Likewise.
49113         (_IO_new_file_seekoff): Split out ftell logic.
49114         * libio/wfileops.c (do_ftell_wide): Likewise.
49115         (_IO_wfile_seekoff): Split out ftell logic.
49116         * libio/tst-ftell-active-handler.c: New test case.
49117         * libio/Makefile (tests): Add it.
49119 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49121         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49122         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49124 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49126         [BZ #16639]
49127         * nscd/connections.c (nscd_init): Call do_exit.
49128         (start_threads): Call do_exit and notify_parent.
49129         (begin_drop_privileges): Call do_exit.
49130         (finish_drop_privileges): Likewise.
49131         * nscd/selinux.c (preserve_capabilities): Likewise.
49132         (install_real_capabilities): Likewise.
49133         (nscd_selinux_enabled): Likewise.
49134         (avc_create_thread): Likewise.
49135         (avc_alloc_lock): Likewise.
49136         (nscd_avc_init): Likewise.
49137         * nscd/nscd.c (parent_fd): New static variable.
49138         (main): Create a pipe between parent and child processes.
49139         Skip closing parent_fd.
49140         (monitor_child): New function.
49141         (do_exit): Likewise.
49142         (notify_parent): Likewise.
49143         * nscd/nscd.h (notify_parent): Likewise.
49144         (do_exit): Likewise.
49146 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49148         * malloc/malloc.c (__libc_calloc): Revert last change.
49150 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49154 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49156         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49158         implementation.
49159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49160         (__libc_ifunc_impl_list): Likewise.
49161         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49162         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49163         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49164         * string/strrchr.c: Define STRRCHR.
49166 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49168         * benchtest/bench-strtok.c (simple_strtok): Delete.
49169         (strtok_string): Use as benchmark.
49170         * string/strtok (STRTOK): New macro.
49172 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49174         * manual/threads.texi: Add header and standard comments to all
49175         functions.
49177         * elf/dl-lookup.c (check_match): New function.
49178         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49179         (do_lookup_x): Remove nested function check_match. Use non-nested
49180         function check_match.
49182 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49184         * csu/Makefile (generated, before-compile): Use += rather than =.
49185         * catgets/Makefile (generated, generated-dirs): Likewise.
49186         * debug/Makefile (generated): Likewise.
49187         * dlfcn/Makefile (generated): Likewise.
49188         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49189         * iconvdata/Makefile (before-compile, generated): Likewise.
49190         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49191         * libio/Makefile (generated): Likewise.
49192         * malloc/Makefile (generated): Likewise.
49193         * manual/Makefile (generated, generated-dirs): Likewise.
49194         * misc/Makefile (generated): Likewise.
49195         * posix/Makefile (generated): Likewise.
49196         * resolv/Makefile (generated): Likewise.
49197         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49198         * timezone/Makefile (generated, generated-dirs): Likewise.
49200         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49202 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49205         power8 implementation.
49206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49207         file: POWER8 llround ifunc implementation.
49208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49209         (__lllround): Add POWER8 implementation.
49210         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49211         POWER8 llround implementation.
49213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49214         power8 implementation.
49215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49216         file: POWER8 llrint ifunc implementation.
49217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49218         Add POWER8 implementation.
49219         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49220         POWER8 llrint implementation.
49222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49223         power8 implementation.
49224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49225         file: POWER8 finite ifunc implementation.
49226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49227         Add POWER8 implementation.
49228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49229         Likewise.
49230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49231         POWER8 finite implementation.
49232         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49235         power8 implementation.
49236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49237         file: POWER8 isinf ifunc implementation.
49238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49239         POWER8 implementation.
49240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49241         Likewise.
49242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49243         isinf implementation.
49244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49246         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49247         (INIT_ARCH): Add hwcap2 initialization.
49248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49249         power8 implementation.
49250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49251         file: POWER8 isnan ifunc implementation.
49252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49253         POWER8 implementation.
49254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49255         Likewise.
49256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49257         isnan implementation.
49258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49260 2014-02-27  Joey Ye  <joey.ye@arm.com>
49262         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49263         (_FP_NANFRAC_Q): Set to zero.
49265 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49267         [BZ #16623]
49268         * math/auto-libm-test-in: New test inputs.
49269         * math/auto-libm-test-out: Regenerate.
49270         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49271         and DA.
49272         (__cos): Likewise.
49273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49275 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49277         * scripts/evaluate-test.sh: Take new argument indicating whether
49278         failure is expected.
49279         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49280         indicating whether failure is expected.
49281         * conform/Makefile (test-xfail-run-conformtest): New variable.
49282         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49283         level.
49284         * posix/Makefile (test-xfail-annexc): New variable.
49285         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49287 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49289         * argp/Makefile: Include Makeconfig immediately after defining
49290         subdir.
49291         * assert/Makefile: Likewise.
49292         * benchtests/Makefile: Likewise.
49293         * catgets/Makefile: Likewise.
49294         * conform/Makefile: Likewise.
49295         * crypt/Makefile: Likewise.
49296         * csu/Makefile: Likewise.
49297         (all): Remove target.
49298         * ctype/Makefile: Include Makeconfig immediately after defining
49299         subdir.
49300         * debug/Makefile: Likewise.
49301         * dirent/Makefile: Likewise.
49302         * dlfcn/Makefile: Likewise.
49303         * gmon/Makefile: Likewise.
49304         * gnulib/Makefile: Likewise.
49305         * grp/Makefile: Likewise.
49306         * gshadow/Makefile: Likewise.
49307         * hesiod/Makefile: Likewise.
49308         * hurd/Makefile: Likewise.
49309         (all): Remove target.
49310         * iconvdata/Makefile: Include Makeconfig immediately after
49311         defining subdir.
49312         * inet/Makefile: Likewise.
49313         * intl/Makefile: Likewise.
49314         * io/Makefile: Likewise.
49315         * libio/Makefile: Likewise.
49316         (all): Remove target.
49317         * locale/Makefile: Include Makeconfig immediately after defining
49318         subdir.
49319         * login/Makefile: Likewise.
49320         * mach/Makefile: Likewise.
49321         (all): Remove target.
49322         * malloc/Makefile: Include Makeconfig immediately after defining
49323         subdir.
49324         (all): Remove target.
49325         * manual/Makefile: Include Makeconfig immediately after defining
49326         subdir.
49327         * math/Makefile: Likewise.
49328         * misc/Makefile: Likewise.
49329         * nis/Makefile: Likewise.
49330         * nss/Makefile: Likewise.
49331         * po/Makefile: Likewise.
49332         (all): Remove target.
49333         * posix/Makefile: Include Makeconfig immediately after defining
49334         subdir.
49335         * pwd/Makefile: Likewise.
49336         * resolv/Makefile: Likewise.
49337         * resource/Makefile: Likewise.
49338         * rt/Makefile: Likewise.
49339         * setjmp/Makefile: Likewise.
49340         * shadow/Makefile: Likewise.
49341         * signal/Makefile: Likewise.
49342         * socket/Makefile: Likewise.
49343         * soft-fp/Makefile: Likewise.
49344         * stdio-common/Makefile: Likewise.
49345         * stdlib/Makefile: Likewise.
49346         * streams/Makefile: Likewise.
49347         * string/Makefile: Likewise.
49348         * sunrpc/Makefile: Likewise.
49349         (all): Remove target.
49350         * sysvipc/Makefile: Include Makeconfig immediately after defining
49351         subdir.
49352         * termios/Makefile: Likewise.
49353         * time/Makefile: Likewise.
49354         * timezone/Makefile: Likewise.
49355         (all): Remove target.
49356         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49357         subdir.
49358         * wctype/Makefile: Likewise.
49360 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49362         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49363         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49364         (libc_feholdexcept_setround_mips): Ditto.
49365         (libc_feholdsetround): New.
49366         (libc_feholdsetroundf): New.
49367         (libc_feholdsetroundl): New.
49368         (libc_feupdateenv_test_mips): New.
49369         (libc_feupdateenv_test): New.
49370         (libc_feupdateenv_testf): New.
49371         (libc_feupdateenv_testl): New.
49372         (libc_feresetround): New.
49373         (libc_feresetroundf): New.
49374         (libc_feresetroundl): New.
49375         (libc_fetestexcept_mips): New.
49376         (libc_fetestexcept): New.
49377         (libc_fetestexceptf): New.
49378         (libc_fetestexceptl): New.
49379         (HAVE_RM_CTX): New.
49380         (libc_feholdexcept_setround_mips_ctx): New.
49381         (libc_feholdexcept_setround_ctx): New.
49382         (libc_feholdexcept_setroundf_ctx): New.
49383         (libc_feholdexcept_setroundl_ctx): New.
49384         (libc_fesetenv_mips_ctx): New.
49385         (libc_fesetenv_ctx): New.
49386         (libc_fesetenv_ctxf): New.
49387         (libc_fesetenv_ctxl): New.
49388         (libc_feupdateenv_mips_ctx): New.
49389         (libc_feupdateenv_ctx): New.
49390         (libc_feupdateenvf_ctx): New.
49391         (libc_feupdateenvl_ctx): New.
49392         (libc_feholdsetround_mips_ctx): New.
49393         (libc_feholdsetround_ctx): New.
49394         (libc_feholdsetroundf_ctx): New.
49395         (libc_feholdsetroundl_ctx): New.
49396         (libc_feresetround_mips_ctx): New.
49397         (libc_feresetround_ctx): New.
49398         (libc_feresetroundf_ctx): New.
49399         (libc_feresetroundl_ctx): New.
49401 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49403         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49405         * manual/ipc.texi: New file.
49406         * manual/Makefile (chapters): Add ipc.
49407         * manual/job.texi: Add "Inter-Process Communication" to next.
49408         * manual/process.texi: Add "Inter-Process Communication" to prev.
49410 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49414 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49416         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49418         * manual/arith.texi: Fix spaces after sentences.
49419         * manual/charset.texi: Likewise.
49420         * manual/errno.texi: Likewise.
49421         * manual/install.texi: Likewise.
49422         * manual/llio.texi: Likewise.
49423         * manual/locale.texi: Likewise.
49424         * manual/maint.texi: Likewise.
49425         * manual/math.texi: Likewise.
49426         * manual/memory.texi: Likewise.
49427         * manual/message.texi: Likewise.
49428         * manual/probes.texi: Likewise.
49429         * manual/resource.texi: Likewise.
49430         * manual/signal.texi: Likewise.
49431         * manual/socket.texi: Likewise.
49432         * manual/stdio.texi: Likewise.
49433         * manual/string.texi: Likewise.
49434         * manual/time.texi: Likewise.
49435         * manual/users.texi: Likewise.
49437 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49439         [BZ #16632]
49440         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49441         _DEFAULT_SOURCE is defined.
49443 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49444             Carlos O'Donell  <carlos@redhat.com>
49446         [BZ #16613]
49447         * elf/dl-tls.c (_dl_count_modids): New function.
49448         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49449         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49450         audit library and increment generation counter.
49451         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49452         * elf/tst-audit9.c: New file.
49453         * elf/tst-auditmod9a.c: New file.
49454         * elf/tst-auditmod9b.c: New file.
49455         * elf/Makefile: Add rules to build and run tst-audit9.
49457 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49459         [BZ #15347]
49460         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49462 2014-02-25  Will Newton  <will.newton@linaro.org>
49464         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49465         (__longjmp): Restore sp and lr before restoring callee
49466         saved registers.  Add longjmp and longjmp_target
49467         SystemTap probe point.
49468         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49469         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49470         Define to zero to match jmpbuf layout.
49471         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49472         (__sigsetjmp): Save sp and lr before saving callee
49473         saved registers.  Add setjmp SystemTap probe point.
49475 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49477         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49479 2014-02-24  Andreas Schwab  <schwab@suse.de>
49481         [BZ #15804]
49482         * elf/pldd.c (wait_for_ptrace_stop): New function.
49483         (main): Call it after attaching.
49485 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49487         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49488         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49489         Versions files is now verboten.
49490         * hurd/Versions (libc: GLIBC_2.0):
49491         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49492         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49493         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49494         * mach/Versions: Likewise.
49496         * csu/Versions: Remove unused %include.
49497         * resolv/Versions: Likewise.
49499 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49501         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49502         ($(objpfx)check-local-headers.out): Likewise.
49503         ($(objpfx)begin-end-check.out): Likewise.
49504         * Makerules (check-abi-%.out): Likewise.
49505         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49506         ($(objpfx)test2.cat): Likewise.
49507         ($(objpfx)de/libc.cat): Likewise.
49508         ($(objpfx)test-gencat.out): Likewise.
49509         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49510         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49511         ($(objpfx)noload-mem): Likewise.
49512         ($(objpfx)tst-pathopt.out): Likewise.
49513         ($(objpfx)tst-rtld-load-self.out): Likewise.
49514         ($(objpfx)tst-array1-cmp.out): Likewise.
49515         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49516         ($(objpfx)tst-array2-cmp.out): Likewise.
49517         ($(objpfx)tst-array3-cmp.out): Likewise.
49518         ($(objpfx)tst-array4-cmp.out): Likewise.
49519         ($(objpfx)tst-array5-cmp.out): Likewise.
49520         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49521         ($(objpfx)check-textrel.out): Likewise.
49522         ($(objpfx)check-execstack.out): Likewise.
49523         ($(objpfx)check-localplt.out): Likewise.
49524         ($(objpfx)order2-cmp.out): Likewise.
49525         ($(objpfx)tst-leaks1-mem): Likewise.
49526         ($(objpfx)tst-leaks1-static-mem): Likewise.
49527         ($(objpfx)tst-initorder-cmp.out): Likewise.
49528         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49529         ($(objpfx)tst-unused-dep.out): Likewise.
49530         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49531         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49532         * iconv/Makefile (test-iconvconfig): Likewise.
49533         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49534         ($(objpfx)iconv-test.out): Likewise.
49535         ($(objpfx)tst-tables.out): Likewise.
49536         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49537         ($(objpfx)tst-gettext.out): Likewise.
49538         ($(objpfx)tst-translit.out): Likewise.
49539         ($(objpfx)tst-gettext2.out): Likewise.
49540         ($(objpfx)tst-gettext4.out): Likewise.
49541         ($(objpfx)tst-gettext6.out): Likewise.
49542         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49543         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49544         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49545         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49546         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49547         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49548         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49549         ($(objpfx)wordexp-tst.out): Likewise.
49550         ($(objpfx)annexc.out): Likewise.
49551         ($(objpfx)tst-fnmatch-mem): Likewise.
49552         ($(objpfx)bug-regex2-mem): Likewise.
49553         ($(objpfx)bug-regex14-mem): Likewise.
49554         ($(objpfx)bug-regex21-mem): Likewise.
49555         ($(objpfx)bug-regex31-mem): Likewise.
49556         ($(objpfx)tst-vfork3-mem): Likewise.
49557         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49558         ($(objpfx)tst-pcre-mem): Likewise.
49559         ($(objpfx)tst-boost-mem): Likewise.
49560         ($(objpfx)tst-getconf.out): Likewise.
49561         ($(objpfx)bug-ga2-mem): Likewise.
49562         ($(objpfx)bug-glob2-mem): Likewise.
49563         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49564         ($(objpfx)mtrace-tst-leaks2): Likewise.
49565         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49566         ($(objpfx)tst-printf.out): Likewise.
49567         ($(objpfx)tst-setvbuf1.out): Likewise.
49568         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49569         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49570         ($(objpfx)tst-fmtmsg.out): Likewise.
49571         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49572         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49574         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49575         * bits/sigaction.h [__USE_MISC]: Likewise.
49576         * bits/waitstatus.h: Update #endif comments.
49577         * ctype/ctype.h: Likewise.
49578         * dirent/dirent.h: Likewise.
49579         [__USE_MISC]: Remove redundant conditionals.
49580         * grp/grp.h: Update #endif comments.
49581         [__USE_GNU]: Remove redundant conditionals.
49582         [__USE_MISC]: Likewise.
49583         * inet/netinet/in.h [__USE_GNU]: Likewise.
49584         * io/sys/stat.h [__USE_MISC]: Likewise.
49585         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49586         * libio/bits/stdio.h: Update #endif comments.
49587         [__USE_MISC]: Remove redundant conditionals.
49588         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49589         * libio/stdio.h: Update #endif comments.
49590         [__USE_MISC]: Remove redundant conditionals.
49591         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49592         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49593         * math/math.h: Update #else and #endif comments.
49594         [__USE_MISC]: Remove redundant conditionals.
49595         * misc/sys/uio.h: Update #endif comments.
49596         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49597         * posix/glob.h [__USE_MISC]: Likewise.
49598         * posix/sys/types.h: Update #endif comments.
49599         [__USE_MISC]: Remove redundant conditionals.
49600         * posix/sys/wait.h: Update #endif comments.
49601         [__USE_MISC]: Remove redundant conditionals.
49602         * posix/unistd.h: Update #endif comments.
49603         [__USE_MISC]: Remove redundant conditionals.
49604         * pwd/pwd.h [__USE_GNU]: Likewise.
49605         [__USE_MISC]: Likewise.
49606         * resolv/netdb.h [__USE_GNU]: Likewise.
49607         * signal/signal.h: Update #endif comments.
49608         [__USE_MISC]: Remove redundant conditionals.
49609         * stdlib/stdlib.h: Update #else and #endif comments.
49610         [__USE_MISC]: Remove redundant conditionals.
49611         [__USE_GNU]: Likewise.
49612         * string/bits/string2.h [__USE_MISC]: Likewise.
49613         * string/string.h: Update #endif comments.
49614         [__USE_MISC]: Remove redundant conditionals.
49615         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49616         Likewise.
49617         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49618         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49619         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49620         Likewise.
49621         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49622         Likewise.
49623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49624         comments.
49625         [__USE_MISC]: Remove redundant conditionals.
49626         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49627         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49628         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49629         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49630         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49631         Likewise.
49632         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49633         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49634         Likewise.
49635         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49636         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49637         Likewise.
49638         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49639         Likewise.
49640         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49641         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49642         Likewise.
49643         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49644         Likewise.
49645         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49646         * sysdeps/x86/bits/string.h: Update #endif comments.
49647         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49648         conditionals.
49649         * time/sys/time.h: Update #endif comments.
49650         * time/time.h: Likewise.
49651         [__USE_MISC]: Remove redundant conditionals.
49653 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49655         [BZ #16600]
49656         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49658 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49660         * Versions.def (librt): Add GLIBC_2.17.
49662 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49664         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49665         synonym for _SYS_AUXV_H to allow direct inclusion.
49666         * sysdeps/sparc/bits/hwcap.h: Likewise.
49667         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49668         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49669         * sysdeps/sparc/sysdep.h: Likewise.
49671 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49673         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49675 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49677         * benchtests/bench-strrchr.c: Print length instead of position.
49679 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49681         [BZ #16611]
49682         * sysdeps/unix/sysv/linux/kernel-features.h
49683         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49684         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49685         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49686         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49687         Likewise.
49688         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49689         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49690         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49691         (__ASSUME_SENDMMSG): Define instead of using previous
49692         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49693         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49694         (__ASSUME_SENDMMSG_SYSCALL): Define.
49695         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49696         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49697         Likewise.
49698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49700         Likewise.
49701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49702         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49703         Likewise.
49704         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49705         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49706         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49707         [__ASSUME_SENDMMSG]: Change conditionals to
49708         [__ASSUME_SENDMMSG_SOCKETCALL].
49709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49710         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49711         Define.
49712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49713         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49714         Likewise.
49715         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49716         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49717         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49718         [!__ASSUME_SENDMMSG]: Change conditional to
49719         [!__ASSUME_SENDMMSG_SOCKETCALL].
49720         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49721         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49722         Define.
49724         [BZ #16610]
49725         * sysdeps/unix/sysv/linux/kernel-features.h
49726         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49727         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49728         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49729         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49730         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49731         [__i386__ || __sparc__]
49732         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49733         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49734         (__ASSUME_RECVMMSG): Define instead of using previous
49735         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49736         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49737         (__ASSUME_RECVMMSG_SYSCALL): Define.
49738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49740         Likewise.
49741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49742         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49743         Likewise.
49744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49746         Likewise.
49747         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49748         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49749         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49750         [__ASSUME_RECVMMSG]: Change condition to
49751         [__ASSUME_RECVMMSG_SOCKETCALL].
49752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49754         Define.
49755         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49757         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49758         Likewise.
49759         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49760         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49761         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49762         [!__ASSUME_RECVMMSG]: Change condition to
49763         [!__ASSUME_RECVMMSG_SOCKETCALL].
49764         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49765         (__ASSUME_RECVMMSG_SYSCALL): Define.
49767         [BZ #16609]
49768         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49769         __powerpc__ || __s390__ || __sh__ || __sparc__]
49770         (__ASSUME_SOCKETCALL): Define.
49771         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49772         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49773         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49774         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49775         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49776         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49777         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49778         (__ASSUME_ACCEPT4): Define instead of using previous
49779         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49780         __powerpc__ || __sparc__ || __s390__)] condition.
49781         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49782         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49783         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49784         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49785         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49786         [!__ASSUME_ACCEPT4]: Change condition to
49787         [!__ASSUME_ACCEPT4_SOCKETCALL].
49788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49789         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49790         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49791         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49792         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49793         __ASSUME_ACCEPT4_SYSCALL.
49794         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49795         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49796         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49797         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49798         __ASSUME_ACCEPT4_SYSCALL.
49799         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49800         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49801         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49802         [__ASSUME_ACCEPT4]: Change condition to
49803         [__ASSUME_ACCEPT4_SOCKETCALL].
49804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49805         (__ASSUME_SOCKETCALL): Define.
49806         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49808         (__ASSUME_SOCKETCALL): Define.
49809         (__ASSUME_ACCEPT4): Remove.
49810         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49811         Define.
49812         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49813         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49814         Likewise.
49815         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49816         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49818         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49819         macro.
49820         (HWCAP_ARM_LPAE): Likewise.
49821         (HWCAP_ARM_EVTSTRM): Likewise.
49822         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49823         Add vpfd32, lpae and evtstrm.
49824         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49825         Increase to 22.
49827 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49829         * math/auto-libm-test-in: Add tests of clog10.
49830         * math/auto-libm-test-out: Regenerated.
49831         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49832         * sysdeps/i386/fpu/libm-test-ulps: Update.
49833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49835 2014-02-18  Andreas Schwab  <schwab@suse.de>
49837         [BZ #16574]
49838         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49839         Store non-zero if the second buffer was newly allocated.
49840         (send_dg): Likewise.
49841         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49842         to send_vc and send_dg.
49843         (res_nsend): Pass NULL for ansp2_malloced.
49844         * resolv/res_query.c (__libc_res_nquery): Add parameter
49845         answerp2_malloced and pass it down to __libc_res_nsend.
49846         (res_nquery): Pass additional NULL to __libc_res_nquery.
49847         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49848         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49849         second answer buffer if answerp2_malloced was set.
49850         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49851         (__libc_res_nquerydomain): Add parameter
49852         answerp2_malloced and pass it down to __libc_res_nquery.
49853         (res_nquerydomain): Pass additional NULL to
49854         __libc_res_nquerydomain.
49855         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49856         additional NULL to __libc_res_nsend and __libc_res_nquery.
49857         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49858         additional NULL to __libc_res_nsearch.
49859         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49860         parameter of __libc_res_nsearch to check for separately allocated
49861         second buffer.
49862         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49863         __libc_res_nquery.
49864         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49865         additional NULL to __libc_res_nquery.
49866         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49867         __libc_res_nsearch.
49868         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49869         * include/resolv.h: Update prototypes of __libc_res_nquery,
49870         __libc_res_nsearch, __libc_res_nsend.
49872 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49874         * math/auto-libm-test-in: Add tests of fma.
49875         * math/auto-libm-test-out: Regenerated.
49876         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49877         (fma_towardzero_test_data): Likewise.
49878         (fma_downward_test_data): Likewise.
49879         (fma_upward_test_data): Likewise.
49880         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49881         mpc_mode.
49882         (rounding_modes): Add values for new field.
49883         (func_calc_method): Add value mpfr_fff_f.
49884         (func_calc_desc): Add mpfr_fff_f union field.
49885         (test_function): Add field exact_args.
49886         (FUNC): Add macro argument EXACT_ARGS.
49887         (FUNC_mpfr_f_f): Update call to FUNC.
49888         (FUNC_mpfr_f_f): Likewise.
49889         (FUNC_mpfr_ff_f): Likewise.
49890         (FUNC_mpfr_if_f): Likewise.
49891         (FUNC_mpc_c_f): Likewise.
49892         (FUNC_mpc_c_c): Likewise.
49893         (test_functions): Add fma.  Update calls to FUNC.
49894         (handle_input_arg): Add argument exact_args.
49895         (add_test): Update call to handle_input_arg.
49896         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49897         (output_for_one_input_case): Update call to calc_generic_results.
49898         Recalculate exact zero results in each rounding mode.
49900         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49901         non-negative before setting low bit.
49902         * math/auto-libm-test-in: Mark one asin test possibly having
49903         spurious underflow.
49904         * math/auto-libm-test-out: Regenerated.
49905         * sysdeps/i386/fpu/libm-test-ulps: Update.
49906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49908 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49910         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49911         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49912         ports/sysdeps/unix/sysv/linux/microblaze.
49913         * README: Add missing listing for microblaze*-*-linux-gnu.
49915 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49918         duplicate code
49920 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49922         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49923         * sysdeps/unix/sysv/linux/ia64: Move directory from
49924         ports/sysdeps/unix/sysv/linux/ia64.
49925         * README: Update listing for ia64-*-linux-gnu.
49927 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49928             Joseph Myers  <joseph@codesourcery.com>
49930         * Makeconfig (test-name): New variable.
49931         (evaluate-test): Likewise.
49932         * Makerules (do-test-clean): Remove .test-result files.
49933         (common-mostlyclean): Likewise.
49934         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49935         * scripts/evaluate-test.sh: New file.
49937 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49939         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49940         separate $(objpfx)tst-fopenloc-cmp.out and
49941         $(objpfx)tst-fopenloc-mem.out targets.
49942         (tests): Update dependencies.
49943         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49944         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49945         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49946         (tst-rxspencer-no-utf8-ARGS): New variable.
49947         (tst-rxspencer-no-utf8-ENV): Likewise.
49948         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49949         instead of $(objpfx)tst-rxspencer-mem.
49950         ($(objpfx)tst-rxspencer-mem): Change target to
49951         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49952         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49953         * posix/tst-rxspencer-no-utf8.c: New file.
49955         * elf/Makefile ($(objpfx)order.out): Remove rule.
49956         [$(run-built-tests) = yes] (tests): Depend on
49957         $(objpfx)order-cmp.out.
49958         ($(objpfx)order-cmp.out): New rule.
49959         [$(run-built-tests) = yes] (tests): Depend on
49960         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49961         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49962         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49963         $(objpfx)tst-array5-static-cmp.out.
49964         ($(objpfx)tst-array1.out): Remove rule.
49965         ($(objpfx)tst-array1-cmp.out): New rule.
49966         ($(objpfx)tst-array1-static.out): Remove rule.
49967         ($(objpfx)tst-array1-static-cmp.out): New rule.
49968         ($(objpfx)tst-array2.out): Remove rule.
49969         ($(objpfx)tst-array2-cmp.out): New rule.
49970         ($(objpfx)tst-array3.out): Remove rule.
49971         ($(objpfx)tst-array3-cmp.out): New rule.
49972         ($(objpfx)tst-array4.out): Remove rule.
49973         ($(objpfx)tst-array4-cmp.out): New rule.
49974         ($(objpfx)tst-array5.out): Remove rule.
49975         ($(objpfx)tst-array5-cmp.out): New rule.
49976         ($(objpfx)tst-array5-static.out): Remove rule.
49977         ($(objpfx)tst-array5-static-cmp.out): New rule.
49978         [$(run-built-tests) = yes] (tests): Depend on
49979         $(objpfx)order2-cmp.out.
49980         ($(objpfx)order2.out): Remove rule.
49981         ($(objpfx)order2-cmp.out): New rule.
49982         ($(objpfx)tst-initorder.out): Remove rule.
49983         [$(run-built-tests) = yes] (tests): Depend on
49984         $(objpfx)tst-initorder-cmp.out.
49985         ($(objpfx)tst-initorder-cmp.out): New rule.
49986         ($(objpfx)tst-initorder2.out): Remove rule.
49987         [$(run-built-tests) = yes] (tests): Depend on
49988         $(objpfx)tst-initorder2-cmp.out.
49989         ($(objpfx)tst-initorder2-cmp.out): New rule.
49990         [$(run-built-tests) = yes] (tests): Depend on
49991         $(objpfx)tst-unused-dep-cmp.out.
49992         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49993         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49994         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49995         on $(objpfx)tst-setvbuf1-cmp.out.
49996         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49997         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49998         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49999         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50000         ($(objpfx)tst-svc.out): Remove rule.
50001         ($(objpfx)tst-svc-cmp.out): New rule.
50003 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50005         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50006         * ctype/ctype.h [__USE_MISC]: Likewise.
50007         * dirent/dirent.h [__USE_MISC]: Likewise.
50008         * grp/grp.h [__USE_MISC]: Likewise.
50009         * io/fcntl.h [__USE_MISC]: Likewise.
50010         * io/sys/stat.h [__USE_MISC]: Likewise.
50011         * libio/stdio.h [__USE_MISC]: Likewise.
50012         * posix/unistd.h [__USE_MISC]: Likewise.
50013         * pwd/pwd.h [__USE_MISC]: Likewise.
50014         * stdlib.h [__USE_MISC]: Likewise.
50015         * string/bits/string2.h [__USE_MISC]: Likewise.
50016         * string/string.h [__USE_MISC]: Likewise.
50017         * time/time.h [__USE_MISC]: Likewise.
50019 2014-02-13  Andreas Schwab  <schwab@suse.de>
50021         [BZ #16574]
50022         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50023         second answer buffer if it was separately allocated.
50025 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50027         * sysdeps/mips/math-tests.h: Include <features.h>.
50028         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50029         (ROUNDING_TESTS_long_double): Do not define.
50030         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50031         (EXCEPTION_TESTS_long_double): Likewise.
50032         * sysdeps/mips/mips64/libm-test-ulps: Update.
50034         * include/features.h (__USE_BSD): Remove macro definitions.
50035         (__USE_SVID): Likewise.
50036         (_BSD_SOURCE): Likewise.
50037         (_SVID_SOURCE): Likewise.
50038         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50039         from definition of _DEFAULT_SOURCE.
50040         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50041         [_DEFAULT_SOURCE].
50042         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50043         * bits/mman.h [__USE_BSD]: Likewise.
50044         * bits/termios.h [__USE_BSD]: Likewise.
50045         * bits/waitstatus.h [__USE_BSD]: Likewise.
50046         * ctype/ctype.h [__USE_SVID]: Likewise.
50047         * dirent/dirent.h [__USE_BSD]: Likewise.
50048         * grp/grp.h [__USE_SVID]: Likewise.
50049         [__USE_BSD]: Likewise.
50050         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50051         * io/fcntl.h [__USE_BSD]: Likewise.
50052         * io/ftw.h [__USE_BSD]: Likewise.
50053         * io/sys/stat.h [__USE_BSD]: Likewise.
50054         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50055         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50056         * libio/stdio.h [__USE_SVID]: Likewise.
50057         [__USE_BSD]: Likewise.
50058         * math/math.h [__USE_SVID]: Likewise.
50059         [__USE_BSD]: Likewise.
50060         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50061         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50062         * misc/search.h [__USE_SVID]: Likewise.
50063         * misc/sys/mman.h [__USE_BSD]: Likewise.
50064         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50065         * misc/sys/uio.h [__USE_BSD]: Likewise.
50066         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50067         * posix/glob.h [__USE_BSD]: Likewise.
50068         * posix/regex.h [__USE_BSD]: Likewise.
50069         * posix/sys/types.h [__USE_BSD]: Likewise.
50070         [__USE_SVID]: Likewise.
50071         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50072         * posix/sys/wait.h [__USE_BSD]: Likewise.
50073         [__USE_SVID]: Likewise.
50074         * posix/unistd.h [__USE_BSD]: Likewise.
50075         [__USE_SVID]: Likewise.
50076         * pwd/pwd.h [__USE_SVID]: Likewise.
50077         * resolv/netdb.h [__USE_BSD]: Likewise.
50078         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50079         * signal/signal.h [__USE_BSD]: Likewise.
50080         [__USE_SVID]: Likewise.
50081         * socket/sys/socket.h [__USE_BSD]: Likewise.
50082         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50083         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50084         [__USE_SVID]: Likewise.
50085         * string/bits/string2.h [__USE_BSD]: Likewise.
50086         [__USE_SVID]: Likewise.
50087         * string/bits/string3.h [__USE_BSD]: Likewise.
50088         * string/endian.h [__USE_BSD]: Likewise.
50089         * string/string.h [__USE_SVID]: Likewise.
50090         [__USE_BSD]: Likewise.
50091         * string/strings.h [__USE_BSD]: Likewise.
50092         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50093         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50094         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50095         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50096         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50097         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50098         Likewise.
50099         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50100         Likewise.
50101         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50102         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50103         Likewise.
50104         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50105         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50106         Likewise.
50107         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50108         Likewise.
50109         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50110         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50111         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50112         Likewise.
50113         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50114         Likewise.
50115         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50116         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50117         * termios/termios.h [__USE_BSD]: Likewise.
50118         * time/sys/time.h [__USE_BSD]: Likewise.
50119         * time/time.h [__USE_BSD]: Likewise.
50120         [__USE_SVID]: Likewise.
50122         * Makefile (subdir_targets): Remove subdir_lint.out.
50124         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50125         (do-tst-printf): Likewise.
50126         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50127         $(objpfx)tst-printf.out.
50129         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50131         * Makerules (check-abi-%): Change target to
50132         $(objpfx)check-abi-%.out.
50133         (check-abi target): Update dependencies.
50134         (check-abi-pattern variable): Redirect output of diff to $@.
50135         (check-abi variable): Likewise.
50136         * elf/Makefile (check-abi): Update dependencies.
50138         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50139         unused.
50140         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50141         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50142         subnormal range.
50143         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50144         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50145         value has largest subnormal exponent.
50146         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50147         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50148         * sysdeps/aarch64/soft-fp/sfp-machine.h
50149         (_FP_TININESS_AFTER_ROUNDING): New macro.
50150         * sysdeps/alpha/soft-fp/sfp-machine.h
50151         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50152         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50153         Likewise.
50154         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50155         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50156         * sysdeps/mips/soft-fp/sfp-machine.h
50157         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50158         * sysdeps/powerpc/soft-fp/sfp-machine.h
50159         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50160         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50161         Likewise.
50162         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50163         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50164         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50165         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50166         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50167         Likewise.
50169 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50171         [BZ #16545]
50172         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50173         model 1.
50175 2014-02-12  Richard Henderson  <rth@redhat.com>
50177         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50178         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50179         * sysdeps/unix/sysv/linux/alpha: Move directory from
50180         ports/sysdeps/unix/sysv/linux/alpha.
50181         * README: Update listing for alpha-*-linux-gnu.
50183 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50185         * include/features.h: Update comment documenting feature test
50186         macros.
50187         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50188         _DEFAULT_SOURCE.
50189         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50190         (_SVID_SOURCE): Likewise.
50191         (_DEFAULT_SOURCE): Update description of default features.
50192         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50193         with _GNU_SOURCE.
50194         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50195         (S_ISVTX): Likewise.
50196         * manual/math.texi (Mathematical Constants): Likewise.
50197         * manual/signal.texi (Interrupted Primitives): Likewise.
50198         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50199         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50200         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50201         Don't refer to _SVID_SOURCE in warning text.
50203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50205         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50206         already defined.
50207         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50208         * sysdeps/mips/dl-lookup.c: Remove.
50209         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50211 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50213         [BZ #16447]
50214         * math/auto-libm-test-in: Add testcase for expl.
50215         * math/auto-libm-test-out: Regenerate.
50216         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50217         calculation of unsafe.
50218         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50220 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50222         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50223         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50224         ports/sysdeps/unix/sysv/linux/aarch64.
50225         * README: Update listing for aarch64*-*-linux-gnu.
50227 2014-02-11  Will Newton  <will.newton@linaro.org>
50229         * manual/probes.texi (Mathematical Function Probes): Use
50230         "triggered" instead of "hit".
50232         * manual/probes.texi (Internal Probes): Add documentation
50233         of setjmp, longjmp and longjmp_target probes.
50235         * include/stap-probe.h: Add comment about probe argument
50236         format.
50238         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50239         definition.  (tr_where, tr_freehook, tr_mallochook,
50240         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50242 2014-02-11  David S. Miller  <davem@davemloft.net>
50244         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50245         processing int_tests.
50247 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50249         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50250         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50251         * sysdeps/unix/sysv/linux/mips: Move directory from
50252         ports/sysdeps/unix/sysv/linux/mips.
50253         * README: Update listing for mips-*-linux-gnu and
50254         mips64-*-linux-gnu.
50256 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50258         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50259         * sysdeps/unix/sysv/linux/m68k: Move directory from
50260         ports/sysdeps/unix/sysv/linux/m68k.
50261         * README: Update listing for m68k-*-linux-gnu.
50263 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50265         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50266         * sysdeps/unix/sysv/linux/generic: Move directory from
50267         ports/sysdeps/unix/sysv/linux/generic.
50268         * sysdeps/unix/sysv/linux/tile: Move directory from
50269         ports/sysdeps/unix/sysv/linux/tile.
50270         * README: Update listing for tile*-*-linux-gnu.
50272 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50274         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50275         __builtin_expect.
50276         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50277         * catgets/open_catalog.c (__open_catalog): Likewise.
50278         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50279         * debug/confstr_chk.c: Likewise.
50280         * debug/fread_chk.c (__fread_chk): Likewise.
50281         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50282         * debug/getgroups_chk.c: Likewise.
50283         * debug/mbsnrtowcs_chk.c: Likewise.
50284         * debug/mbsrtowcs_chk.c: Likewise.
50285         * debug/mbstowcs_chk.c: Likewise.
50286         * debug/memcpy_chk.c: Likewise.
50287         * debug/memmove_chk.c: Likewise.
50288         * debug/mempcpy_chk.c: Likewise.
50289         * debug/memset_chk.c: Likewise.
50290         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50291         * debug/strcat_chk.c (__strcat_chk): Likewise.
50292         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50293         * debug/strncat_chk.c (__strncat_chk): Likewise.
50294         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50295         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50296         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50297         * debug/wcpncpy_chk.c: Likewise.
50298         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50299         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50300         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50301         * debug/wcsncpy_chk.c: Likewise.
50302         * debug/wcsnrtombs_chk.c: Likewise.
50303         * debug/wcsrtombs_chk.c: Likewise.
50304         * debug/wcstombs_chk.c: Likewise.
50305         * debug/wmemcpy_chk.c: Likewise.
50306         * debug/wmemmove_chk.c: Likewise.
50307         * debug/wmempcpy_chk.c: Likewise.
50308         * debug/wmemset_chk.c: Likewise.
50309         * dirent/scandirat.c (SCANDIRAT): Likewise.
50310         * dlfcn/dladdr1.c (dladdr1): Likewise.
50311         * dlfcn/dladdr.c (dladdr): Likewise.
50312         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50313         * dlfcn/dlerror.c (__dlerror): Likewise.
50314         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50315         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50316         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50317         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50318         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50319         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50320         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50321         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50322         Likewise.
50323         * elf/dl-conflict.c: Likewise.
50324         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50325         * elf/dl-dst.h: Likewise.
50326         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50327         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50328         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50329         * elf/dl-init.c (call_init, _dl_init): Likewise.
50330         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50331         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50332         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50333         Likewise.
50334         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50335         Likewise.
50336         * elf/dl-minimal.c (__libc_memalign): Likewise.
50337         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50338         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50339         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50340         * elf/dl-sym.c (do_sym): Likewise.
50341         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50342         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50343         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50344         * elf/dl-writev.h (_dl_writev): Likewise.
50345         * elf/ldconfig.c (search_dir): Likewise.
50346         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50347         (dl_main): Likewise.
50348         * elf/setup-vdso.h (setup_vdso): Likewise.
50349         * grp/compat-initgroups.c (compat_call): Likewise.
50350         * grp/fgetgrent.c (fgetgrent): Likewise.
50351         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50352         * grp/putgrent.c (putgrent): Likewise.
50353         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50354         Likewise.
50355         * hurd/hurdinit.c: Likewise.
50356         * iconvdata/8bit-gap.c (struct): Likewise.
50357         * iconvdata/ansi_x3.110.c : Likewise.
50358         * iconvdata/big5.c : Likewise.
50359         * iconvdata/big5hkscs.c : Likewise.
50360         * iconvdata/cp1255.c: Likewise.
50361         * iconvdata/cp1258.c : Likewise.
50362         * iconvdata/cp932.c : Likewise.
50363         * iconvdata/euc-cn.c: Likewise.
50364         * iconvdata/euc-jisx0213.c : Likewise.
50365         * iconvdata/euc-jp.c: Likewise.
50366         * iconvdata/euc-jp-ms.c : Likewise.
50367         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50368         * iconvdata/gb18030.c : Likewise.
50369         * iconvdata/gbbig5.c (const): Likewise.
50370         * iconvdata/gbgbk.c: Likewise.
50371         * iconvdata/gbk.c : Likewise.
50372         * iconvdata/ibm1364.c : Likewise.
50373         * iconvdata/ibm930.c : Likewise.
50374         * iconvdata/ibm932.c: Likewise.
50375         * iconvdata/ibm933.c : Likewise.
50376         * iconvdata/ibm935.c : Likewise.
50377         * iconvdata/ibm937.c : Likewise.
50378         * iconvdata/ibm939.c : Likewise.
50379         * iconvdata/ibm943.c: Likewise.
50380         * iconvdata/iso_11548-1.c: Likewise.
50381         * iconvdata/iso-2022-cn.c : Likewise.
50382         * iconvdata/iso-2022-cn-ext.c : Likewise.
50383         * iconvdata/iso-2022-jp-3.c: Likewise.
50384         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50385         * iconvdata/iso-2022-kr.c : Likewise.
50386         * iconvdata/iso646.c (gconv_end): Likewise.
50387         * iconvdata/iso_6937-2.c : Likewise.
50388         * iconvdata/iso_6937.c : Likewise.
50389         * iconvdata/iso8859-1.c: Likewise.
50390         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50391         * iconvdata/shift_jisx0213.c : Likewise.
50392         * iconvdata/sjis.c : Likewise.
50393         * iconvdata/t.61.c : Likewise.
50394         * iconvdata/tcvn5712-1.c : Likewise.
50395         * iconvdata/tscii.c: Likewise.
50396         * iconvdata/uhc.c : Likewise.
50397         * iconvdata/unicode.c (gconv_end): Likewise.
50398         * iconvdata/utf-16.c (gconv_end): Likewise.
50399         * iconvdata/utf-32.c (gconv_end): Likewise.
50400         * iconvdata/utf-7.c (base64): Likewise.
50401         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50402         * iconv/gconv_close.c (__gconv_close): Likewise.
50403         * iconv/gconv_open.c (__gconv_open): Likewise.
50404         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50405         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50406         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50407         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50408         (ucs4le_internal_loop_single): Likewise.
50409         * iconv/iconv.c (iconv): Likewise.
50410         * iconv/iconv_close.c: Likewise.
50411         * iconv/loop.c (SINGLE): Likewise.
50412         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50413         * include/atomic.h: Likewise.
50414         * inet/inet6_option.c (option_alloc): Likewise.
50415         * intl/bindtextdom.c (set_binding_values): Likewise.
50416         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50417         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50418         * intl/localealias.c (read_alias_file): Likewise.
50419         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50420         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50421         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50422         * libio/fmemopen.c (fmemopen): Likewise.
50423         * libio/iofgets.c (_IO_fgets): Likewise.
50424         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50425         * libio/iofgetws.c (fgetws): Likewise.
50426         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50427         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50428         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50429         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50430         * locale/findlocale.c (_nl_find_locale): Likewise.
50431         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50432         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50433         Likewise.
50434         * locale/setlocale.c (setlocale): Likewise.
50435         * login/programs/pt_chown.c (main): Likewise.
50436         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50437         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50438         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50439         (mmap, mmap64, mremap, munmap): Likewise.
50440         * math/e_exp2l.c: Likewise.
50441         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50442         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50443         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50444         * math/s_catan.c (__catan): Likewise.
50445         * math/s_catanf.c (__catanf): Likewise.
50446         * math/s_catanh.c (__catanh): Likewise.
50447         * math/s_catanhf.c (__catanhf): Likewise.
50448         * math/s_catanhl.c (__catanhl): Likewise.
50449         * math/s_catanl.c (__catanl): Likewise.
50450         * math/s_ccosh.c (__ccosh): Likewise.
50451         * math/s_ccoshf.c (__ccoshf): Likewise.
50452         * math/s_ccoshl.c (__ccoshl): Likewise.
50453         * math/s_cexp.c (__cexp): Likewise.
50454         * math/s_cexpf.c (__cexpf): Likewise.
50455         * math/s_cexpl.c (__cexpl): Likewise.
50456         * math/s_clog10.c (__clog10): Likewise.
50457         * math/s_clog10f.c (__clog10f): Likewise.
50458         * math/s_clog10l.c (__clog10l): Likewise.
50459         * math/s_clog.c (__clog): Likewise.
50460         * math/s_clogf.c (__clogf): Likewise.
50461         * math/s_clogl.c (__clogl): Likewise.
50462         * math/s_csin.c (__csin): Likewise.
50463         * math/s_csinf.c (__csinf): Likewise.
50464         * math/s_csinh.c (__csinh): Likewise.
50465         * math/s_csinhf.c (__csinhf): Likewise.
50466         * math/s_csinhl.c (__csinhl): Likewise.
50467         * math/s_csinl.c (__csinl): Likewise.
50468         * math/s_csqrt.c (__csqrt): Likewise.
50469         * math/s_csqrtf.c (__csqrtf): Likewise.
50470         * math/s_csqrtl.c (__csqrtl): Likewise.
50471         * math/s_ctan.c (__ctan): Likewise.
50472         * math/s_ctanf.c (__ctanf): Likewise.
50473         * math/s_ctanh.c (__ctanh): Likewise.
50474         * math/s_ctanhf.c (__ctanhf): Likewise.
50475         * math/s_ctanhl.c (__ctanhl): Likewise.
50476         * math/s_ctanl.c (__ctanl): Likewise.
50477         * math/w_pow.c: Likewise.
50478         * math/w_powf.c: Likewise.
50479         * math/w_powl.c: Likewise.
50480         * math/w_scalb.c (sysv_scalb): Likewise.
50481         * math/w_scalbf.c (sysv_scalbf): Likewise.
50482         * math/w_scalbl.c (sysv_scalbl): Likewise.
50483         * misc/error.c (error_tail): Likewise.
50484         * misc/pselect.c (__pselect): Likewise.
50485         * nis/nis_callback.c (__nis_create_callback): Likewise.
50486         * nis/nis_call.c (__nisfind_server): Likewise.
50487         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50488         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50489         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50490         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50491         * nis/nis_lookup.c (nis_lookup): Likewise.
50492         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50493         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50494         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50495         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50496         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50497         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50498         * nis/nss_compat/compat-initgroups.c (add_group)
50499         (internal_getgrent_r): Likewise.
50500         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50501         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50502         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50503         (internal_getspnam_r): Likewise.
50504         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50505         (_nss_nis_getaliasbyname_r): Likewise.
50506         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50507         (_nss_nis_getntohost_r): Likewise.
50508         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50509         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50510         (_nss_nis_getgrgid_r): Likewise.
50511         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50512         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50513         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50514         (_nss_nis_gethostbyname4_r): Likewise.
50515         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50516         (initgroups_netid): Likewise.
50517         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50518         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50519         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50520         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50521         (_nss_nis_getprotobynumber_r): Likewise.
50522         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50523         (_nss_nis_getsecretkey): Likewise.
50524         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50525         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50526         (_nss_nis_getpwuid_r): Likewise.
50527         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50528         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50529         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50530         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50531         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50532         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50533         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50534         Likewise.
50535         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50536         (_nss_nisplus_getntohost_r): Likewise.
50537         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50538         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50539         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50540         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50541         Likewise.
50542         * nis/nss_nisplus/nisplus-initgroups.c
50543         (_nss_nisplus_initgroups_dyn): Likewise.
50544         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50545         (_nss_nisplus_getnetbyaddr_r): Likewise.
50546         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50547         (_nss_nisplus_getprotobynumber_r): Likewise.
50548         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50549         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50550         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50551         Likewise.
50552         * nis/nss_nisplus/nisplus-service.c
50553         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50554         (_nss_nisplus_getservbyport_r): Likewise.
50555         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50556         (_nss_nisplus_getspnam_r): Likewise.
50557         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50558         Likewise.
50559         * nscd/aicache.c (addhstaiX): Likewise.
50560         * nscd/cache.c (cache_search, prune_cache): Likewise.
50561         * nscd/connections.c (register_traced_file, send_ro_fd)
50562         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50563         (main_loop_epoll): Likewise.
50564         * nscd/grpcache.c (addgrbyX): Likewise.
50565         * nscd/hstcache.c (addhstbyX): Likewise.
50566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50567         * nscd/mem.c (gc, mempool_alloc): Likewise.
50568         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50569         (addinnetgrX): Likewise.
50570         * nscd/nscd-client.h (__nscd_acquire_maplock)
50571         (__nscd_drop_map_ref): Likewise.
50572         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50573         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50574         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50575         Likewise.
50576         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50577         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50578         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50579         (__nscd_get_map_ref): Likewise.
50580         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50581         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50582         Likewise.
50583         * nscd/pwdcache.c (addpwbyX): Likewise.
50584         * nscd/selinux.c (preserve_capabilities): Likewise.
50585         * nscd/servicescache.c (addservbyX): Likewise.
50586         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50587         * posix/fnmatch.c (fnmatch): Likewise.
50588         * posix/getopt.c (_getopt_internal_r): Likewise.
50589         * posix/glob.c (glob, glob_in_dir): Likewise.
50590         * posix/wordexp.c (exec_comm_child): Likewise.
50591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50592         (getanswer_r, gaih_getanswer_slice): Likewise.
50593         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50594         * resolv/res_init.c: Likewise.
50595         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50596         * resolv/res_query.c (__libc_res_nquery): Likewise.
50597         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50598         Likewise.
50599         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50600         * stdio-common/perror.c (perror): Likewise.
50601         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50602         * stdio-common/tmpnam.c (tmpnam): Likewise.
50603         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50604         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50605         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50606         Likewise.
50607         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50608         * stdlib/putenv.c (putenv): Likewise.
50609         * stdlib/setenv.c (__add_to_environ): Likewise.
50610         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50611         * stdlib/strtol_l.c (INTERNAL): Likewise.
50612         * string/memmem.c (memmem): Likewise.
50613         * string/strerror.c (strerror): Likewise.
50614         * string/strnlen.c (__strnlen): Likewise.
50615         * string/test-memmem.c (simple_memmem): Likewise.
50616         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50617         * sunrpc/pm_getport.c (__get_socket): Likewise.
50618         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50619         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50620         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50621         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50622         Likewise.
50623         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50624         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50625         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50626         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50627         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50628         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50629         Likewise.
50630         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50631         Likewise.
50632         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50633         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50635         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50636         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50638         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50639         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50640         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50641         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50642         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50643         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50644         Likewise.
50645         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50646         Likewise.
50647         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50648         Likewise.
50649         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50650         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50651         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50652         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50653         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50654         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50655         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50656         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50658         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50659         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50661         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50662         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50664         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50665         Likewise.
50666         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50667         Likewise.
50668         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50669         Likewise.
50670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50671         Likewise.
50672         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50674         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50675         Likewise.
50676         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50677         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50678         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50679         * sysdeps/posix/sleep.c: Likewise.
50680         * sysdeps/posix/tempname.c: Likewise.
50681         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50682         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50683         Likewise.
50684         * sysdeps/powerpc/powerpc32/dl-machine.h
50685         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50686         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50688         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50689         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50690         Likewise.
50691         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50692         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50693         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50694         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50695         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50696         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50697         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50698         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50699         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50700         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50702         (elf_machine_lazy_rel): Likewise.
50703         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50705         (elf_machine_lazy_rel): Likewise.
50706         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50707         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50708         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50709         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50710         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50711         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50712         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50714         Likewise.
50715         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50716         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50717         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50718         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50719         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50720         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50721         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50722         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50723         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50724         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50725         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50726         Likewise.
50727         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50728         (__posix_fallocate64_l64): Likewise.
50729         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50730         (posix_fallocate): Likewise.
50731         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50732         Likewise.
50733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50734         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50735         (getifaddrs_internal): Likewise.
50736         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50737         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50738         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50739         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50740         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50741         (__posix_fallocate64_l64): Likewise.
50742         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50743         Likewise.
50744         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50746         (__get_clockfreq): Likewise.
50747         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50748         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50749         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50752         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50753         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50754         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50755         Likewise.
50756         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50757         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50758         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50760         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50761         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50762         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50763         Likewise.
50764         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50765         (posix_fallocate): Likewise.
50766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50767         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50768         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50769         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50770         (elf_machine_rela, elf_machine_rela_relative)
50771         (elf_machine_lazy_rel): Likewise.
50772         * time/asctime.c (asctime_internal): Likewise.
50773         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50774         * time/tzset.c (__tzset_parse_tz): Likewise.
50775         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50776         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50777         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50778         * wcsmbs/wcsmbsload.h: Likewise.
50780         [BZ #15894]
50781         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50783         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50784         (arena_get2): Remove THREAD_STATS conditionals.
50785         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50786         (__malloc_stats, int): Likewise.
50788 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50790         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50791         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50793         * manual/setjmp.texi: Fix typos/grammar errors.
50795         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50796         Only return early when n is <= 0.  Delete unused return statement.
50798         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50799         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50800         * debug/tst-longjmp_chk3.c: New file.
50802         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50803         (test_main): Replace code with set_fortify_handler call.
50804         * debug/test-strcpy_chk.c: Likewise.
50805         * debug/tst-chk1.c: Likewise.
50806         * debug/tst-longjmp_chk.c: Likewise.
50807         * test-skeleton.c: Include fcntl.h & paths.h
50808         (set_fortify_handler): Define.
50810         * debug/tst-longjmp_chk.c: Add header comment and include
50811         ../test-skeleton.c.
50812         (do_test): Mark static.
50813         (TEST_FUNCTION): Define.
50815         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50816         (IP_PMTUDISC_INTERFACE): Likewise.
50817         (IP_MULTICAST_IF): Likewise.
50818         (IP_MULTICAST_TTL): Likewise.
50819         (IP_MULTICAST_LOOP): Likewise.
50820         (IP_ADD_MEMBERSHIP): Likewise.
50821         (IP_DROP_MEMBERSHIP): Likewise.
50822         (IP_UNBLOCK_SOURCE): Likewise.
50823         (IP_BLOCK_SOURCE): Likewise.
50824         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50825         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50826         (IP_MSFILTER): Likewise.
50827         (MCAST_JOIN_GROUP): Likewise.
50828         (MCAST_BLOCK_SOURCE): Likewise.
50829         (MCAST_UNBLOCK_SOURCE): Likewise.
50830         (MCAST_LEAVE_GROUP): Likewise.
50831         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50832         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50833         (MCAST_MSFILTER): Likewise.
50834         (IP_MULTICAST_ALL): Likewise.
50835         (IP_UNICAST_IF): Likewise.
50837         * timezone/Makefile: Delete $(have-ksh) check.
50838         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50839         * timezone/tzselect.ksh: Add +x mode bits.
50841         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50842         (ANON_INODE_FS_MAGIC): Likewise.
50843         (BDEVFS_MAGIC): Likewise.
50844         (BINFMTFS_MAGIC): Likewise.
50845         (BTRFS_TEST_MAGIC): Likewise.
50846         (CRAMFS_MAGIC_WEND): Likewise.
50847         (DEBUGFS_MAGIC): Likewise.
50848         (ECRYPTFS_SUPER_MAGIC): Likewise.
50849         (EXT3_SUPER_MAGIC): Likewise.
50850         (EXT4_SUPER_MAGIC): Likewise.
50851         (FUTEXFS_SUPER_MAGIC): Likewise.
50852         (HOSTFS_SUPER_MAGIC): Likewise.
50853         (HUGETLBFS_MAGIC): Likewise.
50854         (MINIX3_SUPER_MAGIC): Likewise.
50855         (MTD_INODE_FS_MAGIC): Likewise.
50856         (NILFS_SUPER_MAGIC): Likewise.
50857         (OPENPROM_SUPER_MAGIC): Likewise.
50858         (PIPEFS_MAGIC): Likewise.
50859         (PSTOREFS_MAGIC): Likewise.
50860         (QNX6_SUPER_MAGIC): Likewise.
50861         (RAMFS_MAGIC): Likewise.
50862         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50863         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50864         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50865         (SECURITYFS_MAGIC): Likewise.
50866         (SELINUX_MAGIC): Likewise.
50867         (SMACK_MAGIC): Likewise.
50868         (SOCKFS_MAGIC): Likewise.
50869         (SQUASHFS_MAGIC): Likewise.
50870         (STACK_END_MAGIC): Likewise.
50871         (TMPFS_MAGIC): Likewise.
50872         (USBDEVICE_SUPER_MAGIC): Likewise.
50873         (V9FS_MAGIC): Likewise.
50874         (XENFS_SUPER_MAGIC): Likewise.
50875         (CRAMFS_MAGIC): Fix typo in comment.
50876         (EXT2_SUPER_MAGIC): Update comment.
50877         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50879 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50881         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50882         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50883         * sysdeps/unix/sysv/linux/arm: Move directory from
50884         ports/sysdeps/unix/sysv/linux/arm.
50885         * README: Update listing for arm-*-linux-gnueabi.
50887         * README: Remove mention of am33.
50889 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50891         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50892         than the comma operator, to avoid "rhs of comma has no effect"
50893         compiler warnings.
50894         (__sigfillset, __sigandset, __sigorset): Likewise.
50895         * include/signal.h (__sigemptyset): Likewise.
50896         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50898 2014-02-07  Allan McRae  <allan@archlinux.org>
50900         * version.h (RELEASE): Set to "development".
50901         (VERSION): Set to "2.19.90"
50902         * NEWS: Add 2.20 section.
50904 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50906         [BZ #16529]
50907         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50909 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50911         * manual/contrib.texi: Update entry for Carlos O'Donell,
50912         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50914 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50916         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50918         * sysdeps/unix/sysv/linux/kernel-features.h
50919         [__LINUX_KERNEL_VERSION >= 0x020621]
50920         (__ASSUME_PROC_PID_TASK_COMM): Define.
50922 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50924         [BZ #16398]
50925         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50926         conversion when destination buffer does not have enough space.
50927         * libio/tst-ftell-partial-wide.c: New test case.
50928         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50930         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50931         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50932         Leonard and Allan McRae.
50934 2014-02-04  David S. Miller  <davem@davemloft.net>
50936         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50937         32-bit.
50939 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50942         New file
50943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50944         New file
50945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50946         New file.
50947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50948         New file.
50949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50950         New file.
50951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50952         New file.
50953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50954         New file.
50955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50956         New file.
50957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50958         New file.
50959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50960         New file.
50961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50962         New file.
50963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50964         New file.
50965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50966         New file.
50968 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50970         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50971         * shlib-versions: Likewise.
50973 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50974             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50976         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50977         (abilist-pattern): New variable, set to %-le.abilist.
50979         * Makerules (abilist-pattern): New variable.
50980         (vpath): Use $(abilist-pattern) in place of %.abilist.
50981         (check-abi-% pattern rule): Likewise.
50982         (check-abi, update-abi): Likewise.
50984 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50988 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50990         * manual/startup.texi: Add next, previous, and top entries for
50991         the `Program Arguments' and `Environment Variables' nodes.
50993 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50995         * manual/macros.texi: Add comments before MTASC-safety macros.
50997         * manual/users.texi: Document MTASC-safety properties.
50999         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51000         (pthread_getspecific, pthread_setspecific): Format with
51001         @deftypefun, and add @safety note.
51002         * manual/signal.texi: Move comments that analyze the above
51003         functions to their home place.
51005 2014-02-03  Allan McRae  <allan@archlinux.org>
51007         * po/sl.po: Update Slovenian translation from translation project.
51009 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51011         * manual/time.texi (timegm): Add missing blank after @c.
51012         Reported by Joseph Myers <joseph@codesourcery.com>.
51014 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51016         * manual/check-safety.sh: New.
51017         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51019         * manual/terminal.texi: Document MTASC-safety properties.
51021         * manual/filesys.texi: Document MTASC-safety properties.
51023         * manual/errno.texi: Document MTASC-safety properties.
51025         * manual/intro.texi: Document safety identifiers and
51026         conditionals.
51028         * manual/string.texi (wcstok): Fix prototype.
51029         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51031         * manual/time.texi: Document MTASC-safety properties.
51033         * manual/string.texi: Document MTASC-safety properties.
51035         * manual/threads.texi: Document MTASC-safety properties.
51037         * manual/stdio.texi: Document MTASC-safety properties.
51039         * manual/syslog.texi: Document MTASC-safety properties.
51041         * manual/sysinfo.texi: Document MTASC-safety properties.
51043         * manual/startup.texi: Document MTASC-safety properties.
51045         * manual/socket.texi: Document MTASC-safety properties.
51047         * manual/signal.texi: Document MTASC-safety properties.
51049 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51051         * manual/setjmp.texi: Document MTASC-safety properties.
51053         * manual/search.texi: Document MTASC-safety properties.
51055         * manual/resource.texi: Document MTASC-safety properties.
51057         * manual/process.texi: Document MTASC-safety properties.
51059         * manual/platform.texi: Document MTASC-safety properties.
51061         * manual/pipe.texi: Document MTASC-safety properties.
51063         * manual/pattern.texi: Document MTASC-safety properties.
51065         * manual/message.texi: Document MTASC-safety properties.
51067         [BZ #12751]
51068         * manual/memory.texi: Document MTASC-safety properties.
51070         * manual/math.texi: Document MTASC-safety properties.
51072         * manual/locale.texi: Document MTASC-safety properties.
51074         * manual/llio.texi: Document MTASC-safety properties.
51076         * manual/libdl.texi: New.
51078         * manual/lang.texi: Document MTASC-safety properties.
51080         * manual/job.texi: Document MTASC-safety properties.
51082         * manual/getopt.texi: Document MTASC-safety properties.
51084         * manual/ctype.texi: Document MTASC-safety properties.
51086 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51088         [BZ #16046]
51089         * csu/libc-tls.c (static_map): Remove variable.
51090         (__libc_setup_tls): Use main executable's link map for TLS data.
51091         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51092         casing for LM_ID_BASE and GL(dl_nns).
51093         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51094         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51095         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51096         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51097         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51098         member.
51099         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51100         l_phnum members.
51102 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51104         * manual/debug.texi: Document MTASC-safety properties.
51106 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51108         [BZ #16510]
51109         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51110         of __x86_64__ when disabling x87 inline functions.
51112 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51114         * manual/charset.texi: Document MTASC-safety properties.
51116         * manual/crypt.texi: Document MTASC-safety properties.
51118         * manual/conf.texi: Document MTASC-safety properties.
51120         * manual/arith.texi: Document MTASC-safety properties.
51122         * manual/argp.texi: Document MTASC-safety properties.
51124         * manual/macros.texi: Introduce macros to document multi
51125         thread, asynchronous signal and asynchronous cancellation
51126         safety properties.
51127         * manual/intro.texi: Introduce the properties themselves.
51129 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51131         * sysdeps/sh/sh4/Makefile: New file.
51133 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51135         * math/gen-libm-test.pl ($srcdir): New variable.
51136         ($auto_input): Use it.
51138 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51140         [BZ #16506]
51141         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51142         access beyond array bounds when parsing netgroups file.
51144         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51145         the old buffer before realloc.
51147 2014-01-27  Allan McRae  <allan@archlinux.org>
51149         * po/fr.po: Update French translation from translation project.
51151 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51153         * sysdeps/sh/libm-test-ulps: Regenerate.
51155 2014-01-24  David S. Miller  <davem@davemloft.net>
51157         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51159 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51161         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51162         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51164 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51166         [BZ #16474]
51167         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51168         string pointers after reallocation.
51170 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51172         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51173         __SH4A__ instead of __SH_FPU_ANY__.
51175 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51177         * sysdeps/sh/fpu_control.h: New file.
51178         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51179         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51180         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51181         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51182         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51183         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51184         * sysdeps/sh/sys/ucontext.h: Remove.
51185         * sysdeps/sh/sys: Remove directory.
51187 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51189         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51190         s390/sys/ucontext.h.
51191         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51192         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51194 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51196         [BZ #15605]
51197         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51199 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51201         [BZ #16431]
51202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51203         Adjust the vDSO correctly for internal calls.
51204         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51206 2014-01-20  Allan McRae  <allan@archlinux.org>
51208         * po/ca.po: Update Catalan translation from translation project.
51210 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51212         * sysdeps/s390/sotruss-lib.c: New file.
51214 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51216         [BZ #16430]
51217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51218         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51219         local calls issues by not having a PLT stub required for IFUNC calls.
51220         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51222 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51224         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51225         * math/test-fpucw-static.c: Likewise.
51227 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51229         [BZ #16453]
51230         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51232 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51234         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51235         implementation for powerpc.
51237 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51239         [BZ #14782]
51240         * sysdeps/posix/system.c (__libc_system): Do not enable
51241         asynchronous cancellation.
51243 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51245         [BZ #16427]
51246         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51247         handling only for numbers special also in the IEEE case.
51249 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51253 2014-01-11  Allan McRae  <allan@archlinux.org>
51255         * po/bg.po: Update Bulgarian translation from translation project.
51257         * po/de.po: Update German translation from translation project.
51259 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51261         * sysdeps/generic/gcc-compat.h: New file.
51263 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51265         * benchtests/asin-inputs: Correct slow inputs.
51266         * benchtests/acos-inputs: Likewise.
51268 2014-01-10  Allan McRae  <allan@archlinux.org>
51270         * po:sv.po: Update Swedish translation from translation project.
51272         * po/vi.po: Update Vietnamese translation from translation project.
51274         * po/eo.po: Update Esperanto translation from translation project.
51276         * po/cs.po: Update Czech translation from translation project.
51278         * po/nl.po: Update Dutch translation from translation project.
51280         * po/pl.po: Update Polish translation from translation project.
51282         * po/ru.po: Update Russian translation from translation project.
51284         * po/uk.po: Update Ukrainian translation from translation project.
51286 2014-01-08  Brooks Moses  <bmoses@google.com>
51288         * elf/dl-load.c: Fix comment typo.
51290 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51292         * po/header.pot: Rename to...
51293         * po/pot.header: ... this.
51294         * po/Makefile: Use pot.header.
51296 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51297             Maxim Kuvyrkov  <maxim@kugelworks.com>
51299         [BZ #16394]
51300         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51301         SRC and DEST against LEN.
51303 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51305         [BZ #16414]
51306         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51307         implementation.
51308         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51310 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51314 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51316         [BZ #16408]
51317         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51318         for large positive arguments.
51320 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51322         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51324         * math/auto-libm-test-in: Mark various tests with
51325         xfail-rounding:ldbl-128ibm.
51326         * math/auto-libm-test-out: Regenerated.
51328         [BZ #16407]
51329         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51330         Increase overflow threshold.
51332 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51334         [BZ #14286]
51335         * stdio-common/vfprintf.c: Check for integer overflow.
51337 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51339         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51340         the first argument and return value of __tls_get_addr_internal.
51342 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51344         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51345         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51347 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51349         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51350         * sysdeps/s390/rtld-global-offsets.sym: New file.
51351         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51352         GLIBC_2.19 symbol.
51353         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51354         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51355         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51356         ... this.
51357         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51358         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51359         ... this.
51360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51361         Regenerate.
51362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51363         Regenerate.
51364         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51365         halfs of GPRs for high_gprs contexts.
51366         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51367         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51368         field.
51369         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51370         uc_flags field.
51371         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51372         64 bit versions:
51373         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51374         for high GPRs (uc_high_gprs) and for future extensions
51375         (__reserved).
51376         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51377         for future extensions (__reserved).
51378         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51379         64 bit versions:
51380         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51381         SC_HIGHGPRS offset definition.
51382         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51383         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51385         * Versions.def: Add GLIBC_2.19 for libpthread.
51386         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51387         siglongjmp for libpthread with GLIBC_2.19 symver.
51388         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51389         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51390         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51391         * sysdeps/s390/__longjmp.c: New file.
51392         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51393         * sysdeps/s390/longjmp.c: New file.
51394         * sysdeps/s390/setjmp.S: New file.
51395         * sysdeps/s390/sigjmp.S: New file.
51396         * sysdeps/s390/v1-longjmp.c: New file.
51397         * sysdeps/s390/v1-setjmp.h: New file.
51398         * sysdeps/s390/v1-sigjmp.c: New file.
51399         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51400         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51401         GLIBC_2.19 version.
51402         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51403         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51404         versioned symbols for ____longjmp_chk.
51405         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51406         Likewise.
51407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51408         Regenerate.
51409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51410         Regenerate.
51411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51412         Regenerate.
51413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51414         Regenerate.
51415         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51416         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51417         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51418         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51419         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51420         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51421         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51422         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51423         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51424         * sysdeps/s390/rtld-__longjmp.c: New file.
51425         * sysdeps/s390/rtld-setjmp.S: New file.
51427 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51429         [BZ #16400]
51430         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51431         Return -__logl (x) for small positive arguments without evaluating
51432         a polynomial.
51434 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51436         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51437         Rename to ...
51438         (__ptrace_peeksiginfo_args): ... this.
51439         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51440         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51443 2014-01-06  Allan McRae  <allan@archlinux.org>
51445         * inet/netinet/in.h: Fix typo in comment.
51447 2014-01-05  Andreas Jaeger  <aj@suse.de>
51449         * sysdeps/i386/fpu/libm-test-ulps: Update.
51451 2014-01-05  Allan McRae  <allan@archlinux.org>
51453         * po/libc.pot: Regenerated.
51455         * malloc/memusagestat.c: Fix gettext call formatting.
51457 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51459         * nscd/nscd.c: Improve usage() output.
51461 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51463         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51464         * sysdeps/unix/sysv/linux/configure: Regenerated.
51465         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51466         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51468 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51470         [BZ #16390]
51471         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51472         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51474 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51477         extra tokens at end of #undef directive.
51478         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51479         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51480         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51482 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51484         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51486         * math/auto-libm-test-in: Mark various tests with
51487         xfail-rounding:ldbl-128ibm.
51488         * math/auto-libm-test-out: Regenerated.
51490 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51492         [BZ #16386]
51493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51494         numbers with subnormal high part when calculating exponent.
51496         [BZ #16385]
51497         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51498         fabs.
51500         [BZ #16384]
51501         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51502         M_LN2l.
51503         (__ieee754_acoshl): Use __log1pl not __log1p.
51505 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51507         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51508         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51509         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51510         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51511         (reused_arena, arena_get2): Convert to GNU style.
51512         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51513         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51514         (memalign_check, __malloc_set_state): Likewise.
51515         * malloc/mallocbug.c (main): Likewise.
51516         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51517         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51518         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51519         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51520         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51521         (__posix_memalign, malloc_info): Likewise.
51522         * malloc/malloc.h: Likewise.
51523         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51524         (mallochook, memalignhook, reallochook, mabort): Likewise.
51525         * malloc/mcheck.h: Likewise.
51526         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51527         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51528         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51529         * malloc/morecore.c (__default_morecore): Likewise.
51530         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51531         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51532         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51533         (print_and_abort): Likewise.
51534         * malloc/obstack.h: Likewise.
51535         * malloc/set-freeres.c (__libc_freeres): Likewise.
51536         * malloc/tst-mallocstate.c (main): Likewise.
51537         * malloc/tst-mtrace.c (main): Likewise.
51538         * malloc/tst-realloc.c (do_test): Likewise.
51540 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51542         [BZ #16366]
51543         * nscd/netgroupcache.c (do_notfound): New function.
51544         (addgetnetgrentX): Use it.
51546         [BZ # 16365]
51547         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51548         NSS_STATUS_NOTFOUND.
51550 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51552         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51555 2014-01-01  Allan McRae  <allan@archlinux.org>
51557         * scripts/update-copyrights: Update configure input file suffix.
51559         * NEWS: Update copyright year.
51560         * catgets/gencat.c: Likewise.
51561         * csu/version.c: Likewise.
51562         * debug/catchsegv.sh: Likewise.
51563         * debug/pcprofiledump.c: Likewise.
51564         * debug/xtrace.sh: Likewise.
51565         * elf/ldconfig.c: Likewise.
51566         * elf/ldd.bash.in: Likewise.
51567         * elf/pldd.c: Likewise.
51568         * elf/sotruss.ksh: Likewise.
51569         * elf/sprof.c: Likewise.
51570         * iconv/iconv_prog.c: Likewise.
51571         * iconv/iconvconfig.c: Likewise.
51572         * locale/programs/locale.c: Likewise.
51573         * locale/programs/localedef.c: Likewise.
51574         * login/programs/pt_chown.c: Likewise.
51575         * malloc/memusage.sh: Likewise.
51576         * malloc/memusagestat.c: Likewise.
51577         * malloc/mtrace.pl: Likewise.
51578         * manual/libc.texinfo: Likewise.
51579         * nscd/nscd.c: Likewise.
51580         * nss/getent.c: Likewise.
51581         * nss/makedb.c: Likewise.
51582         * posix/getconf.c: Likewise.
51583         * scripts/test-installation.pl: Likewise.
51585         * All files with FSF copyright notices: Update copyright dates
51586         using scripts/update-copyrights.
51587         * intl/plural.c: Regenerated.
51588         * locale/programs/charmap-kw.h: Likewise.
51589         * locale/programs/locfile-kw.h: Likewise.
51591 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51593         * sysdeps/unix/sysv/linux/configure: Regenerated.
51594         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51595         the linux/fanotify.h header.
51596         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51597         HAVE_LINUX_FANOTIFY_H is defined.
51599 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51601         * benchtests/cos-inputs: New inputs.
51602         * benchtests/sin-inputs: Likewise.
51604         * benchtests/atan-inputs: New inputs. Fix name of multiple
51605         precision fallback inputs.
51607         * benchtests/atanh-inputs: New inputs.
51608         * benchtests/tanh-inputs: Likewise.
51610         * benchtests/acosh-inputs: New inputs.
51611         * benchtests/asinh-inputs: Likewise.
51613         * benchtests/cosh-inputs: New inputs.
51614         * benchtests/sinh-inputs: Likewise.
51616         * benchtests/acos-inputs: Add more inputs.
51617         * benchtests/asin-inputs: Likewise.
51619 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51621         [BZ #16375]
51622         * manual/arith.texi: Fix spelling.
51623         * manual/charset.texi: Likewise.
51624         * manual/errno.texi: Likewise.
51625         * manual/filesys.texi: Likewise.
51626         * manual/lang.texi: Likewise.
51627         * manual/llio.texi: Likewise.
51628         * manual/locale.texi: Likewise.
51629         * manual/message.texi: Likewise.
51630         * manual/resource.texi: Likewise.
51631         * manual/search.texi: Likewise.
51632         * manual/setjmp.texi: Likewise.
51633         * manual/stdio.texi: Likewise.
51634         * manual/string.texi: Likewise.
51635         * manual/sysinfo.texi: Likewise.
51636         * manual/time.texi: Likewise.
51638 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51640         * po/sl.po: New file.
51642 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51644         * .gitignore: Add core/.gdbinit/.gdb_history.
51646 2013-12-27  Allan McRae  <allan@archlinux.org>
51648         [BZ #16369]
51649         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51650         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51652 2013-12-24  Brooks Moses  <bmoses@google.com>
51654         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51655         all compilers that claim C++98 compliance, not just GCC.
51656         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51657         Likewise.
51659 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51661         * NEWS: Restore accidentally deleted bug-fix entries.
51663 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51664             Ondřej Bílka  <neleai@seznam.cz>
51666         [BZ #15073]
51667         * malloc/malloc.c (_int_free): Perform sanity check only if we
51668         have_lock.
51670 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51672         [BZ #12986]
51673         * manual/stdio.texi (String Input Conversions): Clarify that character
51674         classes are not supported.
51676 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51680 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51682         [BZ #16337]
51683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51684         Calculate results for small negative arguments directly rather
51685         than using reflection formula with special underflow handling.
51687         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51688         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51689         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51690         (fchflags): Likewise.
51691         (revoke): Likewise.
51692         (setlogin): Likewise.
51693         (sigaltstack): Likewise.
51694         (wait4): Likewise.
51695         (sigblock): Remove.
51696         (sigsetmask): Likewise.
51697         (wait3): Likewise.
51698         (waitpid): Likewise.
51699         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51700         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51701         file.
51702         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51703         * sysdeps/unix/bsd/Makefile: ... here.
51704         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51705         * sysdeps/unix/bsd/Versions: ... here.
51706         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51707         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51708         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51709         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51710         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51711         * sysdeps/unix/bsd/sigblock.c: ... here.
51712         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51713         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51714         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51715         * sysdeps/unix/bsd/sigvec.c: ... here.
51716         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51717         * sysdeps/unix/bsd/tcdrain.c: ... here.
51718         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51719         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51720         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51721         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51722         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51723         * sysdeps/unix/bsd/wait.c: ... here.
51724         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51725         * sysdeps/unix/bsd/wait3.c: ... here.
51726         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51727         * sysdeps/unix/bsd/waitpid.c: ... here.
51729 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51731         [BZ #16356]
51732         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51733         round-to-nearest for [!USE_AS_EXPM1L].
51734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51735         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51736         more tests of exp and exp10.  Expect some exp10 tests to miss
51737         exceptions or fail in directed rounding modes.
51738         * math/auto-libm-test-out: Regenerated.
51739         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51740         (exp10_test_tonearest): New function.
51741         (exp10_towardzero_test_data): New array.
51742         (exp10_test_towardzero): New function.
51743         (exp10_downward_test_data): New array.
51744         (exp10_test_downward): New function.
51745         (exp10_upward_test_data): New array.
51746         (exp10_test_upward): New function.
51747         (main): Call the new functions.
51748         * sysdeps/i386/fpu/libm-test-ulps: Update.
51749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51751 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51753         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51754         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51755         * math/auto-libm-test-out: Regenerated.
51756         * math/libm-test.inc (acosh_test_data): Add more tests.
51757         (atanh_test_data): Likewise.
51758         (ceil_test_data): Likewise.
51759         (copysign_test_data): Likewise.
51760         * sysdeps/i386/fpu/libm-test-ulps: Update.
51761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51763         * timezone/checktab.awk: Update from tzcode 2013i.
51764         * timezone/private.h: Likewise.
51765         * timezone/scheck.c: Likewise.
51766         * timezone/tzfile.h: Likewise.
51767         * timezone/tzselect.ksh: Likewise.
51768         * timezone/zdump.c: Likewise.
51769         * timezone/zic.c: Likewise.
51771         * math/auto-libm-test-in: Add tests of cpow.
51772         * math/auto-libm-test-out: Regenerated.
51773         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51774         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51775         mpc_cc_c.
51776         (func_calc_desc): Add mpc_cc_c union field.
51777         (test_functions): Add cpow.
51778         (special_fill_2pi): New function.
51779         (special_real_inputs): Add 2pi.
51780         (calc_generic_results): Handle mpc_cc_c.
51781         * sysdeps/i386/fpu/libm-test-ulps: Update.
51782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51784         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51785         csqrt, ctan and ctanh.
51786         * math/auto-libm-test-out: Regenerated.
51787         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51788         (TEST_COND_x86): Likewise.
51789         (ccos_test_data): Use AUTO_TESTS_c_c.
51790         (ccosh_test_data): Likewise.
51791         (cexp_test_data): Likewise.
51792         (clog_test_data): Likewise.
51793         (csqrt_test_data): Likewise.
51794         (ctan_test_data): Likewise.
51795         (ctan_tonearest_test_data): Likewise.
51796         (ctan_towardzero_test_data): Likewise.
51797         (ctan_downward_test_data): Likewise.
51798         (ctan_upward_test_data): Likewise.
51799         (ctanh_test_data): Likewise.
51800         (ctanh_tonearest_test_data): Likewise.
51801         (ctanh_towardzero_test_data): Likewise.
51802         (ctanh_downward_test_data): Likewise.
51803         (ctanh_upward_test_data): Likewise.
51804         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51805         mpc_c_c.
51806         (func_calc_desc): Add mpc_c_c union field.
51807         (FUNC_mpc_c_c): New macro.
51808         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51809         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51810         ctanh.
51811         (special_fill_min_subnorm_p120): New function.
51812         (special_real_inputs): Add min_subnorm_p120.
51813         (calc_generic_results): Handle mpc_c_c.
51814         * sysdeps/i386/fpu/libm-test-ulps: Update.
51815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51817 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51819         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51820         (do_sin_slow): New functions.
51821         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51822         (cslow2, csloww1, csloww2): Use the new functions.
51824         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51825         Use M to change sign of result instead of X.  Assume X is
51826         positive.
51827         (csloww1): Likewise.
51828         (__sin): Adjust.
51829         (__cos): Adjust.
51831         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51832         arguments A and DA.
51833         (__sin): Adjust.
51834         (__cos): Likewise.
51836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51837         (__cos): Likewise.
51838         (sloww1): Don't adjust sign of DX.
51839         (csloww1): Likewise.
51840         (sloww2): Use X directly and don't adjust sign of DX.
51841         (csloww2): Likewise.
51843 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51845         * math/auto-libm-test-in: Add tests of cabs and carg.
51846         * math/auto-libm-test-out: Regenerated.
51847         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51848         (carg_test_data): Likewise.
51849         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51850         mpc_c_f.
51851         (func_calc_desc): Add mpc_c_f union field.
51852         (test_functions): Add cabs and carg.
51853         (calc_generic_results): Handle mpc_c_f.
51855         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51856         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51857         as a macro and a compat symbol.
51858         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51859         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51860         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51861         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51862         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51863         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51864         not use .hidden.
51865         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51866         Likewise.
51867         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51868         Likewise.
51869         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51870         Likewise.
51871         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51872         Likewise.
51873         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51874         Likewise.
51875         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51876         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51877         from GLIBC_2.3.2.
51879 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51883 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51885         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51886         trailing whitespace removed.
51887         * scripts/config.guess: Update to version 2013-11-29.
51888         * scripts/config.sub: Update to version 2013-10-01.
51890         * math/auto-libm-test-in: Add tests of sincos.
51891         * math/auto-libm-test-out: Regenerated.
51892         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51893         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51894         mpfr_f_11.
51895         (func_calc_desc): Add mpfr_f_11 union field.
51896         (test_functions): Add sincos.
51897         (calc_generic_results): Handle mpfr_f_11.
51898         * sysdeps/i386/fpu/libm-test-ulps: Update.
51899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51901 2013-12-19  Andreas Schwab  <schwab@suse.de>
51903         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51904         CALL_MCOUNT.
51905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51906         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51907         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51909 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51911         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51912         * sysdeps/i386/fpu/libm-test-ulps: Update.
51913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51915         [BZ #16293]
51916         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51917         round-to-nearest mode when using frndint.
51918         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51919         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51920         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51921         Likewise.
51922         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51923         sinh test to fail.
51924         * math/auto-libm-test-out: Regenerated.
51925         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51926         (TEST_COND_x86): Likewise.
51927         (expm1_tonearest_test_data): New array.
51928         (expm1_test_tonearest): New function.
51929         (expm1_towardzero_test_data): New array.
51930         (expm1_test_towardzero): New function.
51931         (expm1_downward_test_data): New array.
51932         (expm1_test_downward): New function.
51933         (expm1_upward_test_data): New array.
51934         (expm1_test_upward): New function.
51935         (main): Run the new test functions.
51936         * sysdeps/i386/fpu/libm-test-ulps: Update.
51937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51939         * include/features.h: Update comment documenting feature test
51940         macros.  Mention _DEFAULT_SOURCE in comment.
51941         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51942         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51943         _BSD_SOURCE and _SVID_SOURCE.
51944         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51945         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51946         !_SVID_SOURCE]: Likewise.
51947         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51948         (__USE_POSIX_IMPLICITLY): Define.
51949         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51950         (_POSIX_SOURCE): Undefine and redefine.
51951         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51952         (_POSIX_C_SOURCE): Likewise.
51953         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51954         (Feature Test Macros): Update documentation of default features.
51956 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51958         * benchtests/Makefile: Add bench-strtok.
51959         * benchtests/bench-strtok.c: New file: strtok benchtest.
51961 2013-12-19  Allan McRae  <allan@archlinux.org>
51963         * manual/install.texi: Suppress menu for plain text output.
51964         * INSTALL: Regenerated.
51966 2013-12-18  Brooks Moses  <bmoses@google.com>
51968         [BZ #15846]
51969         * misc/getauxval.c: Include errno.h.
51970         (__getauxval): Set errno to ENOENT if the requested type is not
51971         found.
51972         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51973         don't declare with __attribute_const__.
51974         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51975         * manual/startup.texi: Document that getauxval sets errno.
51977 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51979         * math/auto-libm-test-in: Add tests of jn and yn.
51980         * math/auto-libm-test-out: Regenerated.
51981         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51982         (yn_test_data): Likewise.
51983         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51984         mpfr_if_f.
51985         (func_calc_desc): Add mpfr_if_f union field.
51986         (FUNC_mpfr_if_f): New macro.
51987         (test_functions): Add jn and yn.
51988         (calc_generic_results): Assert type of second input for
51989         mpfr_ff_f.  Handle mpfr_if_f.
51990         (output_for_one_input_case): Disable all checking for arguments
51991         fitting floating-point types in case of an integer argument.
51992         * sysdeps/i386/fpu/libm-test-ulps: Update.
51993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51996         Don't expect fegetround reference in libm.so.
51998 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52000         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52001         $(config-cflags-nofma).
52003 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52005         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52006         * math/auto-libm-test-out: Regenerated.
52008         [BZ #16338]
52009         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52010         to determine exponent and adjust argument to have exponent of -1.
52011         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52012         log2.
52013         * math/auto-libm-test-out: Regenerated.
52014         * sysdeps/i386/fpu/libm-test-ulps: Update.
52015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52017 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52019         * manual/probes.texi: Remove cases when per-thread arenas are
52020         disabled.
52022 2013-12-18  Andreas Schwab  <schwab@suse.de>
52024         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52025         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52026         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52027         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52028         * sysdeps/i386/i686/multiarch/Makefile: Update.
52029         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52031 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52033         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52034         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52036 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52038         [BZ #15968]
52039         Support TZ transition times < 00:00:00.
52040         This is needed for version-3 tz-format files; it supports time
52041         stamps past 2037 for America/Godthab (the only entry in the tz
52042         database for which this change is relevant).
52043         * manual/time.texi (TZ Variable): Document transition times
52044         from -167:59:59 through -00:00:01.
52045         * time/tzset.c (tz_rule): Time of day is now signed.
52046         (__tzset_parse_tz): Parse negative time of day.
52048         Document TZ transition times >= 25:00:00.
52049         * manual/time.texi (TZ Variable): Document transition times from
52050         25:00:00 through 167:59:59.  These are already supported, and this
52051         support will help with version-3 tz-format files.
52053         * manual/time.texi (TZ Variable): Modernize North America example
52054         to reflect current (i.e., 2007-and-later) daylight saving rules.
52056         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52058 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52060         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52061         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52063         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52064         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52065         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52066         * sysdeps/unix/bsd/clock.c: Likewise.
52067         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52068         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52069         * sysdeps/unix/bsd/init-posix.c: Likewise.
52070         * sysdeps/unix/bsd/poll.c: Likewise.
52071         * sysdeps/unix/bsd/ptsname.c: Likewise.
52072         * sysdeps/unix/bsd/seekdir.c: Likewise.
52073         * sysdeps/unix/bsd/setegid.c: Likewise.
52074         * sysdeps/unix/bsd/seteuid.c: Likewise.
52075         * sysdeps/unix/bsd/setgid.c: Likewise.
52076         * sysdeps/unix/bsd/setrgid.c: Likewise.
52077         * sysdeps/unix/bsd/setruid.c: Likewise.
52078         * sysdeps/unix/bsd/setsid.c: Likewise.
52079         * sysdeps/unix/bsd/setuid.c: Likewise.
52080         * sysdeps/unix/bsd/sigaction.c: Likewise.
52081         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52082         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52083         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52084         * sysdeps/unix/bsd/telldir.c: Likewise.
52085         * sysdeps/unix/bsd/times.c: Likewise.
52086         * sysdeps/unix/bsd/usleep.c: Likewise.
52088         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52089         ($(objpfx)libbsd-compat.a): Remove rule.
52091         * include/features.h (__FAVOR_BSD): Do not define.
52092         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52093         features conflicting with POSIX.
52094         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52095         (_BSD_SOURCE): Remove description of not being a subset of other
52096         feature test macros.
52097         * manual/job.texi (getpgrp): Do not document BSD version.
52098         (getpgid): Do not document by reference to BSD getpgrp.
52099         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52100         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52101         * signal/signal.h [__FAVOR_BSD]: Likewise.
52102         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52103         instead of making contents conditional on [__FAVOR_BSD].
52104         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52106 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52110 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52112         [BZ #16314]
52113         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52114         values below 2**-450, not 2**-500.
52115         * math/auto-libm-test-in: Don't allow spurious underflow from
52116         hypot.
52117         * math/auto-libm-test-out: Regenerated.
52119         [BZ #16316]
52120         [BZ #16330]
52121         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52122         values of ha and hb and sort them after adjusting subnormal
52123         arguments.
52124         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52125         Likewise.
52126         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52127         values of ea and eb and sort them after adjusting subnormal
52128         arguments.
52129         * math/auto-libm-test-in: Do not expect some hypot tests of
52130         subnormals to fail.  Add more hypot tests.
52131         * math/auto-libm-test-out: Regenerated.
52133 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52135         [BZ #13304]
52136         * sysdeps/sh/s_fma.c: New file.
52137         * sysdeps/sh/s_fmaf.c: New file.
52138         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52139         version.
52140         * sysdeps/sh/Implies: Add sh/soft-fp.
52142 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52144         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52145         level of indirection to members `objname', `errstring', `malloced'.
52146         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52147         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52148         it as the __longjmp argument (just pass 1 instead).
52149         (_dl_catch_error): Initialize C with argument pointers and address of
52150         volatile local ERRCODE rather than copying values out of C at return.
52152 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52154         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52155         * math/auto-libm-test-out: Regenerated.
52156         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52157         (hypot_test_data): Likewise.
52158         (pow_test_data): Likewise.
52159         (pow_tonearest_test_data): Likewise.
52160         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52161         mpfr_ff_f.
52162         (func_calc_desc): Add mpfr_ff_f union field.
52163         (FUNC_mpfr_ff_f): New macro.
52164         (test_functions): Add atan2, hypot and pow.
52165         (special_fill_min): New function.
52166         (special_fill_minus_min): Likewise.
52167         (special_fill_min_subnorm): Likewise.
52168         (special_fill_minus_min_subnorm): Likewise.
52169         (special_real_inputs): Add min, -min, min_subnorm and
52170         -min_subnorm.
52171         (calc_generic_results): Handle mpfr_ff_f.
52172         * sysdeps/i386/fpu/libm-test-ulps: Update.
52173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52175 2013-12-16  Will Newton  <will.newton@linaro.org>
52177         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52178         (Aligned Memory Blocks): Add documentation for aligned_alloc
52179         and suggest it as an alternative to posix_memalign.
52180         (Hooks for Malloc): Document __memalign_hook is also called
52181         for aligned_alloc.  (Summary of Malloc): Add summary for
52182         aligned alloc.  Document __memalign_hook is also called
52183         for aligned_alloc.
52185 2013-12-16  Will Newton  <will.newton@linaro.org>
52187         * manual/memory.texi (Malloc Examples): Clarify default
52188         alignment documentation.  Suggest posix_memalign rather
52189         than memalign or valloc.
52190         (Aligned Memory Blocks): Remove suggestion to use memalign
52191         or valloc.  Remove obsolete comment about BSD.
52192         Document memalign errno values and mark the function obsolete.
52193         Document posix_memalign returned error codes.  Mark valloc
52194         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52195         called for posix_memalign and valloc.
52196         (Summary of Malloc): Add posix_memalign to function summary.
52197         __memalign_hook is also called for posix_memalign and valloc.
52199 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52201         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52202         TAYLOR_SIN.
52203         (__sin): Adjust.
52204         (__cos): Likewise.
52205         (sloww): Use mynumber union.  Expand ternary operator into
52206         if-else statements.
52207         (cslow): use mynumber union.
52209 2013-12-16  Allan McRae  <allan@archlinux.org>
52211         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52212         * configure: Regenerated.
52214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52216         [BZ #14120]
52217         * configure.ac: Added --enable-maintainer-mode. Check for
52218         autoconf when enabled.
52219         * configure: Regenerated.
52221         * nscd/nscd.service: New file.
52222         * nscd/nscd.tmpfiles: New file.
52224 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52226         [BZ #12100]
52227         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52228         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52229         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52230         (strstr): Add __strstr_sse2_unaligned ifunc.
52231         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52232         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52233         (strcasestr): Remove __strcasestr_sse42 ifunc.
52234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52238 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52240         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52241         * sysdeps/sh/bits/fenv.h: ... here.
52242         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52244 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52246         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52249         hypotf multiarch implementations.
52250         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52251         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52252         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52253         multiarch hypot for PPC64.
52254         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52255         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52256         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52257         multiarch hypotf for PPC64.
52259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52260         modff multiarch implementations.
52261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52264         multiarch modf for PPC64.
52265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52268         multiarch modff for PPC64.
52270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52271         and logl multiarch implementations.
52272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52275         multiarch logb for PPC64.
52276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52279         multiarch logb for PPC64.
52280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52283         multiarch logb for PPC64.
52285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52286         isinff multiarch implementation.
52287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52288         file.
52289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52291         multiarch isinf for PPC64.
52292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52293         file.
52294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52295         multiarch isinff for PPC64.
52297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52298         finitef multiarch implementation.
52299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52300         file.
52301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52303         multiarch finite for PPC64.
52304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52305         file.
52306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52307         multiarch finitef for PPC64.
52309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52310         lrint multiarch implementation.
52311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52312         file.
52313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52315         multiarch llrint for PPC64.
52316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52317         multiarch lrint for PPC64.
52319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52320         copysignf multiarch implementation.
52321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52322         file.
52323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52324         file.
52325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52326         multiarch copysign for PPC64.
52327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52328         multiarch copysignf for PPC64.
52330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52331         multiarch implementation.
52332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52333         file.
52334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52335         file.
52336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52337         file.
52338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52339         file.
52340         multiarch llround for PPC64.
52341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52342         multiarch trunc for PPC64.
52343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52344         multiarch truncf for PPC64.
52346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52347         multiarch implementation.
52348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52349         file.
52350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52351         file.
52352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52353         file.
52354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52355         file.
52356         multiarch llround for PPC64.
52357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52358         multiarch round for PPC64.
52359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52360         multiarch roundf for PPC64.
52362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52363         multiarch implementation.
52364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52365         file.
52366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52367         file.
52368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52369         file.
52370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52371         file.
52372         multiarch llround for PPC64.
52373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52374         multiarch floor for PPC64.
52375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52376         multiarch floorf for PPC64.
52378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52379         multiarch implementation.
52380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52381         file.
52382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52383         file.
52384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52385         file.
52386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52387         file.
52388         multiarch llround for PPC64.
52389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52390         multiarch ceil for PPC64.
52391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52392         multiarch ceilf for PPC64.
52394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52395         multiarch implementation.
52396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52397         file.
52398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52399         file.
52400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52401         file.
52402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52403         multiarch llround for PPC64.
52404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52405         multiarch lround for PPC64.
52407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52408         multiarch implementation.
52409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52412         file.
52413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52416         multiarch isnan for PPC64.
52417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52418         multiarch isnanf for PPC64.
52420         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52421         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52422         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52423         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52424         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52427         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52428         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52429         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52430         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52433         multiarch implementations.
52434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52435         (__libc_ifunc_impl_list): Likewise.
52436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52439         multiarch stpcpy for PPC64.
52441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52442         multiarch implementations.
52443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52444         (__libc_ifunc_impl_list): Likewise.
52445         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52446         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52447         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52448         multiarch strcpy for PPC64.
52450         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52451         redefine function name.
52452         (_wordcopy_fwd_dest_aligned): Likewise.
52453         (_wordcopy_bwd_aligned): Likewise.
52454         (_wordcopy_bwd_dest_aligned): Likewise.
52455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52456         multiarch implementations.
52457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52458         (__libc_ifunc_impl_list): Likewise.
52459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52461         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52462         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52463         multiarch wcscpy for PPC64.
52465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52466         multiarch implementations.
52467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52468         (__libc_ifunc_impl_list): Likewise.
52469         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52470         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52471         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52472         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52473         multiarch wcscpy for PPC64.
52475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52476         multiarch implementations.
52477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52478         (__libc_ifunc_impl_list): Likewise.
52479         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52480         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52481         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52482         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52483         multiarch wcsrchr for PPC64.
52485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52486         multiarch implementations.
52487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52488         (__libc_ifunc_impl_list): Likewise.
52489         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52490         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52491         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52492         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52493         multiarch wcschr for PPC64.
52495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52496         multiarch implementations.
52497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52498         (__libc_ifunc_impl_list): Likewise.
52499         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52500         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52501         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52502         multiarch strchrnul for PPC64.
52504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52505         implementations.
52506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52507         (__libc_ifunc_impl_list): Likewise.
52508         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52509         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52510         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52511         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52512         strchr for PPC64.
52514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52515         implementations.
52516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52517         (__libc_ifunc_impl_list): Likewise.
52518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52519         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52520         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52521         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52522         strncmp for PPC64.
52524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52525         multiarch implementations.
52526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52527         (__libc_ifunc_impl_list): Likewise.
52528         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52529         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52530         strncasecmp for PPC64.
52531         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52532         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52533         multiarch strncasecmp_l for PPC64.
52535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52536         multiarch implementations.
52537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52538         (__libc_ifunc_impl_list): Likewise.
52539         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52540         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52541         multiarch strcasecmp for PPC64.
52542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52543         file.
52544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52545         multiarch strcasecmp_l for PPC64.
52547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52548         implementations.
52549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52550         (__libc_ifunc_impl_list): Likewise.
52551         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52552         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52553         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52554         strnlen for PPC64.
52556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52557         implementations.
52558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52559         (__libc_ifunc_impl_list): Likewise.
52560         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52561         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52562         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52563         strlen for PPC64.
52565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52566         implementations.
52567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52568         (__libc_ifunc_impl_list): Likewise.
52569         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52570         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52571         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52572         rawmemrchr for PPC64.
52574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52575         implementation.
52576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52577         (__libc_ifunc_impl_list): Likewise.
52578         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52579         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52580         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52581         memrchr for PPC64.
52583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52584         implementation.
52585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52586         (__libc_ifunc_impl_list): Likewise.
52587         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52588         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52589         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52590         memchr for PPC64.
52592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52593         implementation.
52594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52595         (__libc_ifunc_impl_list): Likewise.
52596         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52597         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52598         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52599         mempcpy for PPC64.
52601         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52602         avoid cretion of __bzero symbol.
52603         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52604         Likewise.
52605         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52606         Likewise.
52607         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52608         Likewise.
52609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52610         multiarch implementations.
52611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52612         (__libc_ifunc_impl_list): Likewise.
52613         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52614         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52615         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52616         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52617         bzero for PPC32.
52618         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52619         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52620         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52621         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52622         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52623         memset for PPC64.
52624         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52626         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52628         implementations.
52629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52630         (__libc_ifunc_impl_list): Likewise.
52631         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52632         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52633         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52634         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52635         memcmp for PPC64.
52637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52638         multiarch for POWER/PPC64.
52639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52640         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52642         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52643         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52644         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52645         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52646         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52647         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52648         memcpy for PPC64.
52650         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52651         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52652         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52653         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52654         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52655         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52656         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52657         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52658         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52659         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52660         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52661         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52662         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52663         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52664         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52673 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52675         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52677 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52679         * benchtests/Makefile (bench): Add exp2 and log2.
52680         (LDLIBS-bench-exp2): Add -lm.
52681         (LDLIBS-bench-log2): Likewise.
52682         * benchtests/exp2-inputs: New inputs file.
52683         * benchtests/log2-inputs: New inputs file.
52684         * benchtests/log-inputs: Add new inputs.
52685         * benchtests/tan-inputs: Likewise.
52687 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52689         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52690         definition...
52691         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52692         (csloww2): ... from here.
52694         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52695         instead of structures.
52696         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52697         (POLYNOMIAL): Likewise.
52698         (TAYLOR_SLOW): Likewise.
52699         (__sin): Likewise.
52700         (__cos): Likewise.
52701         (slow1): Likewise.
52702         (slow2): Likewise.
52703         (sloww): Likewise.
52704         (sloww1); Likewise.
52705         (sloww2): Likewise.
52706         (bsloww1): Likewise.
52707         (bsloww2): Likewise.
52708         (cslow2): Likewise.
52709         (csloww): Likewise.
52710         (csloww1): Likewise.
52711         (csloww2): Likewise.
52713 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52715         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52716         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52717         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52718         * malloc/hooks.c (realloc_check): Likewise.
52720         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52721         * malloc/arena.c: Remove PER_THREAD conditional.
52722         [!PER_THREAD]: Remove code.
52723         (ptmalloc_unlock_all2): Likewise.
52724         (ptmalloc_init): Likewise.
52725         (_int_new_arena): Likewise.
52726         (arena_get2): Likewise.
52727         * malloc/hooks.c (__malloc_get_state): Likewise.
52728         (__malloc_set_state): Likewise.
52729         * malloc/malloc.c: Likewise.
52730         (struct malloc_state): Likewise.
52731         (struct malloc_par): Likewise.
52732         (__libc_realloc): Likewise.
52733         (__libc_mallopt): Likewise.
52735 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52737         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52739 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52741         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52742         macro to a function.  Check for zero perturb_byte.
52743         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52745         * malloc/malloc.c: (force_reg): Remove.
52746         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52747         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52748         force_reg by atomic_forced_read.
52749         * malloc/arena.c (ptmalloc_init): Likewise.
52750         * malloc/hooks.c (top_check): Likewise.
52752 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52756 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52760 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52762         * math/auto-libm-test-in: Add tests of lgamma.
52763         * math/auto-libm-test-out: Regenerated.
52764         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52765         (M_LOG_2_SQRT_PIl): Likewise.
52766         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52768         mpfr_f_f1.
52769         (func_calc_desc): Add mpfr_f_f1 union field.
52770         (ARGS1): New macro.
52771         (ARGS2): Likewise.
52772         (ARGS3): Likewise.
52773         (ARGS4): Likewise.
52774         (RET1): Likewise.
52775         (RET2): Likewise.
52776         (CALC): Likewise.
52777         (FUNC): Likewise.
52778         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52779         (test_functions): Add lgamma.
52780         (calc_generic_results): Handle mpfr_f_f1.
52781         * sysdeps/i386/fpu/libm-test-ulps: Update.
52782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52784 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52786         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52787         __mpn_add_n for PowerPC64/POWER7.
52788         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52789         __mpn_sub_n for PowerPC64/POWER7.
52791         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52792         __mpn_addmul_1 for PowerPC64.
52793         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52794         __mpn_submul_1 for PowerPC64.
52795         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52796         for PowerPC64.
52797         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52798         for PowerPC64.
52800 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52802         [BZ #15089]
52803         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52805 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52807         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52809         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52810         add multiarch folders.
52811         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52812         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52813         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52814         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52815         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52816         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52817         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52818         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52819         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52820         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52821         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52830         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52832         New file.
52833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52834         New file.
52835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52836         multiarch __ieee754_hypot for PowerPC32.
52837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52838         New file.
52839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52840         New file.
52841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52842         multiarch __ieee754_hypotf for PowerPC32.
52844         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52845         long_double_symbol only if __logbl is defined.
52846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52847         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52849         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52851         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52853         path for implementation.
52854         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52855         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52857         logb, and logbl multiarch implementations for PowerPC32.
52858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52859         file.
52860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52861         file.
52862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52863         multiarch logb for PowerPC32.
52864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52865         file.
52866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52867         file.
52868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52869         multiarch logbf for PowerPC32.
52870         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52872         file.
52873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52874         multiarch logbl implementation for PowerPC32.
52876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52877         and modff multiarch implementations.
52878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52879         New file.
52880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52881         New file.
52882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52883         multiarch modf for PowerPC32.
52884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52885         New file.
52886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52887         New file.
52888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52889         multiarch modff for PowerPC32.
52891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52892         and lrintf multiarch implementations.
52893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52894         New file.
52895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52896         New file.
52897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52898         multiarch lrint for PowerPC32.
52899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52900         file: multiarch lrintf for PowerPC32.
52902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52903         and lroundf multiarch implementations.
52904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52905         New file.
52906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52907         New file.
52908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52909         New file.
52910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52911         multiarch lround for PowerPC32.
52912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52913         file: multiarch lroundf for PowerPC32.
52915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52916         copysign and copysignf multiarch implementations.
52917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52918         New file.
52919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52920         New file.
52921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52922         file: multiarch copysign for PowerPC32.
52923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52924         file: multiarch copysignf for PowerPC32.
52926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52927         and truncf multiarch implementations.
52928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52929         New file.
52930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52931         file.
52932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52933         multiarch trunc for PowerPC32.
52934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52935         New file.
52936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52937         New file.
52938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52939         multiarch truncf for PowerPC32.
52941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52942         and roundf multiarch implementations.
52943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52944         New file.
52945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52946         file.
52947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52948         multiarch round for PowerPC32.
52949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52950         New file.
52951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52952         New file.
52953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52954         multiarch roundf for PowerPC32.
52956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52957         and floorf multiarch implementations.
52958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52959         New file.
52960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52961         file.
52962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52963         multiarch floor for PowerPC32.
52964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52965         New file.
52966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52967         New file.
52968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52969         multiarch floorf for PowerPC32.
52971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52972         and ceilf multiarch implementations.
52973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52974         New file.
52975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52976         file.
52977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52978         multiarch ceil for PowerPC32.
52979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52980         New file.
52981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52982         file.
52983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52984         multiarch ceilf for PowerPC32.
52986         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52987         is defined.
52988         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52989         FINITEF is defined.
52990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52991         and finitef multiarch implementations.
52992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52993         New file.
52994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52995         file.
52996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52997         multiarch finite for PowerPC32.
52998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52999         New file.
53000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53001         file: multiarch finitef for PowerPC32.
53003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53004         and isinff multiarch implementations.
53005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53006         file.
53007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53008         file.
53009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53010         multiarch isinf for PowerPC32.
53011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53012         New file.
53013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53014         multiarch isinff for PowerPC32.
53016         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53017         alias when __isnan is defined.
53018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53019         and isnanf multiarch implementations.
53020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53021         file.
53022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53023         file.
53024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53025         file.
53026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53027         file.
53028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53029         multiarch isnan for PowerPC32.
53030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53031         New file.
53032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53033         New file.
53034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53035         multiarch isnanf for PowerPC32.
53037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53038         and sqrtf multiarch implementations.
53039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53040         file.
53041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53042         file.
53043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53044         multiarch sqrt for PowerPC32.
53045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53046         file.
53047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53048         file.
53049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53050         multiarch sqrtf for PowerPC32.
53052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53053         and llroundf multiarch implementations.
53054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53055         New file.
53056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53057         New file.
53058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53059         New file.
53060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53061         file: multiarch llround for PowerPC32.
53062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53063         file: multiarch llroundf for PowerPC32.
53065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53066         multiarch PowerPC32 fpu implementations.
53067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53068         New file.
53069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53070         New file.
53071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53072         multiarch llrint for PowerPC32.
53073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53074         New file.
53075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53076         New file.
53077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53078         file.
53080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53082         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53083         file.
53084         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53085         file.
53086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53087         file.
53088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53089         multiarch wordcopy for PPC32.
53090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53091         wordcopy objects.
53092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53093         (__libc_ifunc_impl_list): Likewise.
53094         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53095         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53096         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53097         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53098         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53099         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53101         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53103         file.
53104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53105         file.
53106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53107         file.
53108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53109         multiarch wcscpy for PPC32.
53110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53111         multiarch objects.
53112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53113         (__libc_ifunc_impl_list): Likewise.
53114         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53115         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53116         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53117         sysdeps/powerpc/power6/wcscpy.c.
53119         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53121         file.
53122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53123         file.
53124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53125         file.
53126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53127         multiarch wcsrchr for PPC32.
53128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53129         multiarch objects.
53130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53131         (__libc_ifunc_impl_list): Likewise.
53132         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53133         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53134         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53135         sysdeps/powerpc/power6/wcsrchr.c.
53137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53138         file.
53139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53140         file.
53141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53143         multiarch wcschr for PPc32.
53144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53145         multiarch objects.
53146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53147         (__libc_ifunc_impl_list): Likewise.
53148         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53149         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53150         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53151         sysdeps/powerpc/power6/wcschr.c.
53153         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53154         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53155         file.
53156         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53157         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53158         file: multiarch strchr for PPC32.
53159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53160         multiarch objects.
53161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53162         (__libc_ifunc_impl_list): Likewise.
53164         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53165         name.
53166         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53167         file.
53168         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53169         file.
53170         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53171         multiarch strchrnul for PPC32.
53172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53173         multiarch objects.
53174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53175         (__libc_ifunc_impl_list): Likewise.
53177         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53178         file.
53179         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53180         multiarch strncasecmp for PPC32.
53181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53182         file.
53183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53184         multiarch strncasecmp_l for PPC32.
53185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53186         strncasecmp multiarch objects.
53187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53188         (__libc_ifunc_impl_list): Likewise.
53190         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53191         file.
53192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53193         multiarch strncasecmp for PPC32.
53194         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53195         New file.
53196         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53197         multiarch strcasecmp_l for PPC32.
53198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53199         multiarch objects.
53200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53201         (__libc_ifunc_impl_list): Likewise.
53203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53204         file.
53205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53206         file.
53207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53208         multiarch strncmp for PPC32.
53209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53210         multiarch objects.
53211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53212         (__libc_ifunc_impl_list): Likewise.
53214         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53215         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53216         file.
53217         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53218         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53220         multiarch objects.
53221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53222         (__libc_ifunc_impl_list): Likewise.
53224         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53225         file.
53226         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53227         file.
53228         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53230         multiarch objects.
53231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53232         (__libc_ifunc_impl_list): Likewise.
53234         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53235         file.
53236         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53237         file.
53238         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53239         multiarch rawmemchr for PPC32.
53240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53241         multiarch objects.
53242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53243         (__libc_ifunc_impl_list): Likewise.
53245         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53246         file.
53247         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53248         file.
53249         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53250         file: memrchr multiarch for PPC32.
53251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53252         multiarch objects.
53253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53254         (__libc_ifunc_impl_list): Likewise.
53256         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53258         file.
53259         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53260         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53261         multiarch memchr for PPC32.
53262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53263         multiarch objects.
53264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53265         (__libc_ifunc_impl_list): Likewise.
53267         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53268         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53269         file.
53270         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53271         file.
53272         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53273         file: multiarch mempcpy for PPC32.
53274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53275         multiarch objects.
53276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53277         (__libc_ifunc_impl_list): Likewise.
53279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53280         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53281         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53282         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53283         multiarch bzero for PPC32.
53284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53285         file.
53286         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53287         file.
53288         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53289         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53290         file: multiarch memset for PPC32.
53291         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53293         memset multiarch objects.
53294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53295         (__libc_ifunc_impl_list): Likewise.
53297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53298         file.
53299         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53300         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53301         memcmp for PPC32.
53302         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53304         multiarch objects.
53305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53306         (__libc_ifunc_impl_list): Likewise.
53308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53311         file.
53312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53313         file.
53314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53315         file.
53316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53317         multiarch memcpy for PPC32.
53318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53319         multiarch objects.
53320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53321         (__libc_ifunc_impl_list): Likewise.
53323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53324         support multiarch for POWER/PPC32.
53325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53326         Likewise.
53327         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53329         Implies file to make multiarch folder appers before the fpu and
53330         default folder for power4 configuration.
53332 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53334         * scripts/bench.pl: Append volatile keyword to type.
53336 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53338         * sysdeps/sh/sotruss-lib.c: New file.
53339         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53341 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53345 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53347         [BZ #6810]
53348         * math/w_tgamma.c: Include <errno.h>.
53349         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53350         * math/w_tgammaf.c: Include <errno.h>.
53351         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53352         * math/w_tgammal.c: Include <errno.h>.
53353         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53354         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53355         underflow.  Add more tgamma tests.
53356         * math/auto-libm-test-out: Regenerated.
53357         * sysdeps/i386/fpu/libm-test-ulps: Update.
53358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53360         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53361         sin, sinh, tan, tanh, tgamma, y0 and y1.
53362         * math/auto-libm-test-out: Regenerated.
53363         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53364         (TEST_COND_x86): Likewise.
53365         (M_E2l): Remove macro.
53366         (M_E3l): Likewise.
53367         (M_2_SQRT_PIl): Likewise.
53368         (M_SQRT_PIl): Likewise.
53369         (M_1_DIV_El): Likewise.
53370         (log_test_data): Use AUTO_TESTS_f_f.
53371         (log10_test_data): Likewise.
53372         (log1p_test_data): Likewise.
53373         (log2_test_data): Likewise.
53374         (sin_test_data): Likewise.
53375         (sin_tonearest_test_data): Likewise.
53376         (sin_towardzero_test_data): Likewise.
53377         (sin_downward_test_data): Likewise.
53378         (sin_upward_test_data): Likewise.
53379         (sinh_test_data): Likewise.
53380         (sinh_tonearest_test_data): Likewise.
53381         (sinh_towardzero_test_data): Likewise.
53382         (sinh_downward_test_data): Likewise.
53383         (sinh_upward_test_data): Likewise.
53384         (tan_test_data): Likewise.
53385         (tan_tonearest_test_data): Likewise.
53386         (tan_towardzero_test_data): Likewise.
53387         (tan_downward_test_data): Likewise.
53388         (tan_upward_test_data): Likewise.
53389         (tanh_test_data): Likewise.
53390         (tgamma_test_data): Likewise.
53391         (y0_test_data): Likewise.
53392         (y1_test_data): Likewise.
53393         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53394         (special_real_inputs): Add pi/4.
53395         * sysdeps/i386/fpu/libm-test-ulps: Update.
53396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53398 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53400         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53401         "longjmp_target" static probes.
53402         (__longjmp): Rename to __longjmp_symbol.
53403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53404         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53405         on which longjmp to generate.
53406         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53407         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53408         probe.
53409         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53410         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53411         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53412         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53413         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53414         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53416         __longjmp_symbol based on which __longjmp to generate.
53417         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53418         probe.
53419         (setjmp): Rename to setjmp_symbol.
53420         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53421         (_setjmp): Rename to _setjmp_symbol.
53422         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53423         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53424         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53425         which setjmp to generate.
53426         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53427         "longjmp_target" static probes.
53429 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53431         * benchtests/README: Add note about output arguments.
53432         * benchtests/bench-sincos.c: Remove file.
53433         * benchtests/sincos-inputs: New file.
53434         * scripts/bench.pl: Identify output arguments and define
53435         static variables for them.
53437         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53439         [BZ #15941]
53440         * Makefile (INSTALL): Add install-plain.texi as the primary
53441         dependency.
53442         * manual/install-plain.texi: New file.
53443         * manual/install.texi: Include node directive only for
53444         non-plaintext output.
53446 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53448         * stdlib/longlong.h: Update from GCC.
53450         [BZ #6807]
53451         [BZ #15901]
53452         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53453         * math/w_j0f.c (y0f): Likewise.
53454         * math/w_j0l.c (__y0l): Likewise.
53455         * math/w_j1.c (y1): Likewise.
53456         * math/w_j1f.c (y1f): Likewise.
53457         * math/w_j1l.c (__y1l): Likewise.
53458         * math/w_jn.c (yn): Likewise.
53459         * math/w_jnf.c (ynf): Likewise.
53460         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53461         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53462         value for Bessel function domain errors outside _SVID_ mode.
53463         Adjust sign of return value for yn (negative integer, 0).
53464         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53465         by zero in return for negative x and set sign appropriately for
53466         negative n.
53467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53468         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53469         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53470         expectations in error cases.
53471         (y1_test_data): Likewise.
53472         (yn_test_data): Likewise.
53473         * sysdeps/i386/fpu/libm-test-ulps: Update.
53474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53476 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53478         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53479         "64" to "64-v1".  Add "64-v2".
53480         (abi-64-options): Rename to ...
53481         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53482         (abi-64-condition): Rename to ...
53483         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53484         (abi-64-ld-soname): Rename to ...
53485         (abi-64-v1-ld-soname): ... this.
53486         (abi-64-v2-options): Define.
53487         (abi-64-v2-condition): Likewise.
53488         (abi-64-v2-ld-soname): Likewise.
53489         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53490         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53495 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53496             Alan Modra  <amodra@gmail.com>
53498         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53499         New versions for use with the ELFv2 ABI.
53500         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53501         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53502         declaration.
53503         (struct La_ppc64v2_retval): Likewise.
53504         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53505         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53506         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53507         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53508         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53509         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53510         Do not save or restore CR.
53511         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53512         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53513         return values for ELFv2 ABI.  Fix location of FPR return registers.
53514         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53515         updated values for _CALL_ELF == 2.
53516         (La_regs, La_retval, int_retval): Likewise.
53518 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53520         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53521         (FRAME_MIN_SIZE_PARM): Likewise.
53522         (FRAME_BACKCHAIN): Likewise.
53523         (FRAME_CR_SAVE): Likewise.
53524         (FRAME_LR_SAVE): Likewise.
53525         (FRAME_TOC_SAVE): Likewise.
53526         (FRAME_PARM_SAVE): Likewise.
53527         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53528         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53529         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53530         (call_mcount_parm_offset): New macro.
53531         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53532         (PROF): Use symbolic stack frame offsets.
53533         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53534         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53535         Redefine in terms of FRAME_MIN_SIZE.
53536         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53537         (_dl_profile_resolve): Likewise.  Update comment.
53538         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53539         symbols stack frame offsets.
53540         (__sigsetjmp): Likewise.
53541         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53542         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53543         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53544         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53547         (FRAME_BACKCHAIN): Remove.
53548         (FRAME_CR_SAVE): Likewise.
53549         (FRAME_LR_SAVE): Likewise.
53550         (FRAME_COMPILER_DW): Likewise.
53551         (FRAME_LINKER_DW): Likewise.
53552         (FRAME_TOC_SAVE): Likewise.
53553         (FRAME_PARM_SAVE): Likewise.
53554         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53555         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53556         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53558         (CHECK_SP): Use symbolic stack frame offsets.
53559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53560         zone" instead of caller's parameter save area for temp storage.
53561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53562         Likewise.  Also, use symbolic stack frame offsets.
53563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53564         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53565         our own stack frame instead of the caller's.
53566         (__socket): Use symbolic stack frame offsets.
53568 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53569             Alan Modra  <amodra@gmail.com>
53571         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53572         Define.
53573         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53574         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53575         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53576         New function.
53577         (elf_machine_fixup_plt): Call it.
53578         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53579         reloc arguments.
53580         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53581         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53582         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53583         r2 before calling target.
53585 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53586             Alan Modra  <amodra@gmail.com>
53588         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53589         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53590         versions of macros to support ELFv2 ABI.
53591         (LOCALENTRY): New macro.
53592         (ENTRY, EALIGN): Use it.
53593         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53594         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53595         fall through into ENTRY entry point.
53596         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53597         Only define if _CALL_ELF != 2.
53599         (elf_machine_matches_host): Verify ABI version matches.
53600         (RTLD_START): Use LOCALENTRY.
53601         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53602         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53603         (PLT_ENTRY_WORDS): New macro.
53604         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53605         (elf_machine_runtime_setup): Support ELFv2 ABI.
53606         (elf_machine_fixup_plt): Likewise.
53607         (elf_machine_plt_conflict): Likewise.
53608         (resolve_ifunc): Likewise.
53609         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53610         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53611         Likewise.
53612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53613         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53615         (makecontext): Support ELFv2 ABI.
53616         * elf/elf.h (EF_PPC64_ABI): Define.
53618 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53620         * sysdeps/powerpc/powerpc64/sysdep.h
53621         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53622         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53623         (ENTRY) [ASSEMBLER]: ... but instead here ...
53624         (EALIGN) [ASSEMBLER]: ... and here.
53625         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53626         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53627         (ENTRY_2) [!ASSEMBLER]: Use it.
53628         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53629         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53630         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53631         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53632         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53634         Use PPC64_LOAD_FUNCPTR.
53636         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53638 2013-12-04  Alan Modra  <amodra@gmail.com>
53640         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53641         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53642         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53643         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53646         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53647         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53648         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53649         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53650         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53652 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53655         (__makecontext): Fix incorrect CFI when backtracing out of
53656         context created via makecontext.
53657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53658         (__setcontext): Fix incorrect CFI during switch to new context.
53659         (__novec_setcontext): Likewise.
53661 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53663         [BZ #4772]
53664         * time/strptime_l.c (__strptime_internal): Allow modifiers
53665         in strptime.
53666         * time/tst-strptime.c (day_tests): Add testcase.
53668 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53670         * scripts/bench.pl: Skip over blank lines.
53672 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53674         [BZ #926]
53675         * manual/time.texi (Calendar Time): Clarify what timezone functions
53676         use.
53678 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53682 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53684         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53685         implementation.
53686         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53687         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53688         * debug/memset_chk.c (__memset_chk): Likewise.
53689         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53690         * debug/strncpy_chk.c: Likewise.
53692 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53694         [BZ #15268]
53695         [BZ #15425]
53696         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53697         (__ieee754_exp): For possibly underflowing results, check size of
53698         result and force underflow exception if required.
53699         * math/auto-libm-test-in: Add more tests of exp.
53700         * math/auto-libm-test-out: Regenerated.
53701         * sysdeps/i386/fpu/libm-test-ulps: Update.
53702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53704         [BZ #16283]
53705         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53706         * math/w_exp2f.c (__exp2f): Likewise.
53707         * math/w_exp2l.c (__exp2l): Likewise.
53708         * math/auto-libm-test-in: Do not allow missing errno on exp2
53709         underflow.
53710         * math/auto-libm-test-out: Regenerated.
53712 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53714         [BZ #16274]
53715         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53716         handle filename validation.
53717         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53718         (do_open): Delete.
53720 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53722         [BZ #6786]
53723         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53724         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53725         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53726         <float.h>.
53727         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53728         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53729         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53730         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53731         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53732         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53733         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53734         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53735         Add more erfc tests.
53736         * math/auto-libm-test-out: Regenerated.
53737         * sysdeps/i386/fpu/libm-test-ulps: Update.
53738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53740         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53741         exp2, expm1, j0 and j1.
53742         * math/auto-libm-test-out: Regenerated.
53743         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53744         (erfc_test_data): Likewise.
53745         (exp_test_data): Likewise.
53746         (exp_tonearest_test_data): Likewise.
53747         (exp_towardzero_test_data): Likewise.
53748         (exp_downward_test_data): Likewise.
53749         (exp_upward_test_data): Likewise.
53750         (exp10_test_data): Likewise.
53751         (exp2_test_data): Likewise.
53752         (expm1_test_data): Likewise.
53753         (j0_test_data): Likewise.
53754         (j1_test_data): Likewise.
53755         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53756         (input_flag_type): Add flag_xfail_rounding.
53757         (input_flags): Add xfail-rounding.
53758         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53759         (output_for_one_input_case): Handle flag_xfail_rounding.
53760         * sysdeps/i386/fpu/libm-test-ulps: Update.
53761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53763 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53765         [BZ #16289]
53766         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53767         division by 0.
53769 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53771         [BZ #16195]
53772         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53773         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53774         (STAP_PROBE0): New macro.
53775         (STAP_PROBE1): Likewise.
53776         (STAP_PROBE2): Likewise.
53777         (STAP_PROBE3): Likewise.
53778         (STAP_PROBE4): Likewise.
53780 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53782         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53784 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53786         * benchtests/Makefile (bench): Add sqrt.
53787         (LDLIBS-bench-sqrt): New.
53788         * benchtests/sqrt-input: New.
53790 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53792         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53793         (GAIH_EAI): Likewise.
53794         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53795         (gaih_inet): Likewise.
53796         (getaddrinfo): Don't use GAIH_EAI.
53798         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53799         (struct gaih): Remove definition.
53801 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53803         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53804         Use HERRNOP directly.
53806 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53810 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53812         * math/gen-auto-libm-tests.c (test_functions): Add more
53813         single-argument functions.
53814         (special_fill_pi_2): New function.
53815         (special_fill_minus_pi_2): Likewise.
53816         (special_fill_pi_6): Likewise.
53817         (special_fill_minus_pi_6): Likewise.
53818         (special_fill_pi_3): Likewise.
53819         (special_fill_2pi_3): Likewise.
53820         (special_fill_e): Likewise.
53821         (special_fill_1_e): Likewise.
53822         (special_fill_e_minus_1): Likewise.
53823         (special_real_inputs): Add more special inputs.
53824         (output_for_one_input_case): Do not require ERANGE on underflow to
53825         zero if round-to-nearest result does not underflow to zero, unless
53826         exact results required.
53827         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53828         atan, atanh, cbrt, cos and cosh.
53829         * math/auto-libm-test-out: Regenerated.
53830         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53831         (acos_tonearest_test_data): Likewise.
53832         (acos_towardzero_test_data): Likewise.
53833         (acos_downward_test_data): Likewise.
53834         (acos_upward_test_data): Likewise.
53835         (acosh_test_data): Likewise.
53836         (asin_test_data): Likewise.
53837         (asin_tonearest_test_data): Likewise.
53838         (asin_towardzero_test_data): Likewise.
53839         (asin_upward_test_data): Likewise.
53840         (asinh_test_data): Likewise.
53841         (atan_test_data): Likewise.
53842         (atanh_test_data): Likewise.
53843         (cbrt_test_data): Likewise.
53844         (cos_test_data): Likewise.
53845         (cos_tonearest_test_data): Likewise.
53846         (cos_towardzero_test_data): Likewise.
53847         (cos_downward_test_data): Likewise.
53848         (cos_upward_test_data): Likewise.
53849         (cosh_test_data): Likewise.
53850         (cosh_tonearest_test_data): Likewise.
53851         (cosh_towardzero_test_data): Likewise.
53852         (cosh_downward_test_data): Likewise.
53853         (cosh_upward_test_data): Likewise.
53854         * sysdeps/i386/fpu/libm-test-ulps: Update.
53855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53857 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53859         [BZ #6787]
53860         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53861         * math/w_exp10f.c (__exp10f): Likewise.
53862         * math/w_exp10l.c (__exp10l): Likewise.
53863         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53864         errno settings in existing tests.
53866         [BZ #14032]
53867         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53868         precision control set to double precision.
53869         * sysdeps/i386/fpu/w_sqrt.c: New file.
53870         * math/auto-libm-test-in: Add more tests.
53871         * math/auto-libm-test-out: Update.
53873         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53874         (sqrt_test_tonearest): New function.
53875         (sqrt_towardzero_test_data): New variable.
53876         (sqrt_test_towardzero): New function.
53877         (sqrt_downward_test_data): New variable.
53878         (sqrt_test_downward): New function.
53879         (sqrt_upward_test_data): New variable.
53880         (sqrt_test_upward): New function.
53881         (main): Call the new functions.
53883         * math/gen-auto-libm-tests.c: New file.
53884         * math/auto-libm-test-in: Likewise.
53885         * math/auto-libm-test-out: New generated file.
53886         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53887         variables.
53888         (%beautify): Add generated representations of zero.
53889         (top level): Set $auto_input and call parse_auto_input.
53890         (beautify): Remove trailing "f" from hex float constants.
53891         (parse_args): Handle XFAIL_TEST.
53892         (convert_condition): New function.
53893         (or_value): Likewise.
53894         (or_cond_value): Likewise.
53895         (generate_testfile): Handle AUTO_TESTS_* lines.
53896         (parse_auto_input): New function.
53897         * math/libm-test.inc (XFAIL_TEST): New macro.
53898         (ERRNO_UNCHANGED): Update value.
53899         (ERRNO_EDOM): Likewise.
53900         (ERRNO_ERANGE): Likewise.
53901         (IGNORE_RESULT): Likewise.
53902         (TEST_COND_flt_32): New macro.
53903         (TEST_COND_dbl_64): Likewise.
53904         (TEST_COND_ldbl_96_intel): Likewise.
53905         (TEST_COND_ldbl_96_m68k): Likewise.
53906         (TEST_COND_ldbl_128): Likewise.
53907         (TEST_COND_ldbl_128ibm): Likewise.
53908         (TEST_COND_long32): Likewise.
53909         (TEST_COND_long64): Likewise.
53910         (TEST_COND_before_rounding): Likewise.
53911         (TEST_COND_after_rounding): Likewise.
53912         (enable_test): Handle XFAIL_TEST flag.
53913         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53914         with finite results.
53915         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53916         auto-libm-test-out.
53918 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53919             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53921         [BZ #16214]
53922         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53923         __tls_get_addr_internal instead of __tls_get_offset in order to
53924         avoid GOT pointer dependency.  Make rtld export
53925         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53926         __tls_get_addr since we are a __tls_get_offset platform.
53927         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53928         GOT pointer being set up before.
53929         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53931 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53933         * manual/math.texi (Errors in Math Functions): Document accuracy
53934         goals.
53936         [BZ #15004]
53937         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53938         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53939         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53940         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53941         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53942         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53943         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53944         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53945         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53946         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53947         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53948         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53949         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53950         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53951         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53952         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53954         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53955         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53956         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53957         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53958         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53959         Likewise.
53960         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53961         Likewise.
53962         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53963         Likewise.
53964         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53965         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53966         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53967         atomic-feupdateenv and flt-rounds.
53968         * sysdeps/powerpc/nofpu/Versions (libc): Add
53969         __atomic_feholdexcept, __atomic_feclearexcept,
53970         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53971         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53972         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53973         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53974         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53975         here.
53976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53977         Update.
53979         * manual/arith.texi (FP Exceptions): Document that exceptions may
53980         not be raised when matherr is used.
53981         (Math Error Reporting): Document overflow in directed rounding
53982         modes.  Document that errno may not be set when finite values are
53983         returned on overflow.  Document intent to set errno on underflow
53984         only for underflow to zero.
53986         [BZ #16271]
53987         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53988         round-to-nearest then adjust result for other rounding modes.
53989         * include/fenv.h (fegetround): Use libm_hidden_proto.
53990         * math/fegetround.c (fegetround): Use libm_hidden_def.
53991         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53992         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53993         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53994         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53995         Likewise.
53996         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53997         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53998         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53999         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54001 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54003         [BZ #16077]
54004         * nss/Versions (libnss_files): Add
54005         _nss_files_gethostbyname3_r.
54006         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54007         New function.
54008         (HOST_DB_LOOKUP): Remove macro.
54009         (_nss_files_gethostbyname_r): Implement function without the
54010         HOST_DB_LOOKUP macro.
54011         (_nss_files_gethostbyname2_r): Likewise.
54013 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54015         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54017 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54019         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54020         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54021         warning.
54023 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54025         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54026         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54027         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54028         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54029         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54030         __fe_nomask_env_priv and attribute_hidden.
54031         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54032         (libc_feupdateenv_test_ppc): Likewise.
54033         (libc_feresetround_ppc): Likewise.
54034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54035         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54036         compat_symbol macro.
54037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54038         (__fe_nomask_env): Likewise.
54039         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54041 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54043         * string/Makefile: Remove ifunc tests.
54044         * string/test-string.h: Define TEST_IFUNC.
54045         * string/test-bcopy-ifunc.c: Remove.
54046         * string/test-bzero-ifunc.c: Likewise.
54047         * string/test-memccpy-ifunc.c: Likewise.
54048         * string/test-memchr-ifunc.c: Likewise.
54049         * string/test-memcmp-ifunc.c: Likewise.
54050         * string/test-memcpy-ifunc.c: Likewise.
54051         * string/test-memmem-ifunc.c: Likewise.
54052         * string/test-memmove-ifunc.c: Likewise.
54053         * string/test-mempcpy-ifunc.c: Likewise.
54054         * string/test-memrchr-ifunc.c: Likewise.
54055         * string/test-memset-ifunc.c: Likewise.
54056         * string/test-rawmemchr-ifunc.c: Likewise.
54057         * string/test-stpcpy-ifunc.c: Likewise.
54058         * string/test-stpncpy-ifunc.c: Likewise.
54059         * string/test-strcasecmp-ifunc.c: Likewise.
54060         * string/test-strcasestr-ifunc.c: Likewise.
54061         * string/test-strcat-ifunc.c: Likewise.
54062         * string/test-strchr-ifunc.c: Likewise.
54063         * string/test-strchrnul-ifunc.c: Likewise.
54064         * string/test-strcmp-ifunc.c: Likewise.
54065         * string/test-strcpy-ifunc.c: Likewise.
54066         * string/test-strcspn-ifunc.c: Likewise.
54067         * string/test-strlen-ifunc.c: Likewise.
54068         * string/test-strncasecmp-ifunc.c: Likewise.
54069         * string/test-strncat-ifunc.c: Likewise.
54070         * string/test-strncmp-ifunc.c: Likewise.
54071         * string/test-strncpy-ifunc.c: Likewise.
54072         * string/test-strnlen-ifunc.c: Likewise.
54073         * string/test-strpbrk-ifunc.c: Likewise.
54074         * string/test-strrchr-ifunc.c: Likewise.
54075         * string/test-strspn-ifunc.c: Likewise.
54076         * string/test-strstr-ifunc.c: Likewise.
54078 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54080         * benchtests/Makefile: Remove ifunc tests.
54081         * benchtests/bench-string.h: Define TEST_IFUNC.
54082         * benchtests/bench-bcopy-ifunc.c: Remove.
54083         * benchtests/bench-bzero-ifunc.c: Likewise.
54084         * benchtests/bench-memccpy-ifunc.c: Likewise.
54085         * benchtests/bench-memchr-ifunc.c: Likewise.
54086         * benchtests/bench-memcmp-ifunc.c: Likewise.
54087         * benchtests/bench-memcpy-ifunc.c: Likewise.
54088         * benchtests/bench-memmem-ifunc.c: Likewise.
54089         * benchtests/bench-memmove-ifunc.c: Likewise.
54090         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54091         * benchtests/bench-memrchr-ifunc.c: Likewise.
54092         * benchtests/bench-memset-ifunc.c: Likewise.
54093         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54094         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54095         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54096         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54097         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54098         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54099         * benchtests/bench-strcat-ifunc.c: Likewise.
54100         * benchtests/bench-strchr-ifunc.c: Likewise.
54101         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54102         * benchtests/bench-strcmp-ifunc.c: Likewise.
54103         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54104         * benchtests/bench-strcpy-ifunc.c: Likewise.
54105         * benchtests/bench-strcspn-ifunc.c: Likewise.
54106         * benchtests/bench-strlen-ifunc.c: Likewise.
54107         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54108         * benchtests/bench-strncat-ifunc.c: Likewise.
54109         * benchtests/bench-strncmp-ifunc.c: Likewise.
54110         * benchtests/bench-strncpy-ifunc.c: Likewise.
54111         * benchtests/bench-strnlen-ifunc.c: Likewise.
54112         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54113         * benchtests/bench-strrchr-ifunc.c: Likewise.
54114         * benchtests/bench-strsep-ifunc.c: Likewise.
54115         * benchtests/bench-strspn-ifunc.c: Likewise.
54116         * benchtests/bench-strstr-ifunc.c: Likewise.
54118 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54120         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54122 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54124         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54125         * rt/aio.h: Likewise.
54126         * sysdeps/gnu/bits/utmp.h: Likewise.
54127         * sysdeps/gnu/bits/utmpx.h: Likewise.
54128         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54129         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54130         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54131         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54132         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54133         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54134         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54135         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54136         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54137         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54138         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54139         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54140         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54142         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54143         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54144         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54145         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54146         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54147         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54148         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54149         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54150         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54151         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54152         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54154         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54155         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54156         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54157         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54158         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54159         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54160         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54161         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54162         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54163         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54164         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54165         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54166         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54167         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54168         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54169         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54171 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54173         [BZ #16245]
54174         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54175         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54177 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54179         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54180         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54181         Likewise.
54183 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54186         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54187         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54188         (__fesetround): Remove define.
54189         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54190         rounding and exceptions handling.
54191         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54192         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54193         (__fe_nomask_env): Likewise.
54194         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54195         __fegetround instead of fegetround.
54196         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54197         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54199 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54201         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54202         it's there.
54204         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54206 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54208         [BZ #11157]
54209         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54210         (encrypt_r): Likewise.
54211         * malloc/obstack.h (obstack_free): Likewise.
54212         * posix/unistd.h (encrypt): Likewise.
54214 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54216         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54217         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54218         DL_CALL_DT_FINI() that call the functions directly.
54219         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54220         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54221         * elf/dl-fini.c: Likewise.
54223 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54225         * malloc/hooks.c (memalign_check): Add alignment rounding.
54226         * malloc/malloc.c (_mid_memalign): New function.
54227         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54228         Implement by calling _mid_memalign.
54229         * manual/probes.texi (Memory Allocation Probes): Remove
54230         memory_valloc_retry and memory_pvalloc_retry.
54232 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54234         * locale/programs/locarchive.c (open_archive): Add const
54235         qualifier to ARCHIVEFNAME and copy default fname to
54236         DEFAULT_FNAME.
54238         [BZ #15601]
54239         * libio/tst-widetext.input: Rename Oriya to Odia.
54240         * locale/iso-639.def: Likewise.
54242         * manual/probes.texi (Mathematical Function Probes): Add
54243         documentation for sin, cos, asin and acos probes.
54244         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54245         (__sin32): Add slowasin probe.
54246         (__cos32): Add slowacos probe.
54247         (__mpsin): Add slowsin probe.
54248         (__mpcos): Add slowcos probe.
54250 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54252         [BZ #15483]
54253         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54254         thread-local __sim_exceptions_thread and global
54255         __sim_exceptions_global.
54256         (__sim_disabled_exceptions): Change to thread-local
54257         __sim_disabled_exceptions_thread and global
54258         __sim_disabled_exceptions_global.
54259         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54260         and global __sim_round_mode_global.
54261         (__simulate_exceptions): Use thread-local floating-point state and
54262         set global state from it as needed.
54263         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54264         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54265         __sim_round_mode_thread.
54266         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54267         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54268         and global __sim_exceptions_global.
54269         (__sim_disabled_exceptions): Change to thread-local
54270         __sim_disabled_exceptions_thread and global
54271         __sim_disabled_exceptions_global.
54272         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54273         and global __sim_round_mode_global.
54274         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54275         (SIM_SET_GLOBAL): Likewise.
54276         * sysdeps/powerpc/soft-fp/sfp-machine.h
54277         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54278         __sim_round_mode_thread.
54279         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54280         __sim_disabled_exceptions_thread.
54281         (__sim_exceptions): Change to __sim_exceptions_thread.
54282         (__sim_disabled_exceptions): Change to
54283         __sim_disabled_exceptions_thread.
54284         (__sim_round_mode): Change to __sim_round_mode_thread.
54285         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54286         thread-local floating-point state and set global state from it as
54287         needed.
54288         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54289         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54290         (__sim_disabled_exceptions): Remove extern declaration.
54291         (feenableexcept): Use thread-local floating-point state and set
54292         global state from it as needed.
54293         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54294         extern declaration.
54295         (__sim_disabled_exceptions): Likewise.
54296         (__sim_round_mode): Likewise.
54297         (__fegetenv): Use thread-local floating-point state.
54298         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54299         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54300         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54301         floating-point state and set global state from it as needed.
54302         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54303         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54304         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54305         Likewise.
54306         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54307         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54308         Likewise.
54309         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54310         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54311         Use __sim_round_mode_thread.
54312         * math/test-fenv-tls.c: New file.
54313         * math/Makefile (tests): Add test-fenv-tls.
54314         ($(objpfx)test-fenv-tls): Depend on
54315         $(common-objpfx)nptl/libpthread.so.
54317 2013-11-19  Andreas Schwab  <schwab@suse.de>
54319         * locale/programs/locale.c (show_info): Decode wordarray elements.
54320         * locale/categories.def (LC_MONETARY): Add element for
54321         _NL_MONETARY_CRNCYSTR.
54322         * locale/C-monetary.c (conversion_rate): New variable.
54323         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54324         element.
54326 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54328         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54329         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54331 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54333         * elf/Makefile (tst-auxv): New test.
54334         * elf/tst-auxv.c: New
54335         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54337 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54339         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54340         (hidden_proto): Caller changed.
54341         (hidden_tls_proto): New macro.
54342         (libc_hidden_tls_proto): Likewise.
54343         (rtld_hidden_tls_proto): Likewise.
54344         (libm_hidden_tls_proto): Likewise.
54345         (libresolv_hidden_tls_proto): Likewise.
54346         (librt_hidden_tls_proto): Likewise.
54347         (libdl_hidden_tls_proto): Likewise.
54348         (libnss_files_hidden_tls_proto): Likewise.
54349         (libnsl_hidden_tls_proto): Likewise.
54350         (libnss_nisplus_hidden_tls_proto): Likewise.
54351         (libutil_hidden_tls_proto): Likewise.
54353 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54355         [BZ #10253]
54356         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54357         (decompose_rpath): Defer expansion to fillin_rpath.
54358         (_dl_init_paths): Pass linkmap to fillin_rpath.
54360 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54362         * benchtests/Makefile: Add strsep.
54363         * benchtests/bench-strsep.c: New file: strsep benchtest.
54364         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54366 2013-11-18  Andreas Schwab  <schwab@suse.de>
54368         * locale/programs/locale.c (show_info) [case byte]: Check for
54369         '\377' instead of '\177'.
54370         * locale/C-monetary.c (not_available): Always use "\377".
54371         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54372         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54373         detect unavailable sign_posn locale elements.
54374         * locale/localeconv.c (__localeconv): For grouping and
54375         mon_grouping handle "\177" and "\377" like no grouping.
54376         (INT_ELEM): New macro.  Use it to set all numeric members.
54377         * locale/programs/ld-monetary.c (monetary_read)
54378         <tok_mon_grouping>: Normalize single -1 to the empty string.
54379         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54380         Likewise.
54382 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54384         [BZ #16055]
54385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54386         when we match (nil).
54387         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54389 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54391         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54392         (NO_TEST_INLINE): Update value.
54393         (ERRNO_UNCHANGED): Likewise.
54394         (ERRNO_EDOM): Likewise.
54395         (ERRNO_ERANGE): Likewise.
54396         (IGNORE_RESULT): Likewise.
54397         (check_float_internal): Check signs of NaN results if
54398         TEST_NAN_SIGN used.
54399         (check_complex): Pass TEST_NAN_SIGN flag through to second
54400         check_float_internal call.
54401         (copysign_test_data): Add tests with quiet NaNs as second
54402         argument.  Use TEST_NAN_SIGN.
54403         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54404         TEST_NAN_SIGN.
54405         (signbit_test_data): Add tests of quiet NaN argument.
54406         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54408         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54409         $ignore_result.
54410         (parse_args): Handle function results specified as IGNORE.
54411         * math/libm-test.inc (IGNORE_RESULT): New macro.
54412         (check_float_internal): Do not check numerical result if flag
54413         IGNORE_RESULT set.
54414         (check_complex): Pass through IGNORE_RESULT to second
54415         check_float_internal call.
54416         (check_int): Do not check numerical result if flag IGNORE_RESULT
54417         set.
54418         (check_long): Likewise.
54419         (check_bool): Likewise.
54420         (check_longlong): Likewise.
54421         (lrint_test_data): Add tests of infinite and NaN arguments.
54422         (lrint_tonearest_test_data): Likewise.
54423         (lrint_towardzero_test_data): Likewise.
54424         (lrint_downward_test_data): Likewise.
54425         (lrint_upward_test_data): Likewise.
54426         (llrint_test_data): Likewise.
54427         (llrint_tonearest_test_data): Likewise.
54428         (llrint_towardzero_test_data): Likewise.
54429         (llrint_downward_test_data): Likewise.
54430         (llrint_upward_test_data): Likewise.
54431         (lround_test_data): Likewise.
54432         (llround_test_data): Likewise.
54434         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54435         (ERRNO_UNCHANGED): Update value.
54436         (ERRNO_EDOM): Likewise.
54437         (ERRNO_ERANGE): Likewise.
54438         (NO_TEST_INLINE_FLOAT): New macro.
54439         (NO_TEST_INLINE_DOUBLE): Likewise.
54440         (enable_test): New function.
54441         (RUN_TEST_f_f): Check enable_test before running test.
54442         (RUN_TEST_2_f): Likewise.
54443         (RUN_TEST_fff_f): Likewise.
54444         (RUN_TEST_c_f): Likewise.
54445         (RUN_TEST_f_f1): Likewise.
54446         (RUN_TEST_fF_f1): Likewise.
54447         (RUN_TEST_fI_f1): Likewise.
54448         (RUN_TEST_ffI_f1): Likewise.
54449         (RUN_TEST_c_c): Likewise.
54450         (RUN_TEST_cc_c): Likewise.
54451         (RUN_TEST_f_i): Likewise.
54452         (RUN_TEST_f_i_tg): Likewise.
54453         (RUN_TEST_ff_i_tg): Likewise.
54454         (RUN_TEST_f_b): Likewise.
54455         (RUN_TEST_f_b_tg): Likewise.
54456         (RUN_TEST_f_l): Likewise.
54457         (RUN_TEST_f_L): Likewise.
54458         (RUN_TEST_fFF_11): Likewise.
54459         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54460         conditionals.
54461         (cosh_test_data): Likewise.
54462         (exp_test_data): Likewise.
54463         (expm1_test_data): Likewise.
54464         (hypot_test_data): Likewise.
54465         (pow_test_data): Likewise.
54466         (sinh_test_data): Likewise.
54467         (tanh_test_data): Likewise.
54468         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54469         flags argument.
54471         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54472         tests with quiet NaN input and output.
54473         (acosh_test_data): Likewise.
54474         (asin_test_data): Likewise.
54475         (asinh_test_data): Likewise.
54476         (atan_test_data): Likewise.
54477         (atanh_test_data): Likewise.
54478         (atan2_test_data): Likewise.
54479         (cbrt_test_data): Likewise.
54480         (cos_test_data): Likewise.
54481         (cosh_test_data): Likewise.
54482         (erf_test_data): Likewise.
54483         (erfc_test_data): Likewise.
54484         (exp_test_data): Likewise.
54485         (exp10_test_data): Likewise.
54486         (exp2_test_data): Likewise.
54487         (expm1_test_data): Likewise.
54488         (hypot_test_data): Likewise.
54489         (j0_test_data): Likewise.
54490         (j1_test_data): Likewise.
54491         (jn_test_data): Likewise.
54492         (lgamma_test_data): Likewise.
54493         (log_test_data): Likewise.
54494         (log10_test_data): Likewise.
54495         (log1p_test_data): Likewise.
54496         (log2_test_data): Likewise.
54497         (pow_test_data): Likewise.
54498         (scalb_test_data): Likewise.
54499         (sin_test_data): Likewise.
54500         (sincos_test_data): Likewise.
54501         (sinh_test_data): Likewise.
54502         (tan_test_data): Likewise.
54503         (tanh_test_data): Likewise.
54504         (tgamma_test_data): Likewise.
54505         (y0_test_data): Likewise.
54506         (y1_test_data): Likewise.
54507         (yn_test_data): Likewise.
54509         [BZ #16167]
54510         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54511         argument being NaN and avoid computations with second argument in
54512         that case.
54513         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54514         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54515         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54517 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54519         * locale/iso-639.def: Add Chitwani Tharu (the).
54521 2013-11-14  Andreas Schwab  <schwab@suse.de>
54523         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54524         word instead of empty string.
54526 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54529         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54531         (__fe_nomask_env): Likewise.
54533 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54535         * benchtests/bench-timing.h: Include time.h.
54537 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54539         [BZ #15997]
54540         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54541         to 3.4.0 for x32.
54542         * sysdeps/unix/sysv/linux/configure: Regenerated.
54544 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54546         [BZ #16151]
54547         * stdlib/strtod_l.c (round_and_return): Do not consider
54548         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54549         exponent one less than half the least subnormal exponent.
54550         * stdlib/test-strtod-round-data: Add more tests.
54551         * stdlib/tst-strtod-round.c (tests): Regenerated.
54553 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54555         [BZ #14143]
54556         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54557         (__fe_mask_env): Likewise.
54558         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54559         libm_hidden_proto and add function prototype.
54560         (__fe_mask_env): Add function prototype.
54561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54562         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54564         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54566         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54568 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54570         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54571         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54573 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54575         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54576         of htab_find_slot().
54578 2013-11-11  David S. Miller  <davem@davemloft.net>
54580         [BZ #16150]
54581         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54582         symbol in the non-vis3 case in static builds.
54583         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54584         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54585         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54586         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54588 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54590         [BZ #387]
54591         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54592         it is empty.
54594 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54596         * benchtests/Makefile: Add bench-strtod.
54597         * benchtests/bench-strtod.c: New file: strtod benchtest
54599 2013-11-11  Andreas Schwab  <schwab@suse.de>
54601         [BZ #16153]
54602         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54603         terminating NUL in key length.
54605 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54607         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54608         Add artificial ODP entry for vDSO symbol for PPC64.
54609         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54610         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54612 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54614         [BZ #15374]
54615         * nss/getent.c (services_keys): Recognize services starting with digit.
54617 2013-11-06  David S. Miller  <davem@davemloft.net>
54619         [BZ #15985]
54620         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54621         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54623 2013-11-06  Will Newton  <will.newton@linaro.org>
54625         * manual/memory.texi (Malloc Examples): Remove register
54626         keyword from examples.
54628 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54630         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54632 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54634         [BZ #6981]
54635         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54636         depending on [__GCC_IEC_559 > 0].
54637         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54638         depending on [__GCC_IEC_559_COMPLEX > 0].
54640 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54642         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54643         to iso-639.def.
54645 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54647         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54649 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54651         [BZ #16112]
54652         * malloc/malloc (malloc_info): Do not handle first bin as
54653         special case.
54655 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54657         * locale/iso-639.def: Add Central Nahuatl (nhn).
54659 2013-11-01  Bruno Haible  <bruno@clisp.org>
54661         [BZ #7003]
54662         * manual/math.texi (BSD Random): Specify range upper bound as
54663         in POSIX.
54665 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54667         * locale/iso-639.def: Add Meadow Mari (mhr).
54669 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54671         [BZ #14752], [BZ #15763]
54672         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54673         Validate name.
54674         * rt/tst_shm.c: Add test for escaping directory.
54676 2013-10-31  Andreas Schwab  <schwab@suse.de>
54678         [BZ #15917]
54679         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54680         followed by 'x' as part of digit sequence.
54681         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54683 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54685         [BZ #16037]
54686         * configure.ac: allow GNU Make 4.0 and greater.
54687         * configure: Regenerated.
54689 2013-10-30  Will Newton  <will.newton@linaro.org>
54691         [BZ #16038]
54692         * malloc/hooks.c (memalign_check): Limit alignment to the
54693         maximum representable power of two.
54694         * malloc/malloc.c (__libc_memalign): Likewise.
54695         * malloc/tst-memalign.c (do_test): Add test for very
54696         large alignment values.
54697         * malloc/tst-posix_memalign.c (do_test): Likewise.
54699 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54701         [BZ #11087]
54702         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54703         (munmap_chunk): Likewise.
54704         (mremap_chunk): Likewise.
54706 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54708         [BZ #15799]
54709         * stdlib/div.c (div): Remove obsolete code.
54710         * stdlib/ldiv.c (ldiv): Likewise.
54711         * stdlib/lldiv.c (lldiv): Likewise.
54713 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54715         [BZ #16071]
54716         * nss/nss_files/files-XXX.c (get_contents_ret): New
54717         enumerator.
54718         (get_contents): New function.
54719         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54721 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54723         * configure.in: Moved to ...
54724         * configure.ac: ... here. Change reference to configure.in
54725         to configure.ac.
54726         * sysdeps/arm/preconfigure.ac: ... here.
54727         configure.in to configure.ac.
54728         * sysdeps/gnu/configure.in: Moved to ...
54729         * sysdeps/gnu/configure.ac: ... here.
54730         * sysdeps/i386/configure.in: Moved to ...
54731         * sysdeps/i386/configure.ac: ... here.
54732         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54733         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54734         * sysdeps/mach/configure.in: Moved to ...
54735         * sysdeps/mach/configure.ac: ... here.
54736         * sysdeps/mach/hurd/configure.in: Moved to ...
54737         * sysdeps/mach/hurd/configure.ac: ... here.
54738         * sysdeps/powerpc/configure.in: Moved to ...
54739         * sysdeps/powerpc/configure.ac: ... here.
54740         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54741         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54742         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54743         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54744         * sysdeps/s390/s390-32/configure.in: Moved to ...
54745         * sysdeps/s390/s390-32/configure.ac: ... here.
54746         * sysdeps/s390/s390-64/configure.in: Moved to ...
54747         * sysdeps/s390/s390-64/configure.ac: ... here.
54748         * sysdeps/sh/configure.in: Moved to ...
54749         * sysdeps/sh/configure.ac: ... here.
54750         * sysdeps/sparc/configure.in: Moved to ...
54751         * sysdeps/sparc/configure.ac: ... here.
54752         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54753         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54754         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54755         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54756         * sysdeps/x86_64/configure.in: Moved to ...
54757         * sysdeps/x86_64/configure.ac: ... here.
54758         * sysdeps/x86_64/preconfigure.in: Moved to ...
54759         * sysdeps/x86_64/preconfigure.ac: ... here.
54760         * aclocal.m4: Change reference to configure.in to configure.ac.
54761         * config.h.in: Likewise.
54762         * manual/install.texi: Likewise.
54763         * manual/maint.texi: Likewise.
54764         * Makefile: Likewise.
54765         * malloc/Makefile: Likewise.
54766         * nscd/Makefile: Likewise.
54767         * Makeconfig: Change reference to configure.in and
54768         preconfigure.in to configure.ac and preconfigure.ac
54769         respectively.
54770         * INSTALL: Regenerated.
54771         * configure: Likewise.
54772         * sysdeps/gnu/configure: Likewise.
54773         * sysdeps/i386/configure: Likewise.
54774         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54775         * sysdeps/mach/configure: Likewise.
54776         * sysdeps/mach/hurd/configure: Likewise.
54777         * sysdeps/powerpc/configure: Likewise.
54778         * sysdeps/powerpc/powerpc32/configure: Likewise.
54779         * sysdeps/powerpc/powerpc64/configure: Likewise.
54780         * sysdeps/s390/s390-32/configure: Likewise.
54781         * sysdeps/s390/s390-64/configure: Likewise.
54782         * sysdeps/sh/configure: Likewise.
54783         * sysdeps/sparc/configure: Likewise.
54784         * sysdeps/unix/sysv/linux/configure: Likewise.
54785         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54786         * sysdeps/x86_64/configure: Likewise.
54787         * sysdeps/x86_64/preconfigure: Likewise.
54789 2013-10-29  Andreas Schwab  <schwab@suse.de>
54791         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54793 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54795         * benchtests/pow-inputs: Add new inputs.
54797         * benchtests/exp-inputs: Add new inputs.
54799         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54800         conditional check for return value.
54801         (__cos32): Likewise.
54803 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54805         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54806         to provide a boost for large inputs with word alignment.
54807         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54808         implementation based on optimized PPC64 strcpy.
54809         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54810         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54811         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54812         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54814 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54816         [BZ #2801]
54817         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54819 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54821         [BZ #14876]
54822         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54823         * time/tst-strptime.c (day_tests): Add testcase.
54825 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54827         [BZ #14029]
54828         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54830 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54832         [BZ #16074]
54833         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54834         MAP_FAILED on error.
54836 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54838         [BZ #16072]
54839         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54840         heap for large requests.
54842 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54844         [BZ #9954]
54845         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54846         result if the result has no associated interface.
54847         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54848         interface for all 127.X.Y.Z addresses.
54850 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54852         * locale/iso-639.def: Add Ligurian (lij)
54854 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54856         [BZ #15825]
54857         * sunrpc/rpc_main.c: Document rpcgen -5.
54859 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54861         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54863 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54865         [BZ #10278]
54866         * posix/glob.c: Match only directories when trailing slash is present.
54867         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54868         (main): Add testcase.
54870 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54872         [BZ #15670]
54873         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54875 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54877         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54878         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54879         AUTH_DES and cindex for FIPS 140-2.
54880         (DES Encryption): Add cindex FIPS 46-3.
54882         * locale/locarchive.h (struct locarhandle): Add fname.
54883         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54884         if an optional argument was specified to --list-archive,
54885         otherwise NULL.
54886         * locale/programs/locarchive.c (show_archive_content): Take new
54887         argument fname and pass it via ah.fname to open_archive.
54888         * locale/programs/localedef.h: Update decl.
54889         (open_archive): If AH->fname is non-null, open that file
54890         rather than the default file name, and don't ignore ENOENT.
54891         (create_archive): Set AH.fname to NULL.
54892         (delete_locales_from_archive): Likewise.
54893         (add_locales_to_archive): Likewise.
54894         * locale/programs/locfile.c (write_all_categories): Likewise.
54896 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54897             Aldy Hernandez  <aldyh@redhat.com>
54899         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54900         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54901         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54902         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54903         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54904         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54905         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54906         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54907         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54909         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54910         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54911         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54912         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54913         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54914         Likewise.
54915         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54916         Likewise.
54917         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54918         Likewise.
54919         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54920         Likewise.
54921         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54922         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54923         Likewise.
54924         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54925         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54926         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54927         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54928         Likewise.
54929         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54930         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54931         * sysdeps/powerpc/preconfigure: Likewise.
54932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54933         Likewise.
54934         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54935         Replace contents of file by #include of <fenv_libc.h>.
54936         * sysdeps/powerpc/soft-fp/sfp-machine.h
54937         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54938         and <sys/prctl.h>.
54939         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54943         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54949         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54952         Allow copysignl PLT reference to be missing.
54954 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54955             Joseph Myers  <joseph@codesourcery.com
54957         [BZ #15948]
54958         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54959         single character.
54960         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54962 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54964         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54965         * elf/tst-tls1.c: Likewise.
54966         * elf/tst-tls10.h: Likewise.
54967         * elf/tst-tls14.c: Likewise.
54968         * elf/tst-tls2.c: Likewise.
54969         * elf/tst-tls3.c: Likewise.
54970         * elf/tst-tls4.c: Likewise.
54971         * elf/tst-tls5.c: Likewise.
54972         * elf/tst-tls6.c: Likewise.
54973         * elf/tst-tls7.c: Likewise.
54974         * elf/tst-tls8.c: Likewise.
54975         * elf/tst-tls9.c: Likewise.
54976         * elf/tst-tlsmod1.c: Likewise.
54977         * elf/tst-tlsmod13.c: Likewise.
54978         * elf/tst-tlsmod13a.c: Likewise.
54979         * elf/tst-tlsmod14a.c: Likewise.
54980         * elf/tst-tlsmod16a.c: Likewise.
54981         * elf/tst-tlsmod16b.c: Likewise.
54982         * elf/tst-tlsmod2.c: Likewise.
54983         * elf/tst-tlsmod3.c: Likewise.
54984         * elf/tst-tlsmod4.c: Likewise.
54985         * elf/tst-tlsmod5.c: Likewise.
54986         * elf/tst-tlsmod6.c: Likewise.
54988 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54990         [BZ #12486]
54991         * malloc/malloc.c: remove checks for statistics.
54993 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54995         [BZ #15277]
54996         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54997         * inet/tst-network.c: Add testcase.
54999 2013-10-17  Andreas Schwab  <schwab@suse.de>
55001         [BZ #15218]
55002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55003         to determine canonical name.
55005 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55007         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55008         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55010         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55012         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55013         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55014         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55015         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55016         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55017         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55018         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55019         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55020         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55021         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55022         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55024         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55025         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55026         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55027         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55028         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55030         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55031         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55032         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55033         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55034         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55035         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55036         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55037         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55038         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55039         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55040         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55041         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55042         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55043         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55044         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55045         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55046         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55047         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55048         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55049         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55050         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55051         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55052         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55053         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55054         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55055         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55056         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55057         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55058         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55059         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55060         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55061         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55062         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55063         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55064         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55066 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55068         [BZ #16041]
55069         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55070         make result into a quiet NaN.
55072 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55074         * soft-fp/adddf3.c: Fix horizontal whitespace.
55075         * soft-fp/addsf3.c: Likewise.
55076         * soft-fp/addtf3.c: Likewise.
55077         * soft-fp/divdf3.c: Likewise.
55078         * soft-fp/divsf3.c: Likewise.
55079         * soft-fp/divtf3.c: Likewise.
55080         * soft-fp/double.h: Likewise.
55081         * soft-fp/eqdf2.c: Likewise.
55082         * soft-fp/eqsf2.c: Likewise.
55083         * soft-fp/eqtf2.c: Likewise.
55084         * soft-fp/extenddftf2.c: Likewise.
55085         * soft-fp/extended.h: Likewise.
55086         * soft-fp/extendsfdf2.c: Likewise.
55087         * soft-fp/extendsftf2.c: Likewise.
55088         * soft-fp/extendxftf2.c: Likewise.
55089         * soft-fp/fixdfdi.c: Likewise.
55090         * soft-fp/fixdfsi.c: Likewise.
55091         * soft-fp/fixdfti.c: Likewise.
55092         * soft-fp/fixsfdi.c: Likewise.
55093         * soft-fp/fixsfsi.c: Likewise.
55094         * soft-fp/fixsfti.c: Likewise.
55095         * soft-fp/fixtfdi.c: Likewise.
55096         * soft-fp/fixtfsi.c: Likewise.
55097         * soft-fp/fixtfti.c: Likewise.
55098         * soft-fp/fixunsdfdi.c: Likewise.
55099         * soft-fp/fixunsdfsi.c: Likewise.
55100         * soft-fp/fixunsdfti.c: Likewise.
55101         * soft-fp/fixunssfdi.c: Likewise.
55102         * soft-fp/fixunssfsi.c: Likewise.
55103         * soft-fp/fixunssfti.c: Likewise.
55104         * soft-fp/fixunstfdi.c: Likewise.
55105         * soft-fp/fixunstfsi.c: Likewise.
55106         * soft-fp/fixunstfti.c: Likewise.
55107         * soft-fp/floatdidf.c: Likewise.
55108         * soft-fp/floatdisf.c: Likewise.
55109         * soft-fp/floatditf.c: Likewise.
55110         * soft-fp/floatsidf.c: Likewise.
55111         * soft-fp/floatsisf.c: Likewise.
55112         * soft-fp/floatsitf.c: Likewise.
55113         * soft-fp/floattidf.c: Likewise.
55114         * soft-fp/floattisf.c: Likewise.
55115         * soft-fp/floattitf.c: Likewise.
55116         * soft-fp/floatundidf.c: Likewise.
55117         * soft-fp/floatundisf.c: Likewise.
55118         * soft-fp/floatunditf.c: Likewise.
55119         * soft-fp/floatunsidf.c: Likewise.
55120         * soft-fp/floatunsisf.c: Likewise.
55121         * soft-fp/floatunsitf.c: Likewise.
55122         * soft-fp/floatuntidf.c: Likewise.
55123         * soft-fp/floatuntisf.c: Likewise.
55124         * soft-fp/floatuntitf.c: Likewise.
55125         * soft-fp/fmadf4.c: Likewise.
55126         * soft-fp/fmasf4.c: Likewise.
55127         * soft-fp/fmatf4.c: Likewise.
55128         * soft-fp/gedf2.c: Likewise.
55129         * soft-fp/gesf2.c: Likewise.
55130         * soft-fp/getf2.c: Likewise.
55131         * soft-fp/ledf2.c: Likewise.
55132         * soft-fp/lesf2.c: Likewise.
55133         * soft-fp/letf2.c: Likewise.
55134         * soft-fp/muldf3.c: Likewise.
55135         * soft-fp/mulsf3.c: Likewise.
55136         * soft-fp/multf3.c: Likewise.
55137         * soft-fp/negdf2.c: Likewise.
55138         * soft-fp/negsf2.c: Likewise.
55139         * soft-fp/negtf2.c: Likewise.
55140         * soft-fp/op-1.h: Likewise.
55141         * soft-fp/op-2.h: Likewise.
55142         * soft-fp/op-4.h: Likewise.
55143         * soft-fp/op-8.h: Likewise.
55144         * soft-fp/op-common.h: Likewise.
55145         * soft-fp/quad.h: Likewise.
55146         * soft-fp/single.h: Likewise.
55147         * soft-fp/soft-fp.h: Likewise.
55148         * soft-fp/sqrtdf2.c: Likewise.
55149         * soft-fp/sqrtsf2.c: Likewise.
55150         * soft-fp/sqrttf2.c: Likewise.
55151         * soft-fp/subdf3.c: Likewise.
55152         * soft-fp/subsf3.c: Likewise.
55153         * soft-fp/subtf3.c: Likewise.
55154         * soft-fp/truncdfsf2.c: Likewise.
55155         * soft-fp/trunctfdf2.c: Likewise.
55156         * soft-fp/trunctfsf2.c: Likewise.
55157         * soft-fp/trunctfxf2.c: Likewise.
55158         * soft-fp/unorddf2.c: Likewise.
55159         * soft-fp/unordsf2.c: Likewise.
55160         * soft-fp/unordtf2.c: Likewise.
55162 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55164         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55165         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55167 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55169         * elf/dl-libc.c: Clear initfini list after freeing.
55171 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55173         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55174         * soft-fp/addsf3.c: Likewise.
55175         * soft-fp/addtf3.c: Likewise.
55176         * soft-fp/divdf3.c: Likewise.
55177         * soft-fp/divsf3.c: Likewise.
55178         * soft-fp/divtf3.c: Likewise.
55179         * soft-fp/double.h: Likewise.
55180         * soft-fp/eqdf2.c: Likewise.
55181         * soft-fp/eqsf2.c: Likewise.
55182         * soft-fp/eqtf2.c: Likewise.
55183         * soft-fp/extenddftf2.c: Likewise.
55184         * soft-fp/extended.h: Likewise.
55185         * soft-fp/extendsfdf2.c: Likewise.
55186         * soft-fp/extendsftf2.c: Likewise.
55187         * soft-fp/extendxftf2.c: Likewise.
55188         * soft-fp/fixdfdi.c: Likewise.
55189         * soft-fp/fixdfsi.c: Likewise.
55190         * soft-fp/fixdfti.c: Likewise.
55191         * soft-fp/fixsfdi.c: Likewise.
55192         * soft-fp/fixsfsi.c: Likewise.
55193         * soft-fp/fixsfti.c: Likewise.
55194         * soft-fp/fixtfdi.c: Likewise.
55195         * soft-fp/fixtfsi.c: Likewise.
55196         * soft-fp/fixtfti.c: Likewise.
55197         * soft-fp/fixunsdfdi.c: Likewise.
55198         * soft-fp/fixunsdfsi.c: Likewise.
55199         * soft-fp/fixunsdfti.c: Likewise.
55200         * soft-fp/fixunssfdi.c: Likewise.
55201         * soft-fp/fixunssfsi.c: Likewise.
55202         * soft-fp/fixunssfti.c: Likewise.
55203         * soft-fp/fixunstfdi.c: Likewise.
55204         * soft-fp/fixunstfsi.c: Likewise.
55205         * soft-fp/fixunstfti.c: Likewise.
55206         * soft-fp/floatdidf.c: Likewise.
55207         * soft-fp/floatdisf.c: Likewise.
55208         * soft-fp/floatditf.c: Likewise.
55209         * soft-fp/floatsidf.c: Likewise.
55210         * soft-fp/floatsisf.c: Likewise.
55211         * soft-fp/floatsitf.c: Likewise.
55212         * soft-fp/floattidf.c: Likewise.
55213         * soft-fp/floattisf.c: Likewise.
55214         * soft-fp/floattitf.c: Likewise.
55215         * soft-fp/floatundidf.c: Likewise.
55216         * soft-fp/floatundisf.c: Likewise.
55217         * soft-fp/floatunsidf.c: Likewise.
55218         * soft-fp/floatunsisf.c: Likewise.
55219         * soft-fp/floatuntidf.c: Likewise.
55220         * soft-fp/floatuntisf.c: Likewise.
55221         * soft-fp/floatuntitf.c: Likewise.
55222         * soft-fp/fmadf4.c: Likewise.
55223         * soft-fp/fmasf4.c: Likewise.
55224         * soft-fp/fmatf4.c: Likewise.
55225         * soft-fp/gedf2.c: Likewise.
55226         * soft-fp/gesf2.c: Likewise.
55227         * soft-fp/getf2.c: Likewise.
55228         * soft-fp/ledf2.c: Likewise.
55229         * soft-fp/lesf2.c: Likewise.
55230         * soft-fp/letf2.c: Likewise.
55231         * soft-fp/muldf3.c: Likewise.
55232         * soft-fp/mulsf3.c: Likewise.
55233         * soft-fp/multf3.c: Likewise.
55234         * soft-fp/negdf2.c: Likewise.
55235         * soft-fp/negsf2.c: Likewise.
55236         * soft-fp/negtf2.c: Likewise.
55237         * soft-fp/op-1.h: Likewise.
55238         * soft-fp/op-2.h: Likewise.
55239         * soft-fp/op-4.h: Likewise.
55240         * soft-fp/op-8.h: Likewise.
55241         * soft-fp/op-common.h: Likewise.
55242         * soft-fp/quad.h: Likewise.
55243         * soft-fp/single.h: Likewise.
55244         * soft-fp/soft-fp.h: Likewise.
55245         * soft-fp/sqrtdf2.c: Likewise.
55246         * soft-fp/sqrtsf2.c: Likewise.
55247         * soft-fp/sqrttf2.c: Likewise.
55248         * soft-fp/subdf3.c: Likewise.
55249         * soft-fp/subsf3.c: Likewise.
55250         * soft-fp/subtf3.c: Likewise.
55251         * soft-fp/truncdfsf2.c: Likewise.
55252         * soft-fp/trunctfdf2.c: Likewise.
55253         * soft-fp/trunctfsf2.c: Likewise.
55254         * soft-fp/trunctfxf2.c: Likewise.
55255         * soft-fp/unorddf2.c: Likewise.
55256         * soft-fp/unordsf2.c: Likewise.
55257         * soft-fp/unordtf2.c: Likewise.
55259 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55261         [BZ #15672]
55262         * misc/error.c (error_tail): Fix possible buffer overflow.
55264 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55266         [BZ #13028]
55267         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55268         address.
55270 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55272         [BZ #832]
55273         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55274         testing pipefail option.
55276 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55278         * soft-fp/double.h: Indent preprocessor directives inside #if.
55279         * soft-fp/extended.h: Likewise.
55280         * soft-fp/op-2.h: Likewise.
55281         * soft-fp/op-4.h: Likewise.
55282         * soft-fp/op-common.h: Likewise.
55283         * soft-fp/quad.h: Likewise.
55284         * soft-fp/single.h: Likewise.
55285         * soft-fp/soft-fp.h: Likewise.
55287 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55289         * iconv/iconv_prog.c: Fix typos.
55290         * stdio-common/psiginfo-data.h: Likewise.
55292 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55294         [BZ #15764]
55295         * locale/setlocale.c: Fix typo.
55297 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55299         [BZ #16036]
55300         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55301         signaling NaN arguments.
55302         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55303         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55305         [BZ #14910]
55306         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55307         unordered operands.
55308         * soft-fp/gesf2.c (__gesf2): Likewise.
55309         * soft-fp/getf2.c (__getf2): Likewise.
55310         * soft-fp/ledf2.c (__ledf2): Likewise.
55311         * soft-fp/lesf2.c (__lesf2): Likewise.
55312         * soft-fp/letf2.c (__letf2): Likewise.
55314         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55315         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55316         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55317         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55318         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55319         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55320         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55321         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55322         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55323         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55324         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55325         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55326         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55327         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55328         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55329         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55330         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55331         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55332         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55333         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55334         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55335         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55336         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55337         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55338         * soft-fp/floattidf.c (__floattidf): Likewise.
55339         * soft-fp/floattisf.c (__floattisf): Likewise.
55340         * soft-fp/floattitf.c (__floattitf): Likewise.
55341         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55342         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55343         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55344         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55345         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55346         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55347         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55348         * soft-fp/gesf2.c (__gesf2): Likewise.
55349         * soft-fp/getf2.c (__getf2): Likewise.
55350         * soft-fp/ledf2.c (__ledf2): Likewise.
55351         * soft-fp/lesf2.c (__lesf2): Likewise.
55352         * soft-fp/letf2.c (__letf2): Likewise.
55354         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55355         Undefine and redefine.
55356         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55357         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55358         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55359         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55360         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55361         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55362         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55363         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55364         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55365         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55366         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55367         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55368         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55369         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55370         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55372         [BZ #16032]
55373         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55374         without decrementing exponent if mantissa >= that for the
55375         denominator, not >.
55376         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55377         denominator, not >.  Decrement exponent in < case instead of
55378         incrementing in >= case.
55379         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55380         without decrementing exponent if mantissa >= that for the
55381         denominator, not >.
55383         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55384         computing saturated result for unsigned overflow.
55386 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55387             Jeff Law  <law@redhat.com>
55389         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55390         (atan2Mp): Add systemtap probe marker.
55391         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55392         (__ieee754_log): Add systemtap probe marker.
55393         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55394         (atanMp): Add systemtap probe marker.
55395         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55396         (tanMp): Add systemtap probe marker.
55397         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55398         (__slowexp): Add systemtap probe marker.
55399         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55400         (__slowpow): Add systemtap probe marker.
55401         * manual/probes.texi: Document probes.
55403 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55405         [BZ #15362]
55406         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55407         written.
55408         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55409         written.
55410         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55411         written to buffer but not flushed.
55412         * libio/iofwrite_u.c:  Likewise.
55413         * libio/iopadn.c:  Return bytes returned even if EOF was
55414         encountered.
55415         * libio/iowpadn.c:  Likewise.
55416         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55417         if _IO_padn does not write the whole buffer.
55418         [!COMPILE_WPRINTF] (PAD): Likewise.
55420 2013-10-10  David S. Miller  <davem@davemloft.net>
55422         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55423         directory block.
55425 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55427         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55428         instead of FSF address.
55429         * soft-fp/fixdfti.c: Likewise.
55430         * soft-fp/fixsfti.c: Likewise.
55431         * soft-fp/fixtfti.c: Likewise.
55432         * soft-fp/fixunsdfti.c: Likewise.
55433         * soft-fp/fixunssfti.c: Likewise.
55434         * soft-fp/fixunstfti.c: Likewise.
55435         * soft-fp/floattidf.c: Likewise.
55436         * soft-fp/floattisf.c: Likewise.
55437         * soft-fp/floattitf.c: Likewise.
55438         * soft-fp/floatuntidf.c: Likewise.
55439         * soft-fp/floatuntisf.c: Likewise.
55440         * soft-fp/floatuntitf.c: Likewise.
55441         * soft-fp/trunctfxf2.c: Likewise.
55443         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55444         * soft-fp/fixdfti.c: Likewise.
55445         * soft-fp/fixsfti.c: Likewise.
55446         * soft-fp/fixtfti.c: Likewise.
55447         * soft-fp/fixunsdfti.c: Likewise.
55448         * soft-fp/fixunssfti.c: Likewise.
55449         * soft-fp/fixunstfti.c: Likewise.
55450         * soft-fp/floattidf.c: Likewise.
55451         * soft-fp/floattisf.c: Likewise.
55452         * soft-fp/floattitf.c: Likewise.
55453         * soft-fp/floatuntidf.c: Likewise.
55454         * soft-fp/floatuntisf.c: Likewise.
55455         * soft-fp/floatuntitf.c: Likewise.
55456         * soft-fp/trunctfxf2.c: Likewise.
55458 2013-10-10  David S. Miller  <davem@davemloft.net>
55460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55462 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55464         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55465         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55466         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55467         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55468         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55469         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55470         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55472         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55473         for NaNs before doing comparisons on argument.
55474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55475         Likewise.
55477 2013-10-10  Will Newton  <will.newton@linaro.org>
55479         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55480         passed to _int_memalign does not overflow.
55482 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55484         * scripts/bench.pl: Add include-sources directive.
55485         * benchtests/README: Update documentation.
55487 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55489         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55490         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55491         instead of FP_INIT_ROUNDMODE.
55492         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55493         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55495         [BZ #16034]
55496         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55497         copy class of input value.
55498         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55499         not handle exceptions.
55500         * soft-fp/negsf2.c (__negsf2): Likewise.
55501         * soft-fp/negtf2.c (__negtf2): Likewise.
55502         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55504 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55506         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55507         semicolon.  From Linux kernel.
55509 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55511         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55513 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55515         [BZ #156]
55516         * manual/socket.texi: Added statement about buffer
55517         for gethostbyname2_r.
55519 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55521         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55522         Use .p2align directive instead, throughout.
55523         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55524         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55525         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55528         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55529         * sysdeps/x86_64/strchr.S: Likewise.
55530         * sysdeps/x86_64/strrchr.S: Likewise.
55532 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55534         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55536         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55538         * sysdeps/generic/math_private.h (__mpsin1): Remove
55539         declaration.
55540         (__mpcos1): Likewise.
55541         (__mpsin): New argument __range_reduce.
55542         (__mpcos): Likewise.
55543         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55544         (slow): Use __mpsin and __mpcos.
55545         (slow1): Likewise.
55546         (slow2): Likewise.
55547         (sloww): Likewise.
55548         (sloww1): Likewise.
55549         (sloww2): Likewise.
55550         (bsloww): Likewise.
55551         (bsloww1): Likewise.
55552         (bsloww2): Likewise.
55553         (cslow2): Likewise.
55554         (csloww): Likewise.
55555         (csloww1): Likewise.
55556         (csloww2): Likewise.
55557         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55558         range_reduce.  Merge in __mpsin1.
55559         (__mpcos): Likewise.
55560         (__mpsin1): Remove.
55561         (__mpcos1): Likewise.
55563 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55565         * locale/loadlocale.c (_nl_intern_locale_data): Use
55566         LOCFILE_ALIGNED_P.
55567         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55568         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55569         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55570         obstack data is appropriately aligned.
55571         (obstack_int32_grow_fast): Likewise.
55572         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55573         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55574         (add_locale_uint32_array): Likewise.
55576 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55578         * benchtests/Makefile: Remove ARGLIST and RET variables.
55579         ($(objpfx)bench-%.c): Pass only function name to the script.
55580         * benchtests/README: Update documentation.
55581         * benchtests/acos-inputs: Add new directives.
55582         * benchtests/acosh-inputs: Likewise.
55583         * benchtests/asin-inputs: Likewise.
55584         * benchtests/asinh-inputs: Likewise.
55585         * benchtests/atan-inputs: Likewise.
55586         * benchtests/atanh-inputs: Likewise.
55587         * benchtests/cos-inputs: Likewise.
55588         * benchtests/cosh-inputs: Likewise.
55589         * benchtests/exp-inputs: Likewise.
55590         * benchtests/log-inputs: Likewise.
55591         * benchtests/pow-inputs: Likewise.
55592         * benchtests/rint-inputs: Likewise.
55593         * benchtests/sin-inputs: Likewise.
55594         * benchtests/sinh-inputs: Likewise.
55595         * benchtests/tan-inputs: Likewise.
55596         * benchtests/tanh-inputs: Likewise.
55597         * scripts/bench.pl: Add support for new directives.
55599 2013-10-07  Alan Modra  <amodra@gmail.com>
55601         * README: Fix careless merge.
55603 2013-10-05  Alan Modra  <amodra@gmail.com>
55605         * NEWS: Mention powerpc64le support and bugs fixed.
55606         * README: Both big-endian and little-endian powerpc64 supported.
55608 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55610         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55611         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55612         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55613         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55615 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55617         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55618         match prototype.
55620 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55622         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55623         Move -mhard-float appending from
55624         ports/sysdeps/powerpc/powerpc32/Makefile.
55625         [$(with-fp) = yes] (ASFLAGS): Likewise.
55626         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55627         * sysdeps/powerpc/nofpu: Move directory from
55628         ports/sysdeps/powerpc/nofpu.
55629         * sysdeps/powerpc/soft-fp: Move directory from
55630         ports/sysdeps/powerpc/soft-fp.
55631         * sysdeps/powerpc/powerpc32/405: Move directory from
55632         ports/sysdeps/powerpc/powerpc32/405.
55633         * sysdeps/powerpc/powerpc32/440: Move directory from
55634         ports/sysdeps/powerpc/powerpc32/440.
55635         * sysdeps/powerpc/powerpc32/464: Move directory from
55636         ports/sysdeps/powerpc/powerpc32/464.
55637         * sysdeps/powerpc/powerpc32/476: Move directory from
55638         ports/sysdeps/powerpc/powerpc32/476.
55639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55640         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55642         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55644         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55646         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55648         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55649         * README: Update for powerpc-*-linux-gnu software floating point
55650         support in libc.
55652         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55653         case to powerpc/powerpc32*.
55654         * sysdeps/unix/sysv/linux/configure: Regenerated.
55656         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55657         (_FPU_MASK_OM): Define as 0x04.
55658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55660         0x00c10080.
55661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55662         0x0000003c.
55663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55666         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55667         getcontext_e500.
55668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55669         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55670         setcontext_e500.
55671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55672         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55673         and setcontext_e500.
55675 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55677         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55679 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55681         * manual/threads.texi (Default Thread Attributes): Fix typo.
55683 2013-10-04  Will Newton  <will.newton@linaro.org>
55685         * malloc/Makefile: Add tst-memalign.
55686         * malloc/tst-memalign.c: New file.
55688         * malloc/tst-posix_memalign.c: Add comments.
55689         (do_test): Add comments and call free on all potentially
55690         allocated pointers. Add space after cast.
55692         * malloc/tst-pvalloc.c: Add comments.
55693         (do_test): Add comments and call free on all potentially
55694         allocated pointers. Remove duplicate check for NULL pointer.
55695         Add space after cast.
55697         * malloc/tst-valloc.c: Add comments.
55698         (do_test): Add comments and call free on all potentially
55699         allocated pointers. Remove duplicate check for NULL pointer.
55700         Add space after cast.
55702 2013-10-04  Alan Modra  <amodra@gmail.com>
55704         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55705         Use stdint types in rather than __attribute__((mode())).
55706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55708 2013-10-04  Alan Modra  <amodra@gmail.com>
55710         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55711         Correct handling of unaligned relocs for little-endian.
55712         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55714 2013-10-04  Alan Modra  <amodra@gmail.com>
55716         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55717         * configure: Regenerate.
55718         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55719         * shlib-versions: Likewise.
55721 2013-10-04  Alan Modra  <amodra@gmail.com>
55723         * string/tester.c (test_memrchr): Increment reported test cycle.
55725 2013-10-04  Alan Modra  <amodra@gmail.com>
55727         * string/test-memcpy.c (do_one_test): When reporting errors, print
55728         string address and don't overrun end of string.
55730 2013-10-04  Alan Modra  <amodra@gmail.com>
55732         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55733         insrdi.  Make better use of reg selection to speed exit slightly.
55734         Schedule entry path a little better.  Remove useless "are we done"
55735         checks on entry to main loop.  Handle wrapping around zero address.
55736         Correct main loop count.  Handle single left-over word from main
55737         loop inline rather than by using loop_small.  Remove extra word
55738         case in loop_small caused by wrong loop count.  Add little-endian
55739         support.
55740         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55742         cache hint.
55743         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55744         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55745         support.  Avoid rlwimi.
55746         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55748 2013-10-04  Alan Modra  <amodra@gmail.com>
55750         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55751         insrdi.  Formatting.
55752         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55753         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55754         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55755         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55756         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55757         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55759 2013-10-04  Alan Modra  <amodra@gmail.com>
55761         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55763         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55764         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55765         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55766         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55767         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55768         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55769         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55770         use of regs.  Use power7 mtocrf.  Tidy function tails.
55772 2013-10-04  Alan Modra  <amodra@gmail.com>
55774         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55775         Formatting.  Consistently use rXXX register defines or rN defines.
55776         Use early exit labels that avoid restoring unused non-volatile regs.
55777         Make cr field use more consistent with rWORDn compares.  Rename
55778         regs used as shift registers for unaligned loop, using rN defines
55779         for short lifetime/multiple use regs.
55780         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55782         addi 1,1,64 to pop stack frame.  Simplify return value code.
55783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55785 2013-10-04  Alan Modra  <amodra@gmail.com>
55787         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55788         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55789         rather than rlwimi.
55790         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55791         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55792         little-endian support.  Correct typos.
55793         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55794         rather than rlwimi.
55795         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55796         in loop and entry code to keep "and." results.
55797         (strchr): Add little-endian support.  Comment.  Move cntlzd
55798         earlier in tail.
55799         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55801 2013-10-04  Alan Modra  <amodra@gmail.com>
55803         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55804         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55805         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55806         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55808 2013-10-04  Alan Modra  <amodra@gmail.com>
55810         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55811         (rTMP): Define as r11.
55812         (strcmp): Add little-endian support.  Optimise tail.
55813         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55814         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55815         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55816         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55817         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55818         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55819         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55821 2013-10-04  Alan Modra  <amodra@gmail.com>
55823         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55824         little-endian support.  Remove unnecessary "are we done" tests.
55825         Handle "s" wrapping around zero and extremely large "size".
55826         Correct main loop count.  Handle single left-over word from main
55827         loop inline rather than by using small_loop.  Correct comments.
55828         Delete "zero" tail, use "end_max" instead.
55829         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55831 2013-10-04  Alan Modra  <amodra@gmail.com>
55833         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55834         support.  Don't branch over align.
55835         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55836         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55837         support.  Rearrange tmp reg use to suit.  Comment.
55838         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55840 2013-10-04  Alan Modra  <amodra@gmail.com>
55842         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55844 2013-10-04  Alan Modra  <amodra@gmail.com>
55846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55847         conditional form of branch and link when obtaining pc.
55848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55850 2013-10-04  Alan Modra  <amodra@gmail.com>
55852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55853         HIWORD/LOWORD.
55854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55857 2013-10-04  Alan Modra  <amodra@gmail.com>
55859         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55860         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55861         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55862         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55863         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55864         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55865         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55866         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55867         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55868         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55870 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55871             Alistair Popple <alistair@ozlabs.au.ibm.com>
55872             Alan Modra <amodra@gmail.com>
55874         [BZ #15723]
55875         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55876         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55877         _dl_hwcap access for little-endian.
55878         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55879         destroy vmx regs when saving unaligned.
55880         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55881         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55882         destroy vmx regs when saving unaligned.
55884 2013-10-04  Alan Modra  <amodra@gmail.com>
55886         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55887         Don't use a union to pack hi/low value.
55889 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55891         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55892         for little-endian.
55893         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55894         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55895         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55896         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55897         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55899 2013-10-04  Alan Modra  <amodra@gmail.com>
55901         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55902         constants to usual value for .cst8 section, and remove redundant
55903         high address load.
55904         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55905         constant for 0x1p52.  Load little-endian words of double from
55906         correct stack offsets.
55908 2013-10-04  Alan Modra  <amodra@gmail.com>
55910         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55911         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55912         words of double from correct stack offsets.
55913         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55914         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55915         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55916         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55917         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55920         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55921         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55925         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55926         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55927         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55928         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55929         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55931 2013-10-04  Alan Modra  <amodra@gmail.com>
55933         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55934         64-bit int/double union.
55935         (_FPU_SETCW): Likewise.
55936         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55937         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55939 2013-10-04  Alan Modra  <amodra@gmail.com>
55941         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55942         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55944 2013-10-04  Alan Modra  <amodra@gmail.com>
55946         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55947         use vector int constants.
55948         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55950 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55952         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55953         array with long long.
55954         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55955         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55956         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55957         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55958         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55959         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55960         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55961         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55962         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55963         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55964         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55965         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55966         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55968 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55970         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55971         (__signbit): Likewise.  Correct for little-endian.
55972         (__signbitl): Call __signbit.
55973         (lrint): Correct for little-endian.
55974         (lrintf): Call lrint.
55976 2013-10-04  Alan Modra  <amodra@gmail.com>
55978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55979         union 32-bit int array member with 64-bit int array.
55980         (t515, tm256): Double rather than long double.
55981         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55983 2013-10-04  Alan Modra  <amodra@gmail.com>
55985         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55986         Delete.
55987         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55989         version of math_ldbl.h.
55991 2013-10-04  Alan Modra  <amodra@gmail.com>
55993         [BZ #15734], [BZ #15735]
55994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55995         all uses of ieee875 long double macros and unions.  Simplify test
55996         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55997         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55998         normalize after ldbl_extract_mantissa, and don't add hidden bit
55999         already handled.  Don't treat low word of ieee854 mantissa like
56000         low word of IBM long double and mask off bit when testing for
56001         zero.
56002         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56003         all uses of ieee875 long double macros and unions.  Simplify tests
56004         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56005         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56006         two1022, instead use their values.  Recognise that tests for large
56007         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56008         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56009         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56010         test for 0.0L and nan.  Correct negation.
56011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56012         ieee875 long double macros and unions.  Correct output for large
56013         magnitude x.  Correct absolute value calculation.
56014         (__erfcl): Likewise.
56015         * math/libm-test.inc: Add tests for errors discovered in IBM long
56016         double versions of fmodl, remainderl, erfl and erfcl.
56018 2013-10-04  Alan Modra  <amodra@gmail.com>
56020         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56021         all uses of ieee854 long double macros and unions.  Simplify tests
56022         for long doubles that are fully specified by the high double.
56023         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56024         Likewise.
56025         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56026         Remove dead code too.
56027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56028         (__ieee754_ynl): Likewise.
56029         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56032         Remove dead code too.
56033         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56034         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56036         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56037         Simplify.
56038         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56039         Simplify.
56040         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56041         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56043         Comment on variable precision.
56044         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56045         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56046         Likewise.
56047         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56048         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56049         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56050         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56051         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56053 2013-10-04  Alan Modra  <amodra@gmail.com>
56055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56056         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56057         all uses of ieee854 long double macros and unions.
56058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56060         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56061         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56063         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56064         Likewise.
56065         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56066         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56067         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56068         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56069         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56070         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56071         Simplify sign and nan test too.
56072         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56073         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56074         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56075         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56076         Likewise.
56077         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56078         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56079         Likewise.
56080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56081         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56082         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56083         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56084         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56087 2013-10-04  Alan Modra  <amodra@gmail.com>
56089         * stdio-common/printf_size.c (__printf_size): Don't use
56090         union ieee854_long_double in fpnum union.
56091         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56092         signbit macro to retrieve sign from long double.
56093         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56094         retrieve sign from long double.
56095         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56096         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56097         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56098         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56099         * math/test-misc.c (main): Don't use union ieee854_long_double.
56101 2013-10-04  Alan Modra  <amodra@gmail.com>
56103         [BZ #15680]
56104         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56105         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56106         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56107         calculation.  Remove unnecessary test for denormal exponent.
56108         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56109         Correct handling of denormals.  Avoid undefined shift behaviour.
56110         Correct normalisation of low mantissa when low double is denormal.
56111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56112         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56113         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56114         Correct normalisation of low mantissa.  Test for overflow of high
56115         mantissa and normalise.
56116         (ldbl_nearbyint): Use more readable constant for two52.
56117         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56118         (__mpn_construct_long_double): Fix test for overflow of high
56119         mantissa and correct normalisation.  Avoid undefined shift.
56121 2013-10-04  Alan Modra  <amodra@gmail.com>
56123         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56124         (union ibm_extended_long_double): Define as an array of ieee754_double.
56125         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56126         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56127         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56128         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56130         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56131         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56132         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56133         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56134         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56135         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56137 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56139         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56140         page size instead of calling getpagesize.
56142         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56143         (LOCFILE_ALIGN_MASK): Likewise.
56144         (LOCFILE_ALIGN_UP): Likewise.
56145         (LOCFILE_ALIGNED_P): Likewise.
56146         * locale/programs/ld-collate.c (collate_output): Use the new
56147         macros instead of __alignof__ (int32_t).
56148         * locale/weight.h (findidx): Likewise.
56150 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56152         [BZ #431]
56153         * manual/string.texi: Fix strncat and wcsncat.
56155 2013-10-03  Brooks Moses  <bmoses@google.com>
56157         [BZ #15915]
56158         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56159         * Makerules: ...here, and adjust associated comments.
56161 2013-10-02  Will Newton  <will.newton@linaro.org>
56163         * malloc/Makefile: Add tst-pvalloc.
56164         * malloc/tst-pvalloc.c: New file.
56166 2013-10-02  Will Newton  <will.newton@linaro.org>
56168         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56169         improve test coverage.
56171 2013-10-02  Will Newton  <will.newton@linaro.org>
56173         * malloc/Makefile: Add tst-posix_memalign.
56174         * malloc/tst-posix_memalign.c: New file.
56176 2013-10-01  Eric Blake  <eblake@redhat.com>
56178         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56179         Use __THROWNL rather than __THROW on static functions.
56181 2013-09-30  Petr Machata  <pmachata@redhat.com>
56183         * elf/elf.h (R_AARCH64_ABS16): New macro.
56184         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56185         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56186         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56187         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56188         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56189         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56190         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56191         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56192         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56193         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56194         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56195         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56196         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56197         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56198         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56199         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56200         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56201         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56202         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56203         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56204         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56205         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56206         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56207         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56208         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56209         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56210         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56211         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56212         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56213         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56214         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56215         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56216         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56217         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56218         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56219         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56220         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56221         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56222         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56223         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56224         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56225         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56226         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56227         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56228         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56229         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56230         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56231         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56232         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56233         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56234         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56235         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56236         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56237         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56238         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56239         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56240         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56241         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56242         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56243         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56244         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56245         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56246         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56247         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56248         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56249         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56250         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56251         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56252         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56253         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56254         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56255         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56256         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56257         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56258         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56259         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56260         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56261         (R_AARCH64_TLSDESC_LDR): Likewise.
56262         (R_AARCH64_TLSDESC_ADD): Likewise.
56263         (R_AARCH64_TLSDESC_CALL): Likewise.
56265 2013-09-30  Andreas Schwab  <schwab@suse.de>
56267         [BZ #15048]
56268         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56269         the nss database lookup.
56270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56273 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56275         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56277 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56279         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56280         ${Bash-specific parameter/pattern/string} parameter expansion.
56281         * sysdeps/unix/make-syscalls.sh: Likewise.
56283 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56285         * sysdeps/sh/stackguard-macros.h: New file.
56287 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56291         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56292         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56293         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56294         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56296 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56298         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56299         Fix thread ID register.
56301 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56303         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56304         [POSIX || UNIX98]: Require rather than permitting all symbols from
56305         <time.h>.
56306         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56307         element of struct sched_param.
56308         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56309         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56310         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56311         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56312         constant.
56314 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56316         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56317         argument calculation.
56319 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56321         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56322         Expect macro.
56323         [POSIX] (pthread_attr_t): Do not require type.
56324         [POSIX] (pthread_cond_t): Likewise.
56325         [POSIX] (pthread_condattr_t): Likewise.
56326         [POSIX] (pthread_key_t): Likewise.
56327         [POSIX] (pthread_mutex_t): Likewise.
56328         [POSIX] (pthread_mutexattr_t): Likewise.
56329         [POSIX] (pthread_once_t): Likewise.
56330         [POSIX] (pthread_t): Likewise.
56331         [POSIX-based standards] (pthread_atfork): Expect function.
56333 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56334             Richard Sandiford  <richard@codesourcery.com>
56336         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56337         (swap_endianness_p): New extern variable.
56338         (set_big_endian): New inline function.
56339         (maybe_swap_uint32): Likewise.
56340         (maybe_swap_uint32_array): Likewise.
56341         (maybe_swap_uint32_obstack): Likewise.
56342         * locale/programs/locfile.c: Include <stdbool.h>.
56343         (swap_endianness_p): New variable.
56344         (add_locale_uint32): Call maybe_swap_uint32.
56345         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56346         (write_locale_data): Call maybe_swap_uint32_array.
56347         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56348         maybe_swap_uint32.
56349         (obstack_int32_grow_fast): Likewise.
56350         (output_weightwc): Call maybe_swap_uint32_obstack.
56351         (collate_output): Likewise.
56352         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56353         (OPT_LITTLE_ENDIAN): Likewise.
56354         (options): Add --little-endian and --big-endian options.
56355         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56356         * locale/programs/locarchive.c: Include "locfile.h".
56357         (GET): New macro.
56358         (SET): Likewise.
56359         (INC): Likewise.
56360         (create_archive): Use the new macros to access fields of
56361         structures directly mapped from or written to locale archives.
56362         (oldlocrecentcmp): Likewise.
56363         (enlarge_archive): Likewise.
56364         (insert_name): Likewise.
56365         (add_alias): Likewise.
56366         (add_locale): Likewise.
56367         (delete_locales_from_archive): Likewise.
56368         (show_archive_content): Likewise.
56369         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56370         locale data.
56372 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56374         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56375         http://www.gnu.org/doc/freemanuals.texi.
56376         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56378 2013-09-24  Will Newton  <will.newton@linaro.org>
56380         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56381         macro.
56383 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56385         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56386         unsigned char.
56388 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56390         * manual/threads.texi (POSIX Threads): Fix a typo.
56392 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56394         [BZ #14547]
56395         * string/tst-strcoll-overflow.c: New test case.
56396         * string/Makefile (xtests): Add tst-strcoll-overflow.
56397         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56398         cache if string sizes may cause integer overflow.
56400         [BZ #14547]
56401         * string/strcoll_l.c (coll_seq): New members rule, idx,
56402         save_idx and back_us.
56403         (get_next_seq_nocache): New function.
56404         (do_compare_nocache): New function.
56405         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56406         when malloc fails.
56408 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56410         [BZ #15754]
56411         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56412         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56413         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56415         [BZ #15754]
56416         * elf/Makefile (tests): Add tst-ptrguard1.
56417         (tests-static): Add tst-ptrguard1-static.
56418         (tst-ptrguard1-ARGS): Define.
56419         (tst-ptrguard1-static-ARGS): Define.
56420         * elf/tst-ptrguard1.c: New file.
56421         * elf/tst-ptrguard1-static.c: New file.
56422         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56423         * sysdeps/i386/stackguard-macros.h: Likewise.
56424         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56425         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56426         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56427         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56428         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56429         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56431 2013-09-23  Hector Marco  <hecmargi@upv.es>
56432             Ismael Ripoll  <iripoll@disca.upv.es>
56433             Carlos O'Donell  <carlos@redhat.com>
56435         [BZ #15754]
56436         * sysdeps/generic/stackguard-macros.h: Define
56437         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56438         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56439         Define __pointer_chk_guard_local.
56440         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56441         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56443 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56445         [BZ #15859]
56446         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56448 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56450         * include/string.h (__ffs): Declare as hidden.
56451         * string/ffs.c (__ffs): Define as hidden.
56452         * sysdeps/i386/ffs.c (__ffs): Likewise.
56453         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56454         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56455         * sysdeps/s390/ffs.c (__ffs): Likewise.
56456         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56458 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56460         * NEWS: Mention malloc probes.
56462         * malloc/arena.c (new_heap): New memory_heap_new probe.
56463         (grow_heap): New memory_heap_more probe.
56464         (shrink_heap): New memory_heap_less probe.
56465         (heap_trim): New memory_heap_free probe.
56466         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56467         (systrim): New memory_sbrk_less probe.
56468         * manual/probes.texi: Document them.
56470         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56471         * manual/probes.texi: Document it.
56473         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56474         (__libc_realloc): Add memory_realloc_retry probe.
56475         (__libc_memalign): Add memory_memalign_retry probe.
56476         (__libc_valloc): Add memory_valloc_retry probe.
56477         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56478         (__libc_calloc): Add memory_calloc_retry probe.
56479         * manual/probes.texi: Document them.
56481         * malloc/arena.c (get_free_list): Add probe
56482         memory_arena_reuse_free_list.
56483         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56484         and memory_arena_reuse.
56485         (arena_get2) [!PER_THREAD]: Likewise.
56486         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56487         memory_arena_reuse_realloc.
56488         * manual/probes.texi: Document them.
56490         * malloc/malloc.c (__libc_free): Add
56491         memory_mallopt_free_dyn_thresholds probe.
56492         (__libc_mallopt): Add multiple memory_mallopt probes.
56493         * manual/probes.texi: Document them.
56495         * malloc/malloc.c: Include stap-probe.h.
56496         (__libc_mallopt): Add memory_mallopt probe.
56497         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56498         * manual/probes.texi: New.
56499         * manual/Makefile (chapters): Add probes.
56500         * manual/threads.texi: Set next node.
56502 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56504         [BZ #15963, #13985]
56505         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56506         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56507         Add `Chinese' to `nan' entry name.
56509 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56511         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56512         (POLYNOMIAL): Likewise.
56513         (TAYLOR_SINCOS): Likewise.
56514         (TAYLOR_SLOW): Likewise.
56515         (__sin): Use TAYLOR_SINCOS.
56516         (__cos): Likewise.
56517         (slow): Use TAYLOR_SLOW.
56518         (sloww): Likewise.
56519         (bsloww): Likewise.
56520         (csloww): Likewise.
56522 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56524         * stdlib/strtod_l.c: Fix buffer overrun.
56526 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56528         * benchtests/Makefile (bench): Add sincos.
56529         * benchtests/bench-sincos.c: New file.
56531         * math/libm-test.inc (cos_test_data): New test inputs.
56532         (sin_test_data): Likewise.
56534         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56535         macro.
56536         (__sin): Use it.
56537         (__cos): Likewise.
56538         (slow1): Likewise.
56539         (slow2): Likewise.
56540         (sloww1): Likewise.
56541         (sloww2): Likewise.
56542         (bsloww1): Likewise.
56543         (bsloww2): Likewise.
56544         (cslow2): Likewise.
56545         (csloww1): Likewise.
56546         (csloww2): Likewise.
56548         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56549         function.
56550         (__sin): Use it.
56551         (__cos): Likewise.
56553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56554         gotos.
56555         (__cos): Likewise.
56557 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56559         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56560         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56561         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56562         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56563         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56564         * elf/cache.c (print_entry): Handle the new cache flags.
56566 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56567             Aldy Hernandez  <aldyh@redhat.com>
56569         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56570         Change condition to [_SOFT_FLOAT].
56571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56583         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56586         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56587         declaration.
56589 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56591         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56592         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56593         (__longjmp): Use LOAD_GP to load saved GPRs.
56594         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56595         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56596         (__sigsetjmp): Use SAVE_GP to save GPRs.
56598         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56599         Do not append -msoft-float.
56600         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56602 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56604         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56606 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56608         [BZ #15966]
56609         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56610         (_FPU_GETCW): Use initial "__" on variable and field names but not
56611         on macro parameter name.
56612         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56613         parentheses around reference to macro parameter.
56615 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56617         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56618         prototype.
56619         (ctype_startup): Use uint32_t in cast and sizeof for
56620         ctype->charnames.
56622 2013-09-11  Jia Liu  <proljc@gmail.com>
56624         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56625         __daddr_t_defined.
56626         [__FreeBSD__]: Likewise.
56628 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56631         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56632         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56633         (strchr): Remove __strchr_sse42 ifunc selection.
56634         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56635         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56637 2013-09-11  Will Newton  <will.newton@linaro.org>
56639         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56640         parameter to RES. Remove hardcoded 1000 value.
56641         * benchtests/bench-skeleton.c (main): Pass RES parameter
56642         to TIMING_INIT and multiply result by 1000.
56644 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56648 2013-09-11  Andreas Schwab  <schwab@suse.de>
56650         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56651         if not defined.
56652         (O_TMPFILE) [__USE_GNU]: Define.
56653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56654         Define.
56656 2013-09-11  Will Newton  <will.newton@linaro.org>
56658         [BZ #15857]
56659         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56660         does not overflow.
56662 2013-09-11  Will Newton  <will.newton@linaro.org>
56664         [BZ #15856]
56665         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56666         does not overflow.
56668 2013-09-11  Will Newton  <will.newton@linaro.org>
56670         [BZ #15855]
56671         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56672         does not overflow.
56674 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56676         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56677         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56678         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56679         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56680         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56682 2013-09-10  Allan McRae  <allan@archlinux.org>
56684         [BZ #15748]
56685         * manual/arith.texi (Parsing of Floats): Clarify
56686         cross-reference.
56688         [BZ #15849]
56689         * manual/install.texi (Running make install): Mention
56690         --enable-pt-chown.
56691         * INSTALL: Regenerated.
56693 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56695         * csu/init-first.c (_init): Remove the !SHARED condition around
56696         FPU control word initialization.
56697         * elf/dl-support.c (_dl_fpu_control): New variable.
56698         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56699         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56700         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56701         * math/test-fpucw-static.c: New file.
56702         * math/test-fpucw-ieee.c: New file.
56703         * math/test-fpucw-ieee-static.c: New file.
56704         * math/Makefile (tests): Add `test-fpucw-ieee' and
56705         `$(tests-static)'.
56706         (tests-static): New variable.
56707         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56708         dependency to...
56709         [($(build-shared),yes)]
56710         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56711         ... this.
56712         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56713         New dependency.
56715 2013-09-09  Allan McRae  <allan@archlinux.org>
56717         [BZ #15939]
56718         * manual/string.texi (Collation Functions): Fix typo in
56719         strcoll example.
56720         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56722         [BZ #15893]
56723         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56725         [BZ #15892]
56726         * libio/memstream.c (open_memstream): Fix memory leak.
56727         * libio/wmemstream.c (open_wmemstream): Likewise.
56729         [BZ #15895]
56730         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56732 2013-09-09  Will Newton  <will.newton@linaro.org>
56734         * malloc/Makefile: Add tst-realloc to tests.
56735         * malloc/tst-realloc.c: New file.
56737 2013-09-09  Allan McRae  <allan@archlinux.org>
56739         [BZ #15844]
56740         * COPYING: Update from GNU website to fix FSF address.
56741         * COPYING.LIB: Likewise.
56743 2013-09-06  David S. Miller  <davem@davemloft.net>
56745         * po/zh_TW.po: Update Chinese (traditional) translation from
56746         translation project.
56748 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56749             Joseph Myers  <joseph@codesourcery.com>
56751         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56752         "localeinfo.h".
56753         (obstack_chunk_alloc): New macro.
56754         (obstack_chunk_free): Likewise.
56755         (record_offset): New function.
56756         (init_locale_data): Likewise.
56757         (align_locale_data): Likewise.
56758         (add_locale_empty): Likewise.
56759         (add_locale_raw_data): Likewise.
56760         (add_locale_raw_obstack): Likewise.
56761         (add_locale_string): Likewise.
56762         (add_locale_wstring): Likewise.
56763         (add_locale_uint32): Likewise.
56764         (add_locale_uint32_array): Likewise.
56765         (add_locale_char): Likewise.
56766         (start_locale_structure): Likewise.
56767         (end_locale_structure): Likewise.
56768         (start_locale_prelude): Likewise.
56769         (end_locale_prelude): Likewise.
56770         (write_locale_data): Take locale_file structure rather than an
56771         iovec.
56772         * locale/programs/locfile.h: Include "obstack.h".
56773         (struct locale_file): Change to store locale file contents instead
56774         of header.
56775         (init_locale_data): New prototype.
56776         (align_locale_data): Likewise.
56777         (add_locale_empty): Likewise.
56778         (add_locale_raw_data): Likewise.
56779         (add_locale_raw_obstack): Likewise.
56780         (add_locale_string): Likewise.
56781         (add_locale_wstring): Likewise.
56782         (add_locale_uint32): Likewise.
56783         (add_locale_uint32_array): Likewise.
56784         (add_locale_char): Likewise.
56785         (start_locale_structure): Likewise.
56786         (end_locale_structure): Likewise.
56787         (start_locale_prelude): Likewise.
56788         (end_locale_prelude): Likewise.
56789         (write_locale_data): Update prototype.
56790         * locale/programs/3level.h (struct TABLE): Remove result field.
56791         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56792         Use new locale_file interface.
56793         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56794         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56795         * locale/programs/ld-address.c (address_output): Use new
56796         locale_file interface.
56797         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56798         NO_ADD_LOCALE.
56799         (collate_finish): Don't call collseq_table_finalize.
56800         (collate_output): Use new locale_file interface.
56801         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56802         in file.
56803         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56804         (TABLE): Move defines earlier in file.
56805         (ELEMENT): Likewise.
56806         (DEFAULT): Likewise.
56807         (wctrans_table_add): Move macro and inline function earlier in
56808         file.
56809         (struct wctype_table): Move type earlier in file.
56810         (add_locale_wctype_table): New static prototype.
56811         (struct locale_ctype_t): Use logical types instead of struct iovec
56812         pointers for members.
56813         (ctype_output): Use new locale_file interface.
56814         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56815         new locale_file interface.
56816         (allocate_arrays): Update for use of new locale_file interface.
56817         * locale/programs/ld-identification.c (identification_output): Use
56818         new locale_file interface.
56819         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56820         * locale/programs/ld-messages.c (messages_output): Likewise.
56821         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56822         * locale/programs/ld-name.c (name_output): Likewise.
56823         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56824         * locale/programs/ld-paper.c (paper_output): Likewise.
56825         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56826         * locale/programs/ld-time.c (time_output): Likewise.
56828 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56830         * benchtests/Makefile: Add memrchr benchmark.
56831         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56832         benchmark as memrchr.
56833         * benchtests/bench-memrchr-ifunc.c: New file.
56834         * benchtests/bench-memrchr.c: New file.
56836 2013-09-06   Will Newton  <will.newton@linaro.org>
56838         * benchtests/Makefile (string-bench): Add memcpy.
56840 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56841             Cong Wang  <amwang@redhat.com>
56843         [BZ #15850]
56844         * sysdeps/unix/sysv/linux/bits/in.h
56845         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56846         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56847         before __USE_KERNEL_IPV6_DEFS uses.
56848         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56849         IPPROTO_BEETPH.
56850         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56851         sockaddr_in6, or ipv6_mreq.
56853 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56855         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56856         memory access for final bytes in some large inputs.
56857         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56859 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56861         * string/test-memrchr.c: New file.
56862         * string/test-memrchr-ifunc.c: New file.
56863         * string/Makefile: Add new memrchr testcase.
56865 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56867         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56868         fanotify_init returns EPERM.
56870 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56872         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56873         errors.
56874         (top level): Treat second token from macro or constant entries for
56875         allowed headers as allowed.
56876         * include/complex.h: Condition internal declarations on
56877         [!_ISOMAC].
56878         * include/fenv.h: Condition include of <stdbool.h> and internal
56879         declarations on [!_ISOMAC].
56881 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56883         [BZ #15923]
56884         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56886 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56888         * configure.in (--enable-versioning): Remove configure option.
56889         (libc_cv_asm_symver_directive): Remove configure test.
56890         (libc_cv_ld_version_script_option): Likewise.
56891         (VERSIONING): Remove variable and AC_SUBST.
56892         (DO_VERSIONING): Remove AC_DEFINE.
56893         * configure: Regenerated.
56894         * config.h.in (DO_VERSIONING): Remove macro.
56895         * Makerules [$(versioning) = yes]: Change conditionals to
56896         [$(build-shared) = yes].
56897         * config.make.in (versioning): Remove variable.
56898         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56899         [$(build-shared) = yes].
56900         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56901         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56902         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56903         [$(build-shared) = yes].
56904         * extra-lib.mk [$(versioning) = yes]: Likewise.
56905         * hurd/Makefile [$(versioning) = yes]: Likewise.
56906         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56907         [SHARED].
56908         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56909         [SHARED].
56910         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56911         [SHARED && !NO_HIDDEN].
56912         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56913         [SHARED].
56914         [SHARED && DO_VERSIONING]: Likewise..
56915         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56916         [$(build-shared) = yes].
56917         * manual/install.texi (--disable-versioning): Remove
56918         documentation.
56919         * INSTALL: Regenerated.
56920         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56921         to [SHARED].
56922         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56923         [$(build-shared) = yes].
56924         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56925         * sysdeps/i386/i686/multiarch/strstr-c.c
56926         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56927         [SHARED && !NO_HIDDEN].
56928         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56929         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56930         * sysdeps/powerpc/powerpc32/dl-machine.c
56931         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56932         * sysdeps/powerpc/powerpc32/sysdep.h
56933         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56934         to [SHARED && PIC && !NO_HIDDEN].
56935         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56936         conditional to [SHARED].
56938 2013-09-04   Will Newton  <will.newton@linaro.org>
56940         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56941         * benchtests/bench-string.h: Include bench-timing.h instead
56942         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56943         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56944         call to HP_TIMING_DIFF_INIT.
56945         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56946         instead of hp-timing.h macros.
56947         * benchtests/bench-memchr.c: Likewise.
56948         * benchtests/bench-memcmp.c: Likewise.
56949         * benchtests/bench-memcpy.c: Likewise.
56950         * benchtests/bench-memmem.c: Likewise.
56951         * benchtests/bench-memmove.c: Likewise.
56952         * benchtests/bench-memset.c: Likewise.
56953         * benchtests/bench-rawmemchr.c: Likewise.
56954         * benchtests/bench-strcasecmp.c: Likewise.
56955         * benchtests/bench-strcasestr.c: Likewise.
56956         * benchtests/bench-strcat.c: Likewise.
56957         * benchtests/bench-strchr.c: Likewise.
56958         * benchtests/bench-strcmp.c: Likewise.
56959         * benchtests/bench-strcpy.c: Likewise.
56960         * benchtests/bench-strcpy_chk.c: Likewise.
56961         * benchtests/bench-strlen.c: Likewise.
56962         * benchtests/bench-strncasecmp.c: Likewise.
56963         * benchtests/bench-strncat.c: Likewise.
56964         * benchtests/bench-strncmp.c: Likewise.
56965         * benchtests/bench-strncpy.c: Likewise.
56966         * benchtests/bench-strnlen.c: Likewise.
56967         * benchtests/bench-strpbrk.c: Likewise.
56968         * benchtests/bench-strrchr.c: Likewise.
56969         * benchtests/bench-strspn.c: Likewise.
56970         * benchtests/bench-strstr.c: Likewise.
56972 2013-09-04  Will Newton  <will.newton@linaro.org>
56974         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56976 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56978         [BZ #15427]
56979         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56980         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56981         * math/libm-test.inc (lgamma_test_data): Add more tests.
56982         * sysdeps/i386/fpu/libm-test-ulps: Update.
56983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56985 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56987         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56989         Add ifunc.
56990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56991         Add strcmp-sse2-unaligned
56992         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56994 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56996         * Versions.def (libc): Add GLIBC_2.19.
56998 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57000         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57001         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57003 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57005         [BZ #14155]
57006         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57007         intermediate calculations in recurrence.
57008         (__ieee754_ynf): Likewise.
57009         * math/libm-test.inc (jn_test_data): Do not allow spurious
57010         underflow exception.  Add more tests.
57011         (yn_test_data): Add more tests.
57012         * sysdeps/i386/fpu/libm-test-ulps: Update.
57013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57015 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57017         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57019 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57021         * csu/init-first.c: Fix then/than typos.
57022         * locale/programs/ld-collate.c: Likewise.
57023         * locale/programs/linereader.h: Likewise.
57024         * manual/charset.texi: Likewise.
57025         * manual/filesys.texi: Likewise.
57026         * manual/stdio.texi: Likewise.
57027         * manual/string.texi: Likewise.
57028         * stdlib/fmtmsg.c: Likewise.
57029         * sysdeps/i386/stpncpy.S: Likewise.
57030         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57031         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57033         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57035 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57037         * elf/dl-open.c: Fix typos.
57038         * iconvdata/gbbig5.c: Likewise.
57039         * iconvdata/iso-2022-jp.c: Likewise.
57040         * iconv/gconv_int.h: Likewise.
57041         * iconv/loop.c: Likewise.
57042         * nis/rpcsvc/nis.h: Likewise.
57043         * resolv/ns_name.c: Likewise.
57044         * stdio-common/vfscanf.c: Likewise.
57045         * streams/stropts.h: Likewise.
57046         * sunrpc/rpc_thread.c: Likewise.
57047         * sysdeps/i386/strpbrk.S: Likewise.
57048         * sysdeps/ieee754/k_standard.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57051         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57052         * sysdeps/mach/hurd/profil.c: Likewise.
57053         * sysdeps/s390/dl-procinfo.h: Likewise.
57054         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57055         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57056         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57057         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57058         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57060 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57062         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57065 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57067         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57068         aix specific files.
57069         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57070         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57071         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57072         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57073         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57074         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57075         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57076         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57078 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57079             Roland McGrath  <roland@hack.frob.com>
57081         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57082         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57084 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57086         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57087         __executable_start symbol instead of _start.
57089 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57091         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57092         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57093         Move macros to...
57094         * sysdeps/gnu/ldsodefs.h: ... this new file.
57096         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57097         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57098         instead of ELFOSABI_LINUX.
57100         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57101         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57102         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57103         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57104         Likewise.
57105         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57106         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57107         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57108         Likewise.
57109         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57110         (ibm_extended_long_double): Add ieee_nan member.
57111         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57112         (do_test): New function.
57114         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57115         TEST_TRUNC.
57116         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57117         functions, renamed from truncdfsf_test, trunctfsf_test,
57118         trunctfdf_test.
57119         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57120         functions.
57121         (do_test): Run all these.
57123 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57125         * argp/argp-help.c: Fix typos.
57126         * argp/argp-parse.c: Likewise.
57127         * debug/backtracesyms.c: Likewise.
57128         * elf/elf.h: Likewise.
57129         * malloc/malloc.c: Likewise.
57130         * nis/nis_print.c: Likewise.
57131         * resolv/res_comp.c: Likewise.
57132         * stdlib/stdlib.h: Likewise.
57133         * sunrpc/clnt_tcp.c: Likewise.
57134         * sunrpc/clnt_udp.c: Likewise.
57135         * sunrpc/clnt_unix.c: Likewise.
57136         * sysdeps/unix/bsd/ptsname.c: Likewise.
57137         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57138         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57140         Likewise.
57141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57142         Likewise.
57143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57144         Likewise.
57145         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57147 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57149         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57152 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57154         [BZ #15897]
57155         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57156         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57157         ($(objpfx)bug-dl-leaf): New rule.
57158         ($(objpfx)bug-dl-leaf.so): Likewise.
57159         ($(objpfx)bug-dl-leaf.out): Likewise.
57160         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57161         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57162         * dlfcn/bug-dl-leaf.c: New test.
57163         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57164         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57165         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57166         (dlclose): Likewise.
57167         (dlmopen): Likewise.
57169 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57171         * include/netdb.h [!_ISOMAC]:
57172         Don't include <tls.h>.
57173         (h_errno, __libc_h_errno): Move declaration and macros out of
57174         [_LIBC_REENTRANT].
57176         * include/resolv.h [_RESOLV_H_]:
57177         Don't include <tls.h>.
57178         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57179         * resolv/res_libc.c: Don't include <tls.h>.
57180         (_res): Use __attribute__ ((nocommon)) in place of
57181         __attribute__ ((section (".bss"))).
57183         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57184         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57186         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57188         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57189         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57191         * resolv/res_mkquery.c: Include <sys/time.h>.
57193         * inet/ifreq.c: Moved to ...
57194         * sysdeps/unix/ifreq.c: ... here.
57195         * inet/ifreq.c: New file, true stub version.
57197         * socket/sa_len.c: New file.
57198         * socket/Makefile (aux): Add it.
57199         * sysdeps/unix/sysv/linux/Makefile
57200         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57201         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57202         and #include <socket/sa_len.c>.
57203         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57204         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57206         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57207         * bits/socket.h: ... here.
57209         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57210         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57211         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57213 2013-08-27  Andreas Schwab  <schwab@suse.de>
57215         [BZ #15736]
57216         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57217         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57218         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57219         * string/test-strcasecmp.c (test_main): Run tests in several
57220         locales.
57221         * string/test-strncasecmp.c (test_main): Likewise.
57223         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57224         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57225         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57227         (__strncasecmp_ssse3) [PIC]: Likewise.
57229 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57231         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57233         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57234         instead of explicitly declaring xdecrypt.
57235         * nis/nss_nis/nis-publickey.c: Likewise.
57237 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57239         [BZ #15890]
57240         * nscd/aicache.c: Include res_hconf.h.
57241         (addhstaiX): Initialize res_hconf.
57243 2013-08-26  Andreas Schwab  <schwab@suse.de>
57245         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57246         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57248 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57250         * nscd/aicache.c (addhstaiX): Fix indentation.
57252 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57254         * configure.ac: Quote $build_pt_chown test.
57255         * configure: Regenerated.
57257 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57259         [BZ #15532]
57260         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57261         * math/s_cexpf.c (__cexpf): Likewise.
57262         * math/s_cexpl.c (__cexpl): Likewise.
57263         * math/libm-test.inc (cexp_test_data): Correct expected return
57264         value for NaN + i0.  Add another test.
57266 2013-08-22  David S. Miller  <davem@davemloft.net>
57268         * po/ca.po: Update Catalan translation from translation project.
57269         * po/uk.po: Add Ukrainian translations from translation project.
57271 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57273         [BZ #15797]
57274         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57275         is infinite, not alongside NaN test.
57276         * math/s_fdimf.c (__fdimf): Likewise.
57277         * math/s_fdiml.c (__fdiml): Likewise.
57278         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57279         errno is unchanged.
57281 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57283         * argp/argp-help.c: Fix typos.
57284         * crypt/speeds.c: Likewise.
57285         * csu/check_fds.c: Likewise.
57286         * elf/dl-load.c: Likewise.
57287         * elf/dl-open.c: Likewise.
57288         * elf/reldep3.c: Likewise.
57289         * elf/reldep.c: Likewise.
57290         * elf/sprof.c: Likewise.
57291         * iconv/iconv_charmap.c: Likewise.
57292         * iconv/skeleton.c: Likewise.
57293         * iconv/strtab.c: Likewise.
57294         * io/lockf64.c: Likewise.
57295         * libio/libioP.h: Likewise.
57296         * resolv/gai_notify.c: Likewise.
57297         * resolv/ns_name.c: Likewise.
57298         * resolv/ns_samedomain.c: Likewise.
57299         * resolv/res_send.c: Likewise.
57300         * stdlib/random.c: Likewise.
57301         * sunrpc/rpc/xdr.h: Likewise.
57302         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57303         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57304         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57305         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57306         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57307         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57309         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57310         * sysdeps/mach/hurd/check_fds.c: Likewise.
57311         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57312         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57313         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57314         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57315         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57316         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57317         * sysdeps/pthread/aio_notify.c: Likewise.
57318         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57319         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57320         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57321         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57322         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57324 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57326         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57327         version if bit_Slow_SSE4_2 is set.
57328         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57329         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57331 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57333         [BZ #15867]
57334         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57335         trampoline stack frame information.
57336         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57337         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57338         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57339         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57340         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57341         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57342         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57343         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57344         sa_flags value.
57345         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57346         interrupting a syscall and set with option SA_SIGINFO.
57348 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57350         [BZ #15531]
57351         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57352         argument is infinite.
57353         * math/s_cprojf.c (__cprojf): Likewise.
57354         * math/s_cprojl.c (__cprojl): Likewise.
57355         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57356         * math/libm-test.inc (cproj_test_data): Add more tests.
57358         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57360         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57361         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57362         size.  Use __ffs to determine corresponding shift.
57364 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57365             Roland McGrath  <roland@hack.frob.com>
57367         * Makefile (INSTALL): Remove trailing blank lines from output of
57368         makeinfo.
57370 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57372         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57373         Align 32 bit compat elf_greg to 8 bytes.
57375 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57377         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57379 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57381         * string/strcoll_l.c (coll_seq): New structure.
57382         (get_next_seq_cached): New function.
57383         (get_next_seq): New function.
57384         (do_compare): New function.
57385         (STRCOLL): Use GNU style definition.  Simplify implementation
57386         by using get_next_seq, get_next_seq_cached and do_compare.
57388 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57390         [BZ #14699]
57391         CVE-2013-4237
57392         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57393         member.
57394         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57395         member.
57396         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57397         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57398         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57399         conditional.
57400         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57401         GETDENTS_64BIT_ALIGNED.
57402         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57403         * manual/filesys.texi (Reading/Closing Directory): Document
57404         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57405         strongly.
57406         * manual/conf.texi (Limits for Files): Add portability note to
57407         NAME_MAX, PATH_MAX.
57408         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57410 2013-08-13  Andreas Schwab  <schwab@suse.de>
57412         [BZ #15749]
57413         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57414         of fabs.
57415         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57416         LDBL_MAX_EXP >= 16384]: Add tests for it.
57418 2013-08-12  David S. Miller  <davem@davemloft.net>
57420         * version.h (RELEASE): Set to "development".
57421         (VERSION): Set to "2.18.90".
57422         * NEWS: Add 2.19 section.
57424 2013-08-03  David S. Miller  <davem@davemloft.net>
57426         * po/ko.po: Update Korean translation from translation project.
57428 2013-08-01  David S. Miller  <davem@davemloft.net>
57430         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57431         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57432         Bilka.
57434 2013-07-30  David S. Miller  <davem@davemloft.net>
57436         * po/fr.po: Update French translation from translation project.
57438 2013-07-28  David S. Miller  <davem@davemloft.net>
57440         * po/cs.po: Update Czech translation from translation project.
57442         * po/sv.po: Update Swedish translation from translation project.
57444 2013-07-27  David S. Miller  <davem@davemloft.net>
57446         * po/eo.po: Update Esperanto translation from translation project.
57448         * po/vi.po: Update Vietnamese translation from translation project.
57450         * po/de.po: Update German translation from translation project.
57452 2013-07-26  David S. Miller  <davem@davemloft.net>
57454         * po/bg.po: Update Bulgarian translation from translation project.
57456         * po/nl.po: Update Dutch translation from translation project.
57457         * po/pl.po: Update Polish translation from translation project.
57458         * po/ru.po: Update Russian translation from translation project.
57460 2013-07-24  David S. Miller  <davem@davemloft.net>
57462         * po/libc.pot: Update.
57464 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57466         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57467         variable page size.
57468         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57469         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57470         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57472 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57474         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57476 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57477             Andreas Schwab  <schwab@suse.de>
57478             Roland McGrath  <roland@hack.frob.com>
57479             Joseph Myers  <joseph@codesourcery.com>
57480             Carlos O'Donell  <carlos@redhat.com>
57482         [BZ #15755]
57483         * config.h.in: Define HAVE_PT_CHOWN.
57484         * config.make.in (build-pt-chown): New variable.
57485         * configure.in (--enable-pt_chown): New configure option.
57486         * configure: Regenerate.
57487         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57488         build-pt-chown is enabled.
57489         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57490         pt_chown to fix pty ownership.
57491         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57492         CLOSE_ALL_FDS.
57493         * manual/install.texi (Configuring and compiling): Mention
57494         --enable-pt_chown. Add @findex for grantpt.
57495         * INSTALL: Regenerate.
57497 2013-07-20  David S. Miller  <davem@davemloft.net>
57499         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57500         difference between 32-bit and 64-bit.
57502 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57504         [BZ #15711]
57505         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57506         Avoid system header dependency with -ffreestanding.
57507         ($(objpfx)bits/syscall%d): Likewise.
57509 2013-07-13  David S. Miller  <davem@davemloft.net>
57511         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57512         underflows from atanl/atan2l due to bug 15319.
57513         (casinh_test_data): Likewise.
57515 2013-07-07  David S. Miller  <davem@davemloft.net>
57517         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57519 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57521         * sysdeps/i386/fpu/libm-test-ulps: Update.
57522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57524 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57526         * configure.in (--enable-lock-elision): Fix message text.
57527         * INSTALL: Regenerate.
57528         * configure: Regenerate.
57530 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57534 2013-07-03  Andreas Jaeger  <aj@suse.de>
57536         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57537         define.
57538         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57539         (ptrace_peeksiginfo_args): Add.
57540         (__ptrace_peeksiginfo_flags): Add.
57541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57543         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57545 2013-07-03  Allan McRae  <allan@archlinux.org>
57547         * sysdeps/i386/fpu/libm-test-ulps: Update.
57549 2013-07-02  David S. Miller  <davem@davemloft.net>
57551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57553 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57557 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57559         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57562 2013-07-02  Andi Kleen <ak@linux.intel.com>
57564         * config.h.in (ENABLE_LOCK_ELISION): Add.
57565         * configure.in (--enable-lock-elision): Add option.
57566         * manual/install.texi: Document --enable lock elision.
57567         * configure: Regenerate
57568         * INSTALL: Regenerate.
57570 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57572         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57573         SSE4.2 strcasecmp for libc.a.
57574         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57576 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57578         [BZ #13304]
57579         * soft-fp/op-common.h (_FP_FMA): New macro.
57580         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57581         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57582         (_FP_MUL_MEAT_1_imm): ... here.
57583         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57584         (_FP_MUL_MEAT_1_wide): ... here.
57585         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57586         (_FP_MUL_MEAT_1_hard): ... here.
57587         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57588         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57589         (_FP_MUL_MEAT_2_wide): ... here.
57590         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57591         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57592         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57593         (_FP_MUL_MEAT_2_gmp): ... here.
57594         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57595         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57596         (_FP_MUL_MEAT_4_wide): ... here.
57597         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57598         (_FP_MUL_MEAT_4_gmp): ... here.
57599         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57600         (_FP_WFRACBITS_DW_S): Likewise.
57601         (_FP_WFRACXBITS_DW_S): Likewise.
57602         (_FP_HIGHBIT_DW_S): Likewise.
57603         (FP_FMA_S): Likewise.
57604         (_FP_FRAC_HIGH_DW_S): Likewise.
57605         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57606         (_FP_WFRACBITS_DW_D): Likewise.
57607         (_FP_WFRACXBITS_DW_D): Likewise.
57608         (_FP_HIGHBIT_DW_D): Likewise.
57609         (FP_FMA_D): Likewise.
57610         (_FP_FRAC_HIGH_DW_D): Likewise.
57611         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57612         (_FP_WFRACBITS_DW_E): Likewise.
57613         (_FP_WFRACXBITS_DW_E): Likewise.
57614         (_FP_HIGHBIT_DW_E): Likewise.
57615         (FP_FMA_E): Likewise.
57616         (_FP_FRAC_HIGH_DW_E): Likewise.
57617         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57618         (_FP_WFRACBITS_DW_Q): Likewise.
57619         (_FP_WFRACXBITS_DW_Q): Likewise.
57620         (_FP_HIGHBIT_DW_Q): Likewise.
57621         (FP_FMA_Q): Likewise.
57622         (_FP_FRAC_HIGH_DW_Q): Likewise.
57623         * soft-fp/fmasf4.c: New file.
57624         * soft-fp/fmadf4.c: Likewise.
57625         * soft-fp/fmatf4.c: Likewise.
57627 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57630         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57631         Silvermont.
57632         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57633         macro.
57634         (index_Slow_SSE4_2): Likewise.
57635         (index_Prefer_PMINUB_for_stringop): Likewise.
57636         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57637         bit_Slow_SSE4_2 is set.
57638         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57639         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57641 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57643         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57644         rtld_global._dl_hwcap2.
57645         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57646         POWER8.
57647         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57648         POWER8 feature descriptions defined in _dl_hwcap2.
57649         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57650         string handling for POWER8 feature bits.
57651         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57652         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57653         _dl_powerpc_cap_flags.
57654         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57655         * sysdeps/powerpc/rtld-global-offsets.sym
57656         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57657         _dl_hwcap2 in the rtld_global_ro structure.
57659 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57661         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57662         hardware capabilities in support of AT_HWCAP2.
57663         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57664         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57665         GLRO(dl_hwcap2).
57666         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57667         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57668         explicitly the unknown a_type display mechanism is used.
57669         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57670         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57671         struct member.
57672         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57673         to macro prototype for AT_HWCAP2 support.
57674         * sysdeps/i386/dl-procinfo.h: Likewise.
57675         * sysdeps/s390/dl-procinfo.h: Likewise.
57676         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57677         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57678         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57679         return -1 for unknown a_type display fallback.
57680         * sysdeps/sparc/dl-procinfo.h: Likewise.
57681         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57682         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57684 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57686         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57687         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57689 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57691         [BZ #12492]
57692         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57693         mprotect making __stack_prot writable.
57695 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57696             Joseph Myers  <joseph@codesourcery.com>
57698         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57699         as being properly aligned.
57701 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57703         * dlfcn/modstatic5.c: New file.
57704         * dlfcn/tststatic5.c: New file.
57705         * dlfcn/Makefile (tests): Add tststatic5.
57706         (tests-static): Likewise.
57707         (modules-names): Add modstatic5.
57708         (tststatic5-ENV): New variable.
57709         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57711         [BZ #15022]
57712         * elf/dl-support.c (_dl_main_map): New variable.
57713         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57714         (_dl_nns, _dl_load_adds): Set to 1.
57715         (_dl_initial_searchlist): Refer to _dl_main_map.
57716         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57717         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57718         call to _dl_get_origin.
57719         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57720         around call_map.
57721         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57722         * dlfcn/modstatic3.c: New file.
57723         * dlfcn/tststatic3.c: New file.
57724         * dlfcn/tststatic4.c: New file.
57725         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57726         (tests-static): Likewise.
57727         (modules-names): Add modstatic3.
57728         (tststatic3-ENV, tststatic4-ENV): New variables.
57729         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57730         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57732 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57734         * configure.in (CC): Require GCC version 4.4 or later.
57735         * configure: Regenerated.
57736         * manual/install.texi (Tools for Compilation): Update GCC version
57737         requirement.
57738         * INSTALL: Regenerated.
57740 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57742         [BZ #15674]
57743         * string/test-memcmp.c (check2): New.
57744         (main): Call check2.
57746         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57748 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57750         [BZ #15022]
57751         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57752         over to...
57753         (dl_open_worker) [!SHARED]: ... here.
57755 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57757         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57759 2013-06-25  Richard Henderson  <rth@redhat.com>
57761         * locale/programs/locarchive.c: Include <libc-internal.h>
57763 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57765         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57766         trailing whitespace removed.
57768 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57770         [BZ #10283]
57771         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57772         * locale/programs/locarchive.c: Include libc-mmap.h.
57773         (prepare_address_space): Take two new outputs (the mmap base and len).
57774         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57775         values.
57776         (create_archive): Declare new mmap base and len values for
57777         prepare_address_space, and store the result in ah.
57778         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57779         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57780         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57781         Declare new mmap base and len values for
57782         prepare_address_space, and store the result in new_ah.
57783         (open_archive): Declare new mmap base and len values for
57784         prepare_address_space, and store the result in ah.
57785         (close_archive): If ah->mmap_base is not NULL, use that and
57786         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57787         * sysdeps/generic/libc-mmap.h: New file.
57789 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57791         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57792         (ALIGN_UP): Likewise.
57793         (PTR_ALIGN_DOWN): Likewise.
57794         (PTR_ALIGN_UP): Likewise.
57796 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57798         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57799         entry mapped to PPC_PLATFORM_POWER8.
57800         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57801         POWER8.
57802         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57803         (_dl_string_platform): Add case for exporting platform position for
57804         POWER8.
57805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57806         search path to sysdeps/powerpc/powerpc32/power8 directory.
57807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57808         search path to sysdeps/powerpc/powerpc64/power8 directory.
57809         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57810         power7 directories.
57811         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57812         power7 directories.
57814 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57816         * INSTALL: Regenerate.
57818         * nscd/connections.c (nscd_init): Fix comment.
57820 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57822         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57824         [BZ #15667]
57825         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57826         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57828 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57830         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57831         DL_DST_REQ_STATIC.
57832         (DL_DST_REQ_STATIC): Remove macro.
57834 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57836         [BZ #7006]
57837         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57838         with a shift of 0 bits.
57840 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57842         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57843         $(tststatic-ENV).
57845 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57847         [BZ #15655]
57848         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57850 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57852         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57853         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57854         accepts -fno-tree-loop-distribute-patterns.
57855         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57856         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57857         recursive call.
57858         * string/memset.c (memset): Likewise.
57859         * string/test-memmove.c (simple_memmove): Disable loop transformation
57860         to library calls.
57861         * string/test-memset.c (simple_memset): Likewise.
57862         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57863         * benchtests/bench-memset.c (simple_memset): Likewise.
57864         * configure: Regenerated.
57866 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57868         * math/test-misc.c (main): Ignore fesetround failure when failures
57869         of subsequent rounding tests would be ignored.
57871         [BZ #15654]
57872         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57873         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57874         * math/fegetenv.c (__fegetenv): Return 0.
57875         * math/fegetexcept.c (fegetexcept): Return 0.
57876         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57877         FE_TONEAREST.
57878         * math/feholdexcpt.c (feholdexcept): Return 0.
57879         * math/fesetenv.c (__fesetenv): Return 0.
57880         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57881         argument FE_TONEAREST.
57882         * math/feupdateenv.c (__feupdateenv): Return 0.
57883         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57885 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57887         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57888         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57889         ($(objpfx)rtld-%.os rules): Use them.
57891 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57893         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57894         fields.
57896 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57898         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57899         length of target pattern, then descending length of dependency pattern.
57900         * configure.in (AWK): Require gawk 3.1.2 or newer.
57901         * manual/install.texi (Tools for Compilation): Say that we do.
57902         * configure: Regenerated.
57904         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57905         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57906         * scripts/sysd-rules.awk: ... this new script.
57907         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57908         than a glob-style pattern.
57910 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57912         * math/test-misc.c (main): Do not treat incorrectly rounded
57913         conversions as failure unless ROUNDING_TESTS passes.
57915 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57917         [BZ #15631]
57918         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57919         restore exception state around main square root computation, then
57920         check for inexactness explicitly.
57922         * math/libm-test.inc (fma_test_data): Add another test.
57924 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57926         * manual/threads.texi (Non-POSIX Extensions): New document
57927         node.  Document pthread_getattr_default_np and
57928         pthread_setattr_default_np.
57930         * Versions.def (libpthread): Add GLIBC_2.18.
57931         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57933         Likewise.
57934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57935         Likewise.
57936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57937         Likewise.
57938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57939         Likewise.
57940         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57941         Likewise.
57942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57943         Likewise.
57944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57945         Likewise.
57946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57947         Likewise.
57948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57949         Likewise.
57951 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57954         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57956 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57957             H.J. Lu  <hjl.tools@gmail.com>
57959         [BZ #15627]
57960         * sysdeps/x86_64/rtld-memset.c: Remove file.
57961         * sysdeps/x86_64/rtld-memset.S: New file.
57963 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57965         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57966         (test_in_one_mode): Take arguments for whether the rounding mode
57967         is supported for each floating-point type.
57968         (do_test): Pass new arguments to test_in_one_mode using
57969         ROUNDING_TESTS.
57971 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57973         * posix/tst-waitid.c (do_test): Distinguish different instances of
57974         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57975         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57976         before entering the kernel for waitpid.
57978 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57980         * NEWS: Fix note on clock function precision.  Text by Roland
57981         McGrath.
57983 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57985         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57986         it into place only when and if the sanity check passes.
57988 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57990         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57991         output for whether conversion result is exact.  Take argument
57992         indicating whether type is IBM long double.
57993         (round_for_all): Change need_exact field to ibm_ld.
57994         * stdlib/tst-strtod-round.c (struct exactness): New type.
57995         (struct test): Change bool ld_ok field to struct exactness exact.
57996         (TEST): Update all definitions for change to field.
57997         (tests): Regenerate array contents.
57998         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57999         field value.  Check for IBM long double here.
58000         (do_test): Update calls to test_in_one_mode.
58002 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58004         [BZ #12515]
58005         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58006         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58008 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58010         [BZ #15605]
58011         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58012         generated by the compiler on loop optimizations.
58013         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58014         general definitions.
58016 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58018         * math/bug-nextafter.c: Include <math-tests.h>.
58019         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58020         the relevant type.
58021         * math/bug-nexttoward.c: Include <math-tests.h>.
58022         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58023         the relevant type.
58024         * math/test-misc.c: Include <math-tests.h>.
58025         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58026         the relevant type.
58028 2013-06-12  Andreas Jaeger  <aj@suse.de>
58030         * po/ia.po: Update Interlingua translation from translation
58031         project.
58033 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58035         * include/fenv.h: Include stdbool.h.
58036         (struct rm_ctx): New structure.
58037         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58038         Define macro.
58039         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58040         (SET_RESTORE_ROUNDF): Likewise.
58041         (SET_RESTORE_ROUNDL): Likewise.
58042         (SET_RESTORE_ROUND_NOEX): Likewise.
58043         (SET_RESTORE_ROUND_NOEXF): Likewise.
58044         (SET_RESTORE_ROUND_NOEXL): Likewise.
58045         (SET_RESTORE_ROUND_53BIT): Likewise.
58046         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58047         (libc_feresetround_noexf_ctx): Likewise.
58048         (libc_feresetround_noexl_ctx): Likewise.
58049         (libc_feholdsetround_53bit_ctx): Likewise.
58050         (libc_feresetround_53bit_ctx): Likewise.
58051         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58052         (libc_feholdexcept_setround_sse_ctx): New function.
58053         (libc_fesetenv_sse_ctx): Likewise.
58054         (libc_feupdateenv_sse_ctx): Likewise.
58055         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58056         (libc_feholdexcept_setround_387_ctx): Likewise.
58057         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58058         (libc_feholdsetround_387_prec_ctx): Likewise.
58059         (libc_feholdsetround_387_ctx): Likewise.
58060         (libc_feholdsetround_387_53bit_ctx): Likewise.
58061         (libc_feholdsetround_sse_ctx): Likewise.
58062         (libc_feresetround_sse_ctx): Likewise.
58063         (libc_feresetround_387_ctx): Likewise.
58064         (libc_feupdateenv_387_ctx): Likewise.
58065         (libc_feholdexcept_setroundf_ctx): Define macro.
58066         (libc_fesetenvf_ctx): Likewise.
58067         (libc_feupdateenvf_ctx): Likewise.
58068         (libc_feholdsetroundf_ctx): Likewise.
58069         (libc_feresetroundf_ctx): Likewise.
58070         (libc_feholdexcept_setround_ctx): Likewise.
58071         (libc_fesetenv_ctx): Likewise.
58072         (libc_feupdateenv_ctx): Likewise.
58073         (libc_feholdsetround_ctx): Likewise.
58074         (libc_feresetround_ctx): Likewise.
58075         (libc_feholdexcept_setroundl_ctx): Likewise.
58076         (libc_feupdateenvl_ctx): Likewise.
58077         (libc_feholdsetroundl_ctx): Likewise.
58078         (libc_feresetroundl_ctx): Likewise.
58079         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58080         (libc_feresetround_53bit_ctx): Likewise.
58082 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58084         * locale/iso-639.def: Convert to UTF-8.
58086 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58088         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58089         (EXCEPTION_TESTS_double): Likewise.
58090         (EXCEPTION_TESTS_long_double): Likewise.
58091         (EXCEPTION_TESTS): Likewise.
58092         * math/libm-test.inc (test_exceptions): Only test exceptions if
58093         EXCEPTION_TESTS (FLOAT).
58095 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58097         * benchtests/Makefile (string-bench): Add strcpy_chk and
58098         stpcpy_chk.
58099         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58100         * benchtests/bench-stpcpy_chk.c: New file.
58101         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58102         * benchtests/bench-strcpy_chk.c: New file.
58103         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58104         code.
58105         (do_test): Likewise.
58107 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58109         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58110         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58111         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58112         with tabs where appropriate.
58113         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58114         dl-procinfo.h.
58115         [PPC_PLATFORM_PPC440]: Likewise.
58116         [PPC_PLATFORM_PPC464]: Likewise.
58117         [PPC_PLATFORM_PPC476]: Likewise.
58118         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58119         ppc464, and ppc476 platform strings merging from ports/
58120         dl-procinfo.h.
58122 2013-06-11  Andreas Schwab  <schwab@suse.de>
58124         [BZ #14991]
58125         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58126         (from_ucs4_idx): Regenerate.
58127         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58128         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58129         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58130         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58131         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58132         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58133         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58134         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58135         from FROM_LOOP and TO_LOOP specific macros.
58136         (BODY): Handle combining characters.
58137         * iconvdata/BIG5HKSCS.irreversible: Update.
58138         * iconvdata/BIG5HKSCS.precomposed: New file.
58139         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58140         characters.
58141         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58143 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58145         * include/sys/time.h: Fix indentation and add copyright header.
58147         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58148         (do_test): Likewise.
58149         * string/test-memchr.c (do_one_test): Likewise.
58150         (do_test): Likewise.
58151         * string/test-memcmp.c (do_one_test): Likewise.
58152         (do_test): Likewise.
58153         * string/test-memcpy.c (do_one_test): Likewise.
58154         (do_test): Likewise.
58155         * string/test-memmem.c (do_one_test): Likewise.
58156         (do_test): Likewise.
58157         (do_random_tests): Likewise.
58158         * string/test-memmove.c (do_one_test): Likewise.
58159         (do_test): Likewise.
58160         * string/test-memset.c (do_one_test): Likewise.
58161         (do_test): Likewise.
58162         * string/test-rawmemchr.c (do_one_test): Likewise.
58163         (do_test): Likewise.
58164         * string/test-strcasecmp.c (do_one_test): Likewise.
58165         (do_test): Likewise.
58166         * string/test-strcasestr.c (do_one_test): Likewise.
58167         (do_test): Likewise.
58168         * string/test-strcat.c (do_one_test): Likewise.
58169         (do_test): Likewise.
58170         * string/test-strchr.c (do_one_test): Likewise.
58171         (do_test): Likewise.
58172         * string/test-strcmp.c (do_one_test): Likewise.
58173         (do_test): Likewise.
58174         * string/test-strcpy.c (do_one_test): Likewise.
58175         (do_test): Likewise.
58176         * string/test-string.h: Likewise.
58177         (test_init): Likewise.
58178         * string/test-strlen.c (do_one_test): Likewise.
58179         (do_test): Likewise.
58180         * string/test-strncasecmp.c (do_one_test): Likewise.
58181         (do_test): Likewise.
58182         * string/test-strncat.c (do_one_test): Likewise.
58183         (do_test): Likewise.
58184         * string/test-strncmp.c (do_one_test): Likewise.
58185         (do_test_limit): Likewise.
58186         (do_test): Likewise.
58187         * string/test-strncpy.c (do_one_test): Likewise.
58188         (do_test): Likewise.
58189         * string/test-strnlen.c (do_one_test): Likewise.
58190         (do_test): Likewise.
58191         * string/test-strpbrk.c (do_one_test): Likewise.
58192         (do_test): Likewise.
58193         * string/test-strrchr.c (do_one_test): Likewise.
58194         (do_test): Likewise.
58195         * string/test-strspn.c (do_one_test): Likewise.
58196         (do_test): Likewise.
58197         * string/test-strstr.c (do_one_test): Likewise.
58198         (do_test): Likewise.
58200         * benchtests/Makefile (string-bench): Add string benchmarks.
58201         * benchtests/bench-bcopy-ifunc.c: New file.
58202         * benchtests/bench-bcopy.c: New file.
58203         * benchtests/bench-bzero-ifunc.c: New file.
58204         * benchtests/bench-bzero.c: New file.
58205         * benchtests/bench-memccpy-ifunc.c: New file.
58206         * benchtests/bench-memccpy.c: New file.
58207         * benchtests/bench-memchr-ifunc.c: New file.
58208         * benchtests/bench-memchr.c: New file.
58209         * benchtests/bench-memcmp-ifunc.c: New file.
58210         * benchtests/bench-memcmp.c: New file.
58211         * benchtests/bench-memmem-ifunc.c: New file.
58212         * benchtests/bench-memmem.c: New file.
58213         * benchtests/bench-memmove-ifunc.c: New file.
58214         * benchtests/bench-memmove.c: New file.
58215         * benchtests/bench-mempcpy-ifunc.c: New file.
58216         * benchtests/bench-mempcpy.c: New file.
58217         * benchtests/bench-memset-ifunc.c: New file.
58218         * benchtests/bench-memset.c: New file.
58219         * benchtests/bench-rawmemchr-ifunc.c: New file.
58220         * benchtests/bench-rawmemchr.c: New file.
58221         * benchtests/bench-stpcpy-ifunc.c: New file.
58222         * benchtests/bench-stpcpy.c: New file.
58223         * benchtests/bench-stpncpy-ifunc.c: New file.
58224         * benchtests/bench-stpncpy.c: New file.
58225         * benchtests/bench-strcasecmp-ifunc.c: New file.
58226         * benchtests/bench-strcasecmp.c: New file.
58227         * benchtests/bench-strcasestr-ifunc.c: New file.
58228         * benchtests/bench-strcasestr.c: New file.
58229         * benchtests/bench-strcat-ifunc.c: New file.
58230         * benchtests/bench-strcat.c: New file.
58231         * benchtests/bench-strchr-ifunc.c: New file.
58232         * benchtests/bench-strchr.c: New file.
58233         * benchtests/bench-strchrnul-ifunc.c: New file.
58234         * benchtests/bench-strchrnul.c: New file.
58235         * benchtests/bench-strcmp-ifunc.c: New file.
58236         * benchtests/bench-strcmp.c: New file.
58237         * benchtests/bench-strcpy-ifunc.c: New file.
58238         * benchtests/bench-strcpy.c: New file.
58239         * benchtests/bench-strcspn-ifunc.c: New file.
58240         * benchtests/bench-strcspn.c: New file.
58241         * benchtests/bench-strlen-ifunc.c: New file.
58242         * benchtests/bench-strlen.c: New file.
58243         * benchtests/bench-strncasecmp-ifunc.c: New file.
58244         * benchtests/bench-strncasecmp.c: New file.
58245         * benchtests/bench-strncat-ifunc.c: New file.
58246         * benchtests/bench-strncat.c: New file.
58247         * benchtests/bench-strncmp-ifunc.c: New file.
58248         * benchtests/bench-strncmp.c: New file.
58249         * benchtests/bench-strncpy-ifunc.c: New file.
58250         * benchtests/bench-strncpy.c: New file.
58251         * benchtests/bench-strnlen-ifunc.c: New file.
58252         * benchtests/bench-strnlen.c: New file.
58253         * benchtests/bench-strpbrk-ifunc.c: New file.
58254         * benchtests/bench-strpbrk.c: New file.
58255         * benchtests/bench-strrchr-ifunc.c: New file.
58256         * benchtests/bench-strrchr.c: New file.
58257         * benchtests/bench-strspn-ifunc.c: New file.
58258         * benchtests/bench-strspn.c: New file.
58259         * benchtests/bench-strstr-ifunc.c: New file.
58260         * benchtests/bench-strstr.c: New file.
58262         * benchtests/Makefile: Disable parallel execution of targets.
58263         (string-bench): Add memcpy.
58264         (benchset): New variable to store a list of benchmark sets.
58265         (bench-func): Renamed from bench.
58266         (bench-set): New target.
58267         (bench): Depend on bench-func and bench-set.
58268         * benchtests/README: Add section on benchmark sets.
58269         * benchtests/bench-memcpy-ifunc.c: New file.
58270         * benchtests/bench-memcpy.c: New file.
58271         * benchtests/bench-string.h: New file.
58273 2013-06-11  Andreas Schwab  <schwab@suse.de>
58275         [BZ #15577]
58276         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58277         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58278         values in the triple.
58279         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58280         terminator in the group key.
58282 2013-06-11  Andreas Jaeger  <aj@suse.de>
58284         * po/zh_TW.po: Update Chinese (traditional) translation from
58285         translation project.
58287 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58289         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58290         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58291         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58292         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58293         (clock_getcpuclockid): Likewise.
58294         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58295         Add weak_alias and libc_hidden_def.
58296         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58297         * rt/clock_gettime.c (clock_gettime): Rename to
58298         __clock_gettime.  Add weak_alias and libc_hidden_def.
58299         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58300         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58301         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58302         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58303         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58304         Likewise.
58305         * rt/clock_settime.c (clock_settime): Rename to
58306         __clock_settime.  Add weak_alias and libc_hidden_def.
58307         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58309 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58311         * mach/err_boot.sub: Remove trailing whitespace.
58312         * mach/err_ipc.sub: Likewise.
58313         * mach/err_mach.sub: Likewise.
58315         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58316         (ROUNDING_TESTS_double): Likewise.
58317         (ROUNDING_TESTS_long_double): Likewise.
58318         (ROUNDING_TESTS): Likewise.
58319         * math/libm-test.inc: Include <math-tests.h>.
58320         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58321         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58322         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58323         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58325 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58327         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58328         of assigning.
58330 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58332         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58333         otherwise empty TRANS lines.
58334         * sysdeps/gnu/errlist.c: Regenerated.
58336         * catgets/gencat.c (error_print): Use (void) in function
58337         definition.
58338         * crypt/crypt_util.c (__init_des): Likewise.
58339         * crypt/speeds.c (Stop): Likewise.
58340         (main): Likewise.
58341         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58342         * inet/ruserpass.c (token): Likewise.
58343         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58344         * intl/localealias.c (extend_alias_table): Likewise.
58345         * intl/plural-exp.c (init_germanic_plural): Likewise.
58346         * libio/fcloseall.c (__fcloseall): Likewise.
58347         * libio/genops.c (_IO_flush_all): Likewise.
58348         (_IO_flush_all_linebuffered): Likewise.
58349         (_IO_cleanup): Likewise.
58350         (_IO_iter_begin): Likewise.
58351         (_IO_iter_end): Likewise.
58352         (_IO_list_lock): Likewise.
58353         (_IO_list_unlock): Likewise.
58354         (_IO_list_resetlock): Likewise.
58355         * libio/getchar.c (getchar): Likewise.
58356         * libio/getchar_u.c (getchar_unlocked): Likewise.
58357         * libio/getwchar.c (getwchar): Likewise.
58358         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58359         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58360         * login/getpt.c (__getpt): Likewise.
58361         * login/tst-utmp.c (main): Likewise.
58362         * malloc/hooks.c (__malloc_check_init): Likewise.
58363         * malloc/malloc.c (__malloc_stats): Likewise.
58364         * malloc/mtrace.c (tr_break): Likewise.
58365         (mtrace): Likewise.
58366         (muntrace): Likewise.
58367         * misc/fstab.c (endfsent): Likewise.
58368         * misc/getclktck.c (__getclktck): Likewise.
58369         * misc/getdtsz.c (__getdtablesize): Likewise.
58370         * misc/gethostid.c (gethostid): Likewise.
58371         * misc/getpagesize.c (__getpagesize): Likewise.
58372         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58373         (__get_nprocs): Likewise.
58374         (__get_phys_pages): Likewise.
58375         (__get_avphys_pages): Likewise.
58376         * misc/getttyent.c (getttyent): Likewise.
58377         (setttyent): Likewise.
58378         (endttyent): Likewise.
58379         * misc/getusershell.c (getusershell): Likewise.
58380         (endusershell): Likewise.
58381         (setusershell): Likewise.
58382         (initshells): Likewise.
58383         * misc/hsearch.c (__hdestroy): Likewise.
58384         * misc/sync.c (sync): Likewise.
58385         * misc/syslog.c (closelog_internal): Likewise.
58386         (closelog): Likewise.
58387         * misc/ttyslot.c (ttyslot): Likewise.
58388         * misc/vhangup.c (vhangup): Likewise.
58389         * posix/fork.c (__fork): Likewise.
58390         * posix/getegid.c (__getegid): Likewise.
58391         * posix/geteuid.c (__geteuid): Likewise.
58392         * posix/getgid.c (__getgid): Likewise.
58393         * posix/getpid.c (__getpid): Likewise.
58394         * posix/getppid.c (__getppid): Likewise.
58395         * posix/getuid.c (__getuid): Likewise.
58396         * posix/pause.c (pause): Likewise.
58397         * posix/setpgrp.c (setpgrp): Likewise.
58398         * posix/setsid.c (__setsid): Likewise.
58399         * posix/test-vfork.c (noop): Likewise.
58400         * resolv/gethnamaddr.c (_endhtent): Likewise.
58401         (_gethtent): Likewise.
58402         (ht_endhostent): Likewise.
58403         (gethostent): Likewise.
58404         (dns_service): Likewise.
58405         * stdlib/drand48.c (drand48): Likewise.
58406         * stdlib/lrand48.c (lrand48): Likewise.
58407         * stdlib/mrand48.c (mrand48): Likewise.
58408         * stdlib/rand.c (rand): Likewise.
58409         * stdlib/random.c (__random): Likewise.
58410         * stdlib/setenv.c (clearenv): Likewise.
58411         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58412         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58413         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58414         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58415         (__get_nprocs): Likewise.
58416         (__get_phys_pages): Likewise.
58417         (__get_avphys_pages): Likewise.
58418         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58419         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58420         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58421         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58422         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58423         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58424         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58425         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58426         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58427         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58428         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58429         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58430         * sysdeps/posix/clock.c (clock): Likewise.
58431         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58432         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58433         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58434         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58435         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58437         (__get_nprocs_conf): Likewise.
58438         (__get_phys_pages): Likewise.
58439         (__get_avphys_pages): Likewise.
58440         * time/clock.c (clock): Likewise.
58441         * time/tzset.c (__tzname_max): Likewise.
58443 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58445         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58446         (__bswap_32): Do not use "register".
58447         * crypt/crypt.c (_ufc_doit_r): Likewise.
58448         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58449         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58450         * gmon/gmon.c (__monstartup): Likewise.
58451         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58452         * hurd/hurdmalloc.c (more_memory): Likewise.
58453         (malloc): Likewise.
58454         (free): Likewise.
58455         (realloc): Likewise.
58456         (malloc_fork_prepare): Likewise.
58457         (malloc_fork_parent): Likewise.
58458         (malloc_fork_child): Likewise.
58459         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58460         (_svcauth_des): Likewise.
58461         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58462         * inet/inet_net.c (inet_network): Likewise.
58463         * inet/inet_netof.c (inet_netof): Likewise.
58464         * inet/rcmd.c (__validuser2_sa): Likewise.
58465         * io/fts.c (fts_open): Likewise.
58466         (fts_load): Likewise.
58467         (fts_close): Likewise.
58468         (fts_read): Likewise.
58469         (fts_children): Likewise.
58470         (fts_build): Likewise.
58471         (fts_stat): Likewise.
58472         (fts_sort): Likewise.
58473         (fts_alloc): Likewise.
58474         (fts_lfree): Likewise.
58475         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58476         (_IO_file_xsgetn): Likewise.
58477         (_IO_file_xsgetn_mmap): Likewise.
58478         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58479         (_IO_cookie_write): Likewise.
58480         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58481         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58482         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58483         * malloc/obstack.c (_obstack_begin): Likewise.
58484         (_obstack_begin_1): Likewise.
58485         (_obstack_newchunk): Likewise.
58486         (_obstack_allocated_p): Likewise.
58487         (obstack_free): Likewise.
58488         (_obstack_memory_used): Likewise.
58489         * misc/getttyent.c (getttynam): Likewise.
58490         (getttyent): Likewise.
58491         (skip): Likewise.
58492         (value): Likewise.
58493         * misc/getusershell.c (initshells): Likewise.
58494         * misc/syslog.c (__vsyslog_chk): Likewise.
58495         * misc/ttyslot.c (ttyslot): Likewise.
58496         * nis/nis_hash.c (__nis_hash): Likewise.
58497         * posix/fnmatch_loop.c (FCT): Likewise.
58498         * posix/getconf.c (print_all): Likewise.
58499         (main): Likewise.
58500         * posix/getopt.c (exchange): Likewise.
58501         * posix/glob.c (globfree): Likewise.
58502         (prefix_array): Likewise.
58503         (__glob_pattern_type): Likewise.
58504         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58505         (NS_GET32): Likewise.
58506         (NS_PUT16): Likewise.
58507         (NS_PUT32): Likewise.
58508         * resolv/gethnamaddr.c (getanswer): Likewise.
58509         (gethostbyname2): Likewise.
58510         (gethostbyaddr): Likewise.
58511         (_gethtent): Likewise.
58512         (_gethtbyname2): Likewise.
58513         (_gethtbyaddr): Likewise.
58514         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58515         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58516         * resolv/res_init.c (__res_vinit): Likewise.
58517         (net_mask): Likewise.
58518         * resolv/res_mkquery.c (outchar): Likewise.
58519         (PRINT): Likewise.
58520         * stdio-common/printf_fp.c (outchar): Likewise.
58521         (PRINT): Likewise.
58522         * stdio-common/printf_fphex.c (outchar): Likewise.
58523         (PRINT): Likewise.
58524         * stdio-common/printf_size.c (outchar): Likewise.
58525         (PRINT): Likewise.
58526         * stdio-common/test_rdwr.c (main): Likewise.
58527         * stdio-common/tfformat.c (matches): Likewise.
58528         * stdio-common/vfprintf.c (outchar): Likewise.
58529         (printf_unknown): Likewise.
58530         (buffered_vfprintf): Likewise.
58531         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58532         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58533         (ReadFile): Likewise.
58534         * stdlib/qsort.c (SWAP): Likewise.
58535         (_quicksort): Likewise.
58536         * stdlib/setenv.c (__add_to_environ): Likewise.
58537         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58538         * stdlib/strtol_l.c (__strtol_l): Likewise.
58539         * stdlib/tst-strtod.c (main): Likewise.
58540         * stdlib/tst-strtol.c (main): Likewise.
58541         * stdlib/tst-strtoll.c (main): Likewise.
58542         * string/bits/string2.h (__strcmp_cc): Likewise.
58543         (__strcmp_cg): Likewise.
58544         (__strcspn_c1): Likewise.
58545         (__strcspn_c2): Likewise.
58546         (__strcspn_c3): Likewise.
58547         (__strspn_c1): Likewise.
58548         (__strspn_c2): Likewise.
58549         (__strspn_c3): Likewise.
58550         (__strsep_1c): Likewise.
58551         (__strsep_2c): Likewise.
58552         (__strsep_3c): Likewise.
58553         * string/memccpy.c (__memccpy): Likewise.
58554         * string/stpcpy.c (__stpcpy): Likewise.
58555         * string/strcmp.c (strcmp): Likewise.
58556         * string/strrchr.c (strrchr): Likewise.
58557         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58558         Likewise.
58559         * sysdeps/mach/hurd/getcwd.c
58560         (_hurd_canonicalize_directory_name_internal): Likewise.
58561         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58562         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58563         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58564         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58565         Likewise, in both definitions.
58566         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58567         definitions.
58568         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58569         64] (__bswap_64): Likewise.
58570         * time/test_time.c (main): Likewise.
58571         * time/tzfile.c (__tzfile_read): Likewise.
58572         (__tzfile_compute): Likewise.
58573         * time/tzset.c (__tzset_parse_tz): Likewise.
58574         (tzset_internal): Likewise.
58575         (compute_change): Likewise.
58576         * wcsmbs/wcscat.c (__wcscat): Likewise.
58577         * wcsmbs/wcschr.c (wcschr): Likewise.
58578         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58579         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58580         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58581         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58582         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58583         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58584         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58585         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58586         * wcsmbs/wmemset.c (wmemset): Likewise.
58588 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58590         * scripts/config.guess: Update to version 2013-05-16.
58591         * scripts/config.sub: Update to version 2013-04-24.
58592         * scripts/install-sh: Update to version 2011-11-20.07.
58593         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58594         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58596 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58598         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58599         * elf/sln.c: Likewise.
58600         * hurd/hurd/ioctl.h: Likewise.
58601         * hurd/hurdmalloc.c: Likewise.
58602         * hurd/xattr.c: Likewise.
58603         * include/shlib-compat.h: Likewise.
58604         * inet/ruserpass.c: Likewise.
58605         * libio/iofgets_u.c: Likewise.
58606         * libio/iofgetws_u.c: Likewise.
58607         * locale/programs/ld-identification.c: Likewise.
58608         * locale/programs/ld-time.c: Likewise.
58609         * mach/msg-destroy.c: Likewise.
58610         * nss/nss_files/files-netgrp.c: Likewise.
58611         * resolv/res_data.c: Likewise.
58612         * soft-fp/op-1.h: Likewise.
58613         * soft-fp/op-2.h: Likewise.
58614         * soft-fp/op-4.h: Likewise.
58615         * soft-fp/op-common.h: Likewise.
58616         * stdio-common/printf_fphex.c: Likewise.
58617         * stdlib/strtod_l.c: Likewise.
58618         * sunrpc/rpc/clnt.h: Likewise.
58619         * sysdeps/generic/framestate.c: Likewise.
58620         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58621         * sysdeps/i386/bsd-setjmp.S: Likewise.
58622         * sysdeps/i386/__longjmp.S: Likewise.
58623         * sysdeps/i386/setjmp.S: Likewise.
58624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58625         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58627         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58628         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58629         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58630         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58633         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58634         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58635         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58636         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58637         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58638         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58639         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58640         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58641         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58642         * sysdeps/ieee754/support.c: Likewise.
58643         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58644         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58645         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58646         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58647         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58648         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58649         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58650         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58651         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58652         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58653         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58654         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58655         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58656         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58657         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58658         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58659         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58662 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58664         * posix/transbug.c: Remove executable mode.
58666 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58668         * crypt/speeds.c: Remove trailing whitespace.
58669         * dlfcn/default.c: Likewise.
58670         * elf/ifuncdep2.c: Likewise.
58671         * elf/ifuncmain1.c: Likewise.
58672         * elf/ifuncmain1vis.c: Likewise.
58673         * elf/testobj.h: Likewise.
58674         * elf/tst-stackguard1.c: Likewise.
58675         * gmon/sys/gmon.h: Likewise.
58676         * hurd/hurdmsg.c: Likewise.
58677         * hurd/new-fd.c: Likewise.
58678         * hurd/ports-get.c: Likewise.
58679         * iconvdata/ibm1008_420.c: Likewise.
58680         * inet/tst-getni1.c: Likewise.
58681         * inet/tst-getni2.c: Likewise.
58682         * libio/ioungetc.c: Likewise.
58683         * libio/wfiledoalloc.c: Likewise.
58684         * manual/libm-err-tab.pl: Likewise.
58685         * math/w_dremf.c: Likewise.
58686         * misc/ftruncate.c: Likewise.
58687         * posix/bug-glob2.c: Likewise.
58688         * posix/tst-pcre.c: Likewise.
58689         * posix/wait4.c: Likewise.
58690         * resolv/README: Likewise.
58691         * resolv/res_debug.h: Likewise.
58692         * resolv/tst-inet_ntop.c: Likewise.
58693         * setjmp/bug269-setjmp.c: Likewise.
58694         * soft-fp/extended.h: Likewise.
58695         * soft-fp/op-1.h: Likewise.
58696         * soft-fp/op-2.h: Likewise.
58697         * soft-fp/op-4.h: Likewise.
58698         * soft-fp/op-8.h: Likewise.
58699         * soft-fp/testit.c: Likewise.
58700         * stdio-common/bug16.c: Likewise.
58701         * stdlib/random.c: Likewise.
58702         * sunrpc/rpcsvc/rquota.x: Likewise.
58703         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58704         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58706         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58707         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58708         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58709         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58710         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58711         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58712         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58713         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58714         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58715         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58716         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58717         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58718         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58719         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58720         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58721         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58724         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58725         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58726         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58727         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58728         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58730         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58731         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58732         * sysdeps/ieee754/s_lib_version.c: Likewise.
58733         * sysdeps/mach/hurd/check_fds.c: Likewise.
58734         * sysdeps/mach/hurd/getsockname.c: Likewise.
58735         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58736         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58737         * sysdeps/powerpc/bits/link.h: Likewise.
58738         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58739         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58740         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58741         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58742         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58743         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58744         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58745         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58746         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58747         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58748         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58749         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58750         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58751         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58752         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58753         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58754         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58755         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58756         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58757         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58758         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58759         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58760         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58761         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58762         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58763         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58764         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58765         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58766         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58767         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58768         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58769         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58770         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58771         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58772         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58773         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58774         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58775         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58776         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58777         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58778         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58779         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58780         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58781         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58782         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58783         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58784         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58785         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58786         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58787         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58788         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58789         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58790         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58791         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58792         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58793         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58794         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58795         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58796         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58797         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58798         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58799         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58800         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58801         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58802         * sysdeps/powerpc/sysdep.h: Likewise.
58803         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58804         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58805         * sysdeps/sh/dl-trampoline.S: Likewise.
58806         * sysdeps/sh/memset.S: Likewise.
58807         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58808         * sysdeps/sh/strlen.S: Likewise.
58809         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58810         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58811         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58812         * sysdeps/sparc/sparc32/rem.S: Likewise.
58813         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58814         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58815         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58816         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58817         * sysdeps/sparc/sparc32/urem.S: Likewise.
58818         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58819         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58820         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58821         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58822         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58823         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58824         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58825         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58826         * sysdeps/unix/bsd/times.c: Likewise.
58827         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58828         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58832         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58833         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58834         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58835         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58836         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58837         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58838         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58839         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58840         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58841         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58842         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58843         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58844         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58845         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58846         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58847         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58848         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58849         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58850         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58851         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58852         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58853         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58854         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58855         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58856         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58857         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58858         * sysdeps/x86_64/strcspn.S: Likewise.
58860 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58862         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58863         generated file.  Regenerate properly from gen-translit.pl.
58864         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58865         locale/C-translit.h.
58867 2013-06-05  Andreas Schwab  <schwab@suse.de>
58869         [BZ #15100]
58870         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58871         week as 6 instead of -1.
58872         * time/tst-strptime.c (day_tests): Add test case.
58874 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58876         * sysdeps/generic/math_private.h
58877         (libc_feholdexcept_setround_53bit): Replace with
58878         libc_feholdsetround_53bit.
58879         (libc_feupdateenv_53bit): Replace with
58880         libc_feresetround_53bit.
58881         (SET_RESTORE_ROUND_53BIT): Adjust.
58883 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58885         * string/test-strchrnul.c: Add copyright header.
58887         * posix/tst-getaddrinfo4.c: Increase test timeout.
58889 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58891         [BZ #15536]
58892         * math/libm-test.inc (MAX_EXP): Remove
58893         (MIN_EXP): Define.
58894         (ulp): Use MIN_EXP - MANT_DIG.
58895         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58897 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58899         * po/be.po: Revert last change.
58900         * po/zh_CN.po: Likewise.
58901         * po/header.pot: Likewise.
58903 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58905         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58906         link-libc-deps to empty as target-specific variable.
58907         * Makerules (link-libc-args): New variable.
58908         (libc-for-link): Likewise.
58909         (link-libc-deps): Likewise.
58910         (lib%.so): Depend on $(link-libc-deps).  Link with
58911         $(link-libc-args).
58912         (build-module): Link with $(link-libc-args).
58913         (build-module-asneeded): Likewise.
58914         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58915         list of objects.
58916         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58917         target-specific variable.
58918         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58919         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58920         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58921         libc.
58922         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58923         libc and ld.so.
58924         ($(objpfx)libpcprofile.so): Likewise.
58925         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58926         libc_nonshared.a.
58927         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58928         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58929         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58930         $(link-libc-deps).
58931         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58932         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58933         * login/Makefile ($(objpfx)libutil.so): Likewise.
58934         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58935         * math/Makefile ($(objpfx)libm.so): Likewise.
58936         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58937         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58938         variable instead of depending directly on libc.
58939         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58940         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58941         $(link-libc-deps).
58942         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58943         libc.
58944         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58945         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58946         ($(objpfx)libanl.so): Likewise.
58947         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58948         ld.so.
58949         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58950         $(link-libc-deps).
58951         * sysdeps/i386/fpu/Makefile: Remove file.
58952         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58953         ($(objpfx)libm.so): Remove dependency on ld.so.
58955 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58957         [BZ # 15553]
58958         * nis/yp_xdr.c (XDRMAXNAME): Define.
58959         (XDRMAXRECORD): Define.
58960         (xdr_domainname): Use XDRMAXNAME.
58961         (xdr_mapname): Likewise.
58962         (xdr_peername): Likewise.
58963         (xdr_keydat): Use XDRMAXRECORD.
58964         (xdr_valdat): Likewise.
58966 2013-05-30  Jeff Law  <law@redhat.com>
58968         [BZ #14256]
58969         * manual/errno.texi (ESTALE): Update to account for more than
58970         just NFS file systems.
58971         * sysdeps/gnu/errlist.c: Regenerated.
58973 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58975         [BZ #15465]
58976         * elf/Makefile (tests): Add tst-null-argv.
58977         (modules-names):  Add tst-null-argv-lib.
58978         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58979         (tst-null-argv-ENV): Set environment for tst-null-argv.
58980         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58981         (RTLD_PROGNAME): New macro.
58982         * elf/tst-null-argv.c: New test case.
58983         * elf/tst-null-argv-lib.c: Library for test case.
58984         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58985         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58986         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58987         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58988         * elf/dl-init.c (call_init): Likewise.
58989         (_dl_init): Likewise.
58990         * elf/dl-load.c (print_search_path): Likewise.
58991         (_dl_map_object): Likewise.
58992         * elf/dl-lookup.c (do_lookup_x): Likewise.
58993         (add_dependency): Likewise.
58994         (_dl_lookup_symbol_x): Likewise.
58995         (_dl_debug_bindings): Likewise.
58996         * elf/dl-open.c (_dl_show_scope): Likewise.
58997         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58998         * elf/dl-version.c (match_symbol): Likewise.
58999         (_dl_check_map_versions): Likewise.
59000         * elf/rtld.c (dl_main): Likewise.
59001         (print_unresolved): Use RTLD_PROGNAME.
59002         (print_missing_version): Likewise.
59003         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59004         (elf_machine_rela): Likewise.
59005         * sysdeps/powerpc/powerpc32/dl-machine.c
59006         (__process_machine_rela): Likewise.
59007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59008         Likewise.
59009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59010         Likewise.
59011         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59012         Likewise.
59013         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59015         Likewise.
59016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59017         Likewise.
59018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59020 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59022         * po/be.po: Add descriptive title.
59023         * po/zh_CN.po: Likewise.
59024         * po/header.pot: Likewise.
59026 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59028         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59029         error message.
59030         (enlarge_archive): Likewise.
59032 2013-05-28  Ben North  <ben@redfrontdoor.org>
59034         * manual/arith.texi (frexp): It is the magnitude of the return
59035         value which lies in [0.5, 1), not the return value itself.
59037 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59041 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59043         * stdio-common/bug26.c (main): Correct fscanf template.
59045         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59046         declare _dl_skip_args.
59048         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59049         Don't declare.
59051         * manual/platform.texi: Add missing @end deftypefun.
59053 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59055         [BZ #15529]
59056         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59057         bit of mantissa of 2^16382.
59058         * math/libm-test.inc (hypot_test_data): Add more tests.
59060         * math/libm-test.inc: Add drem and pow10 to list of tested
59061         functions.
59062         (pow10_test): New function.
59063         (drem_test): Likewise.
59064         (drem_test_tonearest): Likewise.
59065         (drem_test_towardzero): Likewise.
59066         (drem_test_downward): Likewise.
59067         (drem_test_upward): Likewise.
59068         (main): Call the new functions.
59070         * math/libm-test.inc (finite_test_data): Remove.
59071         (finite_test): Run tests from isfinite_test_data.
59072         (gamma_test_data): Remove.
59073         (gamma_test): Run tests from lgamma_test_data.
59074         * sysdeps/i386/fpu/libm-test-ulps: Update.
59075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59077 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59079         * manual/platform.texi: Add PowerPC PPR function set documentation.
59080         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59081         implementation.
59083 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59085         * math/libm-test.inc (MAX_EXP): Define.
59086         (ULPDIFF): Define.
59087         (ulp): New function.
59088         (check_float_internal): Use ULPDIFF.
59089         (cpow_test): Disable failing test.
59090         (check_ulp): Test ulp() implementation.
59091         (main): Call check_ulp before starting tests.
59093 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59095         * math/gen-libm-test.pl (generate_testfile): Do not handle
59096         START_DATA and END_DATA.
59097         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59098         END_DATA.
59099         (acos_tonearest_test_data): Likewise.
59100         (acos_towardzero_test_data): Likewise.
59101         (acos_downward_test_data): Likewise.
59102         (acos_upward_test_data): Likewise.
59103         (acosh_test_data): Likewise.
59104         (asin_test_data): Likewise.
59105         (asin_tonearest_test_data): Likewise.
59106         (asin_towardzero_test_data): Likewise.
59107         (asin_downward_test_data): Likewise.
59108         (asin_upward_test_data): Likewise.
59109         (asinh_test_data): Likewise.
59110         (atan_test_data): Likewise.
59111         (atanh_test_data): Likewise.
59112         (atan2_test_data): Likewise.
59113         (cabs_test_data): Likewise.
59114         (cacos_test_data): Likewise.
59115         (cacosh_test_data): Likewise.
59116         (carg_test_data): Likewise.
59117         (casin_test_data): Likewise.
59118         (casinh_test_data): Likewise.
59119         (catan_test_data): Likewise.
59120         (catanh_test_data): Likewise.
59121         (cbrt_test_data): Likewise.
59122         (ccos_test_data): Likewise.
59123         (ccosh_test_data): Likewise.
59124         (ceil_test_data): Likewise.
59125         (cexp_test_data): Likewise.
59126         (cimag_test_data): Likewise.
59127         (clog_test_data): Likewise.
59128         (clog10_test_data): Likewise.
59129         (conj_test_data): Likewise.
59130         (copysign_test_data): Likewise.
59131         (cos_test_data): Likewise.
59132         (cos_tonearest_test_data): Likewise.
59133         (cos_towardzero_test_data): Likewise.
59134         (cos_downward_test_data): Likewise.
59135         (cos_upward_test_data): Likewise.
59136         (cosh_test_data): Likewise.
59137         (cosh_tonearest_test_data): Likewise.
59138         (cosh_towardzero_test_data): Likewise.
59139         (cosh_downward_test_data): Likewise.
59140         (cosh_upward_test_data): Likewise.
59141         (cpow_test_data): Likewise.
59142         (cproj_test_data): Likewise.
59143         (creal_test_data): Likewise.
59144         (csin_test_data): Likewise.
59145         (csinh_test_data): Likewise.
59146         (csqrt_test_data): Likewise.
59147         (ctan_test_data): Likewise.
59148         (ctan_tonearest_test_data): Likewise.
59149         (ctan_towardzero_test_data): Likewise.
59150         (ctan_downward_test_data): Likewise.
59151         (ctan_upward_test_data): Likewise.
59152         (ctanh_test_data): Likewise.
59153         (ctanh_tonearest_test_data): Likewise.
59154         (ctanh_towardzero_test_data): Likewise.
59155         (ctanh_downward_test_data): Likewise.
59156         (ctanh_upward_test_data): Likewise.
59157         (erf_test_data): Likewise.
59158         (erfc_test_data): Likewise.
59159         (exp_test_data): Likewise.
59160         (exp_tonearest_test_data): Likewise.
59161         (exp_towardzero_test_data): Likewise.
59162         (exp_downward_test_data): Likewise.
59163         (exp_upward_test_data): Likewise.
59164         (exp10_test_data): Likewise.
59165         (exp2_test_data): Likewise.
59166         (expm1_test_data): Likewise.
59167         (fabs_test_data): Likewise.
59168         (fdim_test_data): Likewise.
59169         (finite_test_data): Likewise.
59170         (floor_test_data): Likewise.
59171         (fma_test_data): Likewise.
59172         (fma_towardzero_test_data): Likewise.
59173         (fma_downward_test_data): Likewise.
59174         (fma_upward_test_data): Likewise.
59175         (fmax_test_data): Likewise.
59176         (fmin_test_data): Likewise.
59177         (fmod_test_data): Likewise.
59178         (fpclassify_test_data): Likewise.
59179         (frexp_test_data): Likewise.
59180         (gamma_test_data): Likewise.
59181         (hypot_test_data): Likewise.
59182         (ilogb_test_data): Likewise.
59183         (isfinite_test_data): Likewise.
59184         (isgreater_test_data): Likewise.
59185         (isgreaterequal_test_data): Likewise.
59186         (isinf_test_data): Likewise.
59187         (isless_test_data): Likewise.
59188         (islessequal_test_data): Likewise.
59189         (islessgreater_test_data): Likewise.
59190         (isnan_test_data): Likewise.
59191         (isnormal_test_data): Likewise.
59192         (issignaling_test_data): Likewise.
59193         (isunordered_test_data): Likewise.
59194         (j0_test_data): Likewise.
59195         (j1_test_data): Likewise.
59196         (jn_test_data): Likewise.
59197         (ldexp_test_data): Likewise.
59198         (lgamma_test_data): Likewise.
59199         (lrint_test_data): Likewise.
59200         (lrint_tonearest_test_data): Likewise.
59201         (lrint_towardzero_test_data): Likewise.
59202         (lrint_downward_test_data): Likewise.
59203         (lrint_upward_test_data): Likewise.
59204         (llrint_test_data): Likewise.
59205         (llrint_tonearest_test_data): Likewise.
59206         (llrint_towardzero_test_data): Likewise.
59207         (llrint_downward_test_data): Likewise.
59208         (llrint_upward_test_data): Likewise.
59209         (log_test_data): Likewise.
59210         (log10_test_data): Likewise.
59211         (log1p_test_data): Likewise.
59212         (log2_test_data): Likewise.
59213         (logb_test_data): Likewise.
59214         (logb_downward_test_data): Likewise.
59215         (lround_test_data): Likewise.
59216         (llround_test_data): Likewise.
59217         (modf_test_data): Likewise.
59218         (nearbyint_test_data): Likewise.
59219         (nextafter_test_data): Likewise.
59220         (nexttoward_test_data): Likewise.
59221         (pow_test_data): Likewise.
59222         (pow_tonearest_test_data): Likewise.
59223         (pow_towardzero_test_data): Likewise.
59224         (pow_downward_test_data): Likewise.
59225         (pow_upward_test_data): Likewise.
59226         (remainder_test_data): Likewise.
59227         (remainder_tonearest_test_data): Likewise.
59228         (remainder_towardzero_test_data): Likewise.
59229         (remainder_downward_test_data): Likewise.
59230         (remainder_upward_test_data): Likewise.
59231         (remquo_test_data): Likewise.
59232         (rint_test_data): Likewise.
59233         (rint_tonearest_test_data): Likewise.
59234         (rint_towardzero_test_data): Likewise.
59235         (rint_downward_test_data): Likewise.
59236         (rint_upward_test_data): Likewise.
59237         (round_test_data): Likewise.
59238         (scalb_test_data): Likewise.
59239         (scalbn_test_data): Likewise.
59240         (scalbln_test_data): Likewise.
59241         (signbit_test_data): Likewise.
59242         (sin_test_data): Likewise.
59243         (sin_tonearest_test_data): Likewise.
59244         (sin_towardzero_test_data): Likewise.
59245         (sin_downward_test_data): Likewise.
59246         (sin_upward_test_data): Likewise.
59247         (sincos_test_data): Likewise.
59248         (sinh_test_data): Likewise.
59249         (sinh_tonearest_test_data): Likewise.
59250         (sinh_towardzero_test_data): Likewise.
59251         (sinh_downward_test_data): Likewise.
59252         (sinh_upward_test_data): Likewise.
59253         (sqrt_test_data): Likewise.
59254         (tan_test_data): Likewise.
59255         (tan_tonearest_test_data): Likewise.
59256         (tan_towardzero_test_data): Likewise.
59257         (tan_downward_test_data): Likewise.
59258         (tan_upward_test_data): Likewise.
59259         (tanh_test_data): Likewise.
59260         (tgamma_test_data): Likewise.
59261         (trunc_test_data): Likewise.
59262         (y0_test_data): Likewise.
59263         (y1_test_data): Likewise.
59264         (yn_test_data): Likewise.
59265         (significand_test_data): Likewise.
59267         * math/gen-libm-test.pl (@functions): Remove variable.
59268         (generate_testfile): Don't handle START and END lines.
59269         * math/libm-test.inc (START): New macro.
59270         (END): Likewise.
59271         (END_COMPLEX): Likewise.
59272         (acos_test): Use END macro without arguments.
59273         (acos_test_tonearest): Likewise.
59274         (acos_test_towardzero): Likewise.
59275         (acos_test_downward): Likewise.
59276         (acos_test_upward): Likewise.
59277         (acosh_test): Likewise.
59278         (asin_test): Likewise.
59279         (asin_test_tonearest): Likewise.
59280         (asin_test_towardzero): Likewise.
59281         (asin_test_downward): Likewise.
59282         (asin_test_upward): Likewise.
59283         (asinh_test): Likewise.
59284         (atan_test): Likewise.
59285         (atanh_test): Likewise.
59286         (atan2_test): Likewise.
59287         (cabs_test): Likewise.
59288         (cacos_test): Use END_COMPLEX macro without arguments.
59289         (cacosh_test): Likewise.
59290         (carg_test): Use END macro without arguments.
59291         (casin_test): Use END_COMPLEX macro without arguments.
59292         (casinh_test): Likewise.
59293         (catan_test): Likewise.
59294         (catanh_test): Likewise.
59295         (cbrt_test): Use END macro without arguments.
59296         (ccos_test): Use END_COMPLEX macro without arguments.
59297         (ccosh_test): Likewise.
59298         (ceil_test): Use END macro without arguments.
59299         (cexp_test): Use END_COMPLEX macro without arguments.
59300         (cimag_test): Use END macro without arguments.
59301         (clog_test): Use END_COMPLEX macro without arguments.
59302         (clog10_test): Likewise.
59303         (conj_test): Likewise.
59304         (copysign_test): Use END macro without arguments.
59305         (cos_test): Likewise.
59306         (cos_test_tonearest): Likewise.
59307         (cos_test_towardzero): Likewise.
59308         (cos_test_downward): Likewise.
59309         (cos_test_upward): Likewise.
59310         (cosh_test): Likewise.
59311         (cosh_test_tonearest): Likewise.
59312         (cosh_test_towardzero): Likewise.
59313         (cosh_test_downward): Likewise.
59314         (cosh_test_upward): Likewise.
59315         (cpow_test): Use END_COMPLEX macro without arguments.
59316         (cproj_test): Likewise.
59317         (creal_test): Use END macro without arguments.
59318         (csin_test): Use END_COMPLEX macro without arguments.
59319         (csinh_test): Likewise.
59320         (csqrt_test): Likewise.
59321         (ctan_test): Likewise.
59322         (ctan_test_tonearest): Likewise.
59323         (ctan_test_towardzero): Likewise.
59324         (ctan_test_downward): Likewise.
59325         (ctan_test_upward): Likewise.
59326         (ctanh_test): Likewise.
59327         (ctanh_test_tonearest): Likewise.
59328         (ctanh_test_towardzero): Likewise.
59329         (ctanh_test_downward): Likewise.
59330         (ctanh_test_upward): Likewise.
59331         (erf_test): Use END macro without arguments.
59332         (erfc_test): Likewise.
59333         (exp_test): Likewise.
59334         (exp_test_tonearest): Likewise.
59335         (exp_test_towardzero): Likewise.
59336         (exp_test_downward): Likewise.
59337         (exp_test_upward): Likewise.
59338         (exp10_test): Likewise.
59339         (exp2_test): Likewise.
59340         (expm1_test): Likewise.
59341         (fabs_test): Likewise.
59342         (fdim_test): Likewise.
59343         (finite_test): Likewise.
59344         (floor_test): Likewise.
59345         (fma_test): Likewise.
59346         (fma_test_towardzero): Likewise.
59347         (fma_test_downward): Likewise.
59348         (fma_test_upward): Likewise.
59349         (fmax_test): Likewise.
59350         (fmin_test): Likewise.
59351         (fmod_test): Likewise.
59352         (fpclassify_test): Likewise.
59353         (frexp_test): Likewise.
59354         (gamma_test): Likewise.
59355         (hypot_test): Likewise.
59356         (ilogb_test): Likewise.
59357         (isfinite_test): Likewise.
59358         (isgreater_test): Likewise.
59359         (isgreaterequal_test): Likewise.
59360         (isinf_test): Likewise.
59361         (isless_test): Likewise.
59362         (islessequal_test): Likewise.
59363         (islessgreater_test): Likewise.
59364         (isnan_test): Likewise.
59365         (isnormal_test): Likewise.
59366         (issignaling_test): Likewise.
59367         (isunordered_test): Likewise.
59368         (j0_test): Likewise.
59369         (j1_test): Likewise.
59370         (jn_test): Likewise.
59371         (ldexp_test): Likewise.
59372         (lgamma_test): Likewise.
59373         (lrint_test): Likewise.
59374         (lrint_test_tonearest): Likewise.
59375         (lrint_test_towardzero): Likewise.
59376         (lrint_test_downward): Likewise.
59377         (lrint_test_upward): Likewise.
59378         (llrint_test): Likewise.
59379         (llrint_test_tonearest): Likewise.
59380         (llrint_test_towardzero): Likewise.
59381         (llrint_test_downward): Likewise.
59382         (llrint_test_upward): Likewise.
59383         (log_test): Likewise.
59384         (log10_test): Likewise.
59385         (log1p_test): Likewise.
59386         (log2_test): Likewise.
59387         (logb_test): Likewise.
59388         (logb_test_downward): Likewise.
59389         (lround_test): Likewise.
59390         (llround_test): Likewise.
59391         (modf_test): Likewise.
59392         (nearbyint_test): Likewise.
59393         (nextafter_test): Likewise.
59394         (nexttoward_test): Likewise.
59395         (pow_test): Likewise.
59396         (pow_test_tonearest): Likewise.
59397         (pow_test_towardzero): Likewise.
59398         (pow_test_downward): Likewise.
59399         (pow_test_upward): Likewise.
59400         (remainder_test): Likewise.
59401         (remainder_test_tonearest): Likewise.
59402         (remainder_test_towardzero): Likewise.
59403         (remainder_test_downward): Likewise.
59404         (remainder_test_upward): Likewise.
59405         (remquo_test): Likewise.
59406         (rint_test): Likewise.
59407         (rint_test_tonearest): Likewise.
59408         (rint_test_towardzero): Likewise.
59409         (rint_test_downward): Likewise.
59410         (rint_test_upward): Likewise.
59411         (round_test): Likewise.
59412         (scalb_test): Likewise.
59413         (scalbn_test): Likewise.
59414         (scalbln_test): Likewise.
59415         (signbit_test): Likewise.
59416         (sin_test): Likewise.
59417         (sin_test_tonearest): Likewise.
59418         (sin_test_towardzero): Likewise.
59419         (sin_test_downward): Likewise.
59420         (sin_test_upward): Likewise.
59421         (sincos_test): Likewise.
59422         (sinh_test): Likewise.
59423         (sinh_test_tonearest): Likewise.
59424         (sinh_test_towardzero): Likewise.
59425         (sinh_test_downward): Likewise.
59426         (sinh_test_upward): Likewise.
59427         (sqrt_test): Likewise.
59428         (tan_test): Likewise.
59429         (tan_test_tonearest): Likewise.
59430         (tan_test_towardzero): Likewise.
59431         (tan_test_downward): Likewise.
59432         (tan_test_upward): Likewise.
59433         (tanh_test): Likewise.
59434         (tgamma_test): Likewise.
59435         (trunc_test): Likewise.
59436         (y0_test): Likewise.
59437         (y1_test): Likewise.
59438         (yn_test): Likewise.
59439         (significand_test): Likewise.
59441 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59443         [BZ #15381]
59444         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59446 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59448         [BZ #14894]
59449         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59450         __ppc_mdoio and __ppc_mdoom.
59451         * manual/platform.texi: Document new functions __ppc_yield,
59452         __ppc_mdoio and __ppc_mdoom.
59454 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59456         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59457         (main): Mention "tls" pseudo-hwcap is legacy.
59458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59460 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59462         * math/gen-libm-test.pl (parse_args): Output only string of
59463         arguments as text for test name, not full call or descriptions of
59464         tests for extra outputs.
59465         (generate_testfile): Do not pass function name to parse_args.
59466         Generate this_func variable from START.
59467         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59468         field to arg_str.
59469         (struct test_ff_f_data): Likewise.
59470         (test_ff_f_data_nexttoward): Likewise.
59471         (struct test_fi_f_data): Likewise.
59472         (struct test_fl_f_data): Likewise.
59473         (struct test_if_f_data): Likewise.
59474         (struct test_fff_f_data): Likewise.
59475         (struct test_c_f_data): Likewise.
59476         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59477         (struct test_fF_f1_data): Likewise.
59478         (struct test_ffI_f1_data): Likewise.
59479         (struct test_c_c_data): Rename test_name field to arg_str.
59480         (struct test_cc_c_data): Likewise.
59481         (struct test_f_i_data): Likewise.
59482         (struct test_ff_i_data): Likewise.
59483         (struct test_f_l_data): Likewise.
59484         (struct test_f_L_data): Likewise.
59485         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59486         and extra2_name.
59487         (COMMON_TEST_SETUP): New macro.
59488         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59489         (COMMON_TEST_CLEANUP): Likewise.
59490         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59491         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59492         macros.
59493         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59494         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59495         macros.
59496         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59497         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59498         cleanup macros.
59499         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59500         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59501         macros.
59502         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59503         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59504         macros.
59505         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59506         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59507         cleanup macros.
59508         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59509         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59510         cleanup macros.
59511         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59512         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59513         cleanup macros.
59514         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59515         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59516         macros.
59517         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59518         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59519         macros.
59520         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59521         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59522         macros.
59523         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59524         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59525         cleanup macros.
59526         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59527         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59528         cleanup macros.
59529         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59530         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59531         macros.
59532         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59533         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59534         cleanup macros.
59535         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59536         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59537         macros.
59538         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59539         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59540         macros.
59541         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59542         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59543         cleanup macros.
59544         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59546 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59548         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59549         to _sifields.sigfault.
59550         (si_addr_lsb): Define new macro.
59551         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59553         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59555 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59557         [BZ #15441]
59558         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59559         returns -1.
59560         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59561         null return -1.
59562         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59563         loading the domain.
59565 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59567         * math/gen-libm-test.pl (parse_args): Do not include expected
59568         result in test name.
59569         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59570         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59571         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59572         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59573         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59576 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59578         * benchtests/Makefile: Sort function entries.
59580         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59581         tanh, asinh, acosh, atanh.
59582         * benchtests/acos-inputs: New file.
59583         * benchtests/acosh-inputs: New file.
59584         * benchtests/asin-inputs: New file.
59585         * benchtests/asinh-inputs: New file.
59586         * benchtests/atanh-inputs: New file.
59587         * benchtests/cosh-inputs: New file.
59588         * benchtests/log-inputs: New file.
59589         * benchtests/sinh-inputs: New file.
59590         * benchtests/tanh-inputs: New file.
59592 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59594         [BZ #15339]
59595         * posix/tst-getaddrinfo4.c: New test.
59596         * posix/Makefile (tests): Add it.
59598 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59600         [BZ #15339]
59601         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59602         when no services were used.
59603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59604         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59606 2013-05-21  Andreas Schwab  <schwab@suse.de>
59608         [BZ #15014]
59609         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59610         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59611         successful.
59612         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59613         redundant variable declarations and reallocation of buffer when
59614         parsing as IPv6 address.  Always set NSS status when called from
59615         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59616         buffer too small.  Correct computation of needed size.
59617         * nss/Makefile (tests): Add test-digits-dots.
59618         * nss/test-digits-dots.c: New test.
59620 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59622         * benchtests/Makefile: Remove instructions for adding
59623         benchmark tests.
59624         * benchtests/README: New file to explain how to execute and
59625         enhance the benchmark tests.
59627 2013-05-21  Andreas Schwab  <schwab@suse.de>
59629         [BZ #15493]
59630         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59631         * setjmp/tst-sigsetjmp.c: New test.
59633 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59635         * sysdeps/x86_64/memset.S (memset): New implementation.
59636         (__bzero): Likewise.
59637         (__memset_tail): New function.
59639 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59641         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59642         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59643         __memcpy_sse2_unaligned ifunc selection.
59644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59645         Add memcpy-sse2-unaligned.S.
59646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59647         Add: __memcpy_sse2_unaligned.
59649 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59651         [BZ #15490]
59652         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59653         math_force_eval before restoring floating-point envrionment.
59654         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59655         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59656         Likewise.
59657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59658         <math_private.h>.
59659         (__nearbyintl): Use math_force_eval before restoring
59660         floating-point environment.
59661         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59663         * math/gen-libm-test.pl (special_functions): Remove.
59664         (parse_args): Don't handle TEST_extra.  Handle functions with no
59665         return value.
59666         * math/libm-test.inc (struct test_sincos_data): Replace with
59667         struct test_fFF_11_data.
59668         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59669         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59670         (sincos_test_data): Change element type to struct
59671         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59672         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59673         RUN_TEST_LOOP_sincos.
59674         * math/README.libm-test: Don't mention special handling of
59675         individual functions.
59676         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59677         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59678         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59679         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59680         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59683         * math/gen-libm-test.pl (get_variable): Remove function.
59684         (parse_args): Don't show pointer parameters to call in test
59685         names.  Use "extra output N" in test names for extra outputs
59686         rather than naming variables.
59688 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59690         [BZ #15488]
59691         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59692         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59693         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59694         double tests.
59695         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59696         disable.
59697         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59698         check_long_double.
59700         * math/gen-libm-test.pl (@tests): Remove variable.
59701         ($count): Likewise.
59702         (new_test): Remove function.
59703         (show_exceptions): New function.
59704         (special_functions): Use show_exceptions instead of new_test.
59705         (parse_args): Likewise.
59706         (generate_testfile): Pass only function name in generated call to
59707         print_max_error or print_complex_max_error.
59708         (get_ulps): Do not handle complex tests specially.
59709         (output_test): Rename to ...
59710         (get_all_ulps_for_test): ... this.  Return a string rather than
59711         printing to a file.  Require ulps to be present.
59712         (output_ulps): Generate arrays rather than #defines.
59713         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59714         (struct ulp_data): New type.
59715         (BUILD_COMPLEX_ULP): Remove macro.
59716         (compare_ulp_data): New function.
59717         (find_ulps): Likewise.
59718         (find_test_ulps): Likewise.
59719         (find_function_ulps): Likewise.
59720         (find_complex_function_ulps): Likewise.
59721         (print_max_error): Determine allowed ulps using
59722         find_function_ulps.
59723         (print_complex_max_error): Determine allowed ulps using
59724         find_complex_function_ulps.
59725         (check_float_internal): Determine max ulps using find_test_ulps.
59726         (check_float): Do not take max_ulp parameter.  Update call to
59727         check_float_internal.
59728         (check_complex): Likewise.
59729         (check_int): Do not take max_ulp parameter.
59730         (check_long): Likewise.
59731         (check_bool): Likewise.
59732         (check_longlong): Likewise.
59733         (struct test_f_f_data): Remove max_ulp field.
59734         (struct test_ff_f_data): Likewise.
59735         (struct test_ff_f_data_nexttoward): Likewise.
59736         (struct test_fi_f_data): Likewise.
59737         (struct test_fl_f_data): Likewise.
59738         (struct test_if_f_data): Likewise.
59739         (struct test_fff_f_data): Likewise.
59740         (struct test_c_f_data): Likewise.
59741         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59742         (struct test_fF_f1_data): Likewise.
59743         (struct test_ffI_f1_data): Likewise.
59744         (struct test_c_c_data): Remove max_ulp field.
59745         (struct test_cc_c_data): Likewise.
59746         (struct test_f_i_data): Likewise.
59747         (struct test_ff_i_data): Likewise.
59748         (struct test_f_l_data): Likewise.
59749         (struct test_f_L_data): Likewise.
59750         (struct test_sincos_data): Likewise.
59751         (RUN_TEST_f_f): Do not handle ulps.
59752         (RUN_TEST_LOOP_f_f): Likewise.
59753         (RUN_TEST_2_f): Likewise.
59754         (RUN_TEST_LOOP_2_f): Likewise.
59755         (RUN_TEST_fff_f): Likewise.
59756         (RUN_TEST_LOOP_fff_f): Likewise.
59757         (RUN_TEST_c_f): Likewise.
59758         (RUN_TEST_LOOP_c_f): Likewise.
59759         (RUN_TEST_f_f1): Likewise.
59760         (RUN_TEST_LOOP_f_f1): Likewise.
59761         (RUN_TEST_fF_f1): Likewise.
59762         (RUN_TEST_LOOP_fF_f1): Likewise.
59763         (RUN_TEST_fI_f1): Likewise.
59764         (RUN_TEST_LOOP_fI_f1): Likewise.
59765         (RUN_TEST_ffI_f1): Likewise.
59766         (RUN_TEST_LOOP_ffI_f1): Likewise.
59767         (RUN_TEST_c_c): Likewise.
59768         (RUN_TEST_LOOP_c_c): Likewise.
59769         (RUN_TEST_cc_c): Likewise.
59770         (RUN_TEST_LOOP_cc_c): Likewise.
59771         (RUN_TEST_f_i): Likewise.
59772         (RUN_TEST_LOOP_f_i): Likewise.
59773         (RUN_TEST_f_i_tg): Likewise.
59774         (RUN_TEST_LOOP_f_i_tg): Likewise.
59775         (RUN_TEST_ff_i_tg): Likewise.
59776         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59777         (RUN_TEST_f_b): Likewise.
59778         (RUN_TEST_LOOP_f_b): Likewise.
59779         (RUN_TEST_f_b_tg): Likewise.
59780         (RUN_TEST_LOOP_f_b_tg): Likewise.
59781         (RUN_TEST_f_l): Likewise.
59782         (RUN_TEST_LOOP_f_l): Likewise.
59783         (RUN_TEST_f_L): Likewise.
59784         (RUN_TEST_LOOP_f_L): Likewise.
59785         (RUN_TEST_sincos): Likewise.
59786         (RUN_TEST_LOOP_sincos): Likewise.
59788 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59790         [BZ #15480]
59791         [BZ #15485]
59792         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59793         main case of finite arguments, set rounding mode to FE_TONEAREST
59794         and discard exceptions.
59795         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59796         exceptions.
59797         (remainder_tonearest_test_data): New variable.
59798         (remainder_test_tonearest): New function.
59799         (remainder_towardzero_test_data): New variable.
59800         (remainder_test_towardzero): New function.
59801         (remainder_downward_test_data): New variable.
59802         (remainder_test_downward): New function.
59803         (remainder_upward_test_data): New variable.
59804         (remainder_test_upward): New function.
59805         (main): Call the new test functions.
59807         * math/libm-test.inc (struct test_f_f1_data): Remove field
59808         extra_init.
59809         (struct test_fF_f1_data): Likewise.
59810         (struct test_ffI_f1_data): Likewise.
59811         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59812         based on value of EXTRA_EXPECTED.
59813         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59814         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59815         EXTRA_VAR based on value of EXTRA_EXPECTED.
59816         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59817         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59818         EXTRA_VAR based on value of EXTRA_EXPECTED.
59819         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59820         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59821         EXTRA_VAR based on value of EXTRA_EXPECTED.
59822         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59823         * math/gen-libm-test.pl (parse_args): Don't output initializers
59824         for extra output values.
59826         * math/libm-test.inc (check_int): Expect result to be exactly
59827         equal to expected value and do not handle ulps.
59828         (check_long): Likewise.
59829         (check_longlong): Likewise.
59831         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59832         exceptions.
59833         (cimag_test_data): Likewise.
59834         (conj_test_data): Likewise.
59835         (copysign_test_data): Likewise.
59836         (cproj_test_data): Likewise.
59837         (creal_test_data): Likewise.
59838         (fabs_test_data): Likewise.
59839         (fdim_test_data): Likewise.
59840         (finite_test_data): Likewise.
59841         (floor_test_data): Likewise.
59842         (fmax_test_data): Likewise.
59843         (fmin_test_data): Likewise.
59844         (fmod_test_data): Likewise.
59845         (fpclassify_test_data): Likewise.
59846         (frexp_test_data): Likewise.
59847         (ilogb_test_data): Likewise.
59848         (isfinite_test_data): Likewise.
59849         (isgreater_test_data): Likewise.
59850         (isgreaterequal_test_data): Likewise.
59851         (isinf_test_data): Likewise.
59852         (isless_test_data): Likewise.
59853         (islessequal_test_data): Likewise.
59854         (islessgreater_test_data): Likewise.
59855         (isnan_test_data): Likewise.
59856         (isnormal_test_data): Likewise.
59857         (issignaling_test_data): Likewise.
59858         (isunordered_test_data): Likewise.
59859         (ldexp_test_data): Likewise.
59860         (lrint_test_data): Likewise.
59861         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59862         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59863         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59864         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59865         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59866         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59867         test input.
59868         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59869         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59870         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59871         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59872         that test input.
59873         (lrint_downward_test_data): Test for "inexact" exceptions.
59874         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59875         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59876         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59877         test input.
59878         (lrint_upward_test_data): Test for "inexact" exceptions.
59879         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59880         test input.
59881         (llrint_test_data): Test for "inexact" exceptions.
59882         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59883         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59884         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59885         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59886         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59887         (llrint_downward_test_data): Test for "inexact" exceptions.
59888         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59889         (llrint_upward_test_data): Test for "inexact" exceptions.
59890         (logb_test_data): Likewise.
59891         (logb_downward_test_data): Likewise.
59892         (nextafter_test_data): Likewise.
59893         (nexttoward_test_data): Likewise.
59894         (remainder_test_data): Likewise.
59895         (remquo_test_data): Likewise.
59896         (scalbn_test_data): Likewise.
59897         (scalbln_test_data): Likewise.
59898         (signbit_test_data): Likewise.
59899         (sqrt_test_data): Likewise.
59900         (significand_test_data): Likewise.
59902 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59904         [BZ #15424]
59905         * benchtests/bench-modf.c (struct args): Mark arg0 as
59906         volatile.
59907         * scripts/bench.pl: Mark members of struct args as volatile.
59909 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59911         [BZ # 15497]
59912         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59913         negative infinity on POWER6 or lower.
59914         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59916 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59918         [BZ #15442]
59919         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59920         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59921         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59922         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59923         (_FP_SETQNAN): New macro.
59924         (_FP_SETQNAN_SEMIRAW): Likewise.
59925         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59926         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59927         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59928         (FP_EXTEND): Use _FP_FRAC_SNANP.
59929         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59930         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59931         into account.
59932         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59933         New macro.
59934         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59935         Likewise.
59937 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59939         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59940         with DIVIDE_BY_ZERO_EXCEPTION.
59941         (gamma_test_data): Likewise.
59942         (lgamma_test_data): Likewise.
59943         (log_test_data): Likewise.
59944         (log10_test_data): Likewise.
59945         (log2_test_data): Likewise.
59946         (tgamma_test_data): Likewise.
59948         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59949         (acos_test_tonearest): Likewise.
59950         (acos_test_towardzero): Likewise.
59951         (acos_test_downward): Likewise.
59952         (acos_test_upward): Likewise.
59953         (acosh_test): Likewise.
59954         (asin_test): Likewise.
59955         (asin_test_tonearest): Likewise.
59956         (asin_test_towardzero): Likewise.
59957         (asin_test_downward): Likewise.
59958         (asin_test_upward): Likewise.
59959         (asinh_test): Likewise.
59960         (atan_test): Likewise.
59961         (atanh_test): Likewise.
59962         (atan2_test): Likewise.
59963         (cabs_test): Likewise.
59964         (cacos_test): Likewise.
59965         (cacosh_test): Likewise.
59966         (casin_test): Likewise.
59967         (casinh_test): Likewise.
59968         (catan_test): Likewise.
59969         (catanh_test): Likewise.
59970         (cbrt_test): Likewise.
59971         (ccos_test): Likewise.
59972         (ccosh_test): Likewise.
59973         (cexp_test): Likewise.
59974         (clog_test): Likewise.
59975         (clog10_test): Likewise.
59976         (cos_test): Likewise.
59977         (cos_test_tonearest): Likewise.
59978         (cos_test_towardzero): Likewise.
59979         (cos_test_downward): Likewise.
59980         (cos_test_upward): Likewise.
59981         (cosh_test): Likewise.
59982         (cosh_test_tonearest): Likewise.
59983         (cosh_test_towardzero): Likewise.
59984         (cosh_test_downward): Likewise.
59985         (cosh_test_upward): Likewise.
59986         (cpow_test): Likewise.
59987         (csin_test): Likewise.
59988         (csinh_test): Likewise.
59989         (csqrt_test): Likewise.
59990         (ctan_test): Likewise.
59991         (ctan_test_tonearest): Likewise.
59992         (ctan_test_towardzero): Likewise.
59993         (ctan_test_downward): Likewise.
59994         (ctan_test_upward): Likewise.
59995         (ctanh_test): Likewise.
59996         (ctanh_test_tonearest): Likewise.
59997         (ctanh_test_towardzero): Likewise.
59998         (ctanh_test_downward): Likewise.
59999         (ctanh_test_upward): Likewise.
60000         (erf_test): Likewise.
60001         (erfc_test): Likewise.
60002         (exp_test): Likewise.
60003         (exp_test_tonearest): Likewise.
60004         (exp_test_towardzero): Likewise.
60005         (exp_test_downward): Likewise.
60006         (exp_test_upward): Likewise.
60007         (exp10_test): Likewise.
60008         (exp2_test): Likewise.
60009         (expm1_test): Likewise.
60010         (fmod_test): Likewise.
60011         (gamma_test): Likewise.
60012         (hypot_test): Likewise.
60013         (j0_test): Likewise.
60014         (j1_test): Likewise.
60015         (jn_test): Likewise.
60016         (lgamma_test): Likewise.
60017         (log_test): Likewise.
60018         (log10_test): Likewise.
60019         (log1p_test): Likewise.
60020         (log2_test): Likewise.
60021         (logb_test_downward): Likewise.
60022         (pow_test): Likewise.
60023         (pow_test_tonearest): Likewise.
60024         (pow_test_towardzero): Likewise.
60025         (pow_test_downward): Likewise.
60026         (pow_test_upward): Likewise.
60027         (remainder_test): Likewise.
60028         (remquo_test): Likewise.
60029         (sin_test): Likewise.
60030         (sin_test_tonearest): Likewise.
60031         (sin_test_towardzero): Likewise.
60032         (sin_test_downward): Likewise.
60033         (sin_test_upward): Likewise.
60034         (sincos_test): Likewise.
60035         (sinh_test): Likewise.
60036         (sinh_test_tonearest): Likewise.
60037         (sinh_test_towardzero): Likewise.
60038         (sinh_test_downward): Likewise.
60039         (sinh_test_upward): Likewise.
60040         (sqrt_test): Likewise.
60041         (tan_test): Likewise.
60042         (tan_test_tonearest): Likewise.
60043         (tan_test_towardzero): Likewise.
60044         (tan_test_downward): Likewise.
60045         (tan_test_upward): Likewise.
60046         (tanh_test): Likewise.
60047         (tgamma_test): Likewise.
60048         (y0_test): Likewise.
60049         (y1_test): Likewise.
60050         (yn_test): Likewise.
60052         * math/gen-libm-test.pl (adjust_arg): Remove function.
60053         (special_function): Remove argument $in_func.  Only handle
60054         generating output for tables of tests, not inside functions.
60055         (parse_args): Likewise.
60056         (generate_testfile): Remove variable $in_func.  Update call to
60057         parse_args.
60058         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60059         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60060         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60061         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60062         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60063         (MAX_VALUE_INIT): Rename macro to max_value.
60064         (MIN_VALUE_INIT): Rename macro to min_value.
60065         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60066         (plus_zero): Remove variable.
60067         (minus_zero): Likewise.
60068         (plus_infty): Likewise.
60069         (minus_infty): Likewise.
60070         (qnan_value): Likewise.
60071         (max_value): Likewise.
60072         (min_value): Likewise.
60073         (min_subnorm_value): Likewise.
60075 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60077         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60078         uint64_t or uint32_t usage.
60079         * crypt/sha256-block.c: Likewise.
60080         * crypt/sha256-crypt.c: Likewise.
60081         * crypt/sha256.c: Likewise.
60082         * crypt/sha512-block.c: Likewise.
60083         * crypt/sha512-crypt.c: Likewise.
60084         * crypt/sha512.c: Likewise.
60085         * debug/backtrace-tst.c: Likewise.
60086         * debug/pcprofiledump.c: Likewise.
60087         * elf/cache.c: Likewise.
60088         * elf/dl-cache.c: Likewise.
60089         * elf/dl-misc.c: Likewise.
60090         * elf/dl-profile.c: Likewise.
60091         * elf/dl-support.c: Likewise.
60092         * elf/ldconfig.c: Likewise.
60093         * elf/sprof.c: Likewise.
60094         * iconv/dummy-repertoire.c: Likewise.
60095         * iconv/iconv_charmap.c: Likewise.
60096         * iconv/skeleton.c: Likewise.
60097         * iconvdata/8bit-generic.c: Likewise.
60098         * iconvdata/cp737.h: Likewise.
60099         * iconvdata/cp775.h: Likewise.
60100         * iconvdata/ibm1008.h: Likewise.
60101         * iconvdata/ibm1025.h: Likewise.
60102         * iconvdata/ibm1046.h: Likewise.
60103         * iconvdata/ibm1097.h: Likewise.
60104         * iconvdata/ibm1112.h: Likewise.
60105         * iconvdata/ibm1122.h: Likewise.
60106         * iconvdata/ibm1123.h: Likewise.
60107         * iconvdata/ibm1124.h: Likewise.
60108         * iconvdata/ibm1129.h: Likewise.
60109         * iconvdata/ibm1130.h: Likewise.
60110         * iconvdata/ibm1132.h: Likewise.
60111         * iconvdata/ibm1133.h: Likewise.
60112         * iconvdata/ibm1137.h: Likewise.
60113         * iconvdata/ibm1140.h: Likewise.
60114         * iconvdata/ibm1141.h: Likewise.
60115         * iconvdata/ibm1142.h: Likewise.
60116         * iconvdata/ibm1143.h: Likewise.
60117         * iconvdata/ibm1144.h: Likewise.
60118         * iconvdata/ibm1145.h: Likewise.
60119         * iconvdata/ibm1146.h: Likewise.
60120         * iconvdata/ibm1147.h: Likewise.
60121         * iconvdata/ibm1148.h: Likewise.
60122         * iconvdata/ibm1149.h: Likewise.
60123         * iconvdata/ibm1153.h: Likewise.
60124         * iconvdata/ibm1154.h: Likewise.
60125         * iconvdata/ibm1155.h: Likewise.
60126         * iconvdata/ibm1156.h: Likewise.
60127         * iconvdata/ibm1157.h: Likewise.
60128         * iconvdata/ibm1158.h: Likewise.
60129         * iconvdata/ibm1160.h: Likewise.
60130         * iconvdata/ibm1161.h: Likewise.
60131         * iconvdata/ibm1162.h: Likewise.
60132         * iconvdata/ibm1163.h: Likewise.
60133         * iconvdata/ibm1164.h: Likewise.
60134         * iconvdata/ibm1166.h: Likewise.
60135         * iconvdata/ibm1167.h: Likewise.
60136         * iconvdata/ibm12712.h: Likewise.
60137         * iconvdata/ibm1390.h: Likewise.
60138         * iconvdata/ibm1399.h: Likewise.
60139         * iconvdata/ibm16804.h: Likewise.
60140         * iconvdata/ibm4517.h: Likewise.
60141         * iconvdata/ibm4899.h: Likewise.
60142         * iconvdata/ibm4909.h: Likewise.
60143         * iconvdata/ibm4971.h: Likewise.
60144         * iconvdata/ibm5347.h: Likewise.
60145         * iconvdata/ibm803.h: Likewise.
60146         * iconvdata/ibm856.h: Likewise.
60147         * iconvdata/ibm901.h: Likewise.
60148         * iconvdata/ibm902.h: Likewise.
60149         * iconvdata/ibm9030.h: Likewise.
60150         * iconvdata/ibm9066.h: Likewise.
60151         * iconvdata/ibm921.h: Likewise.
60152         * iconvdata/ibm922.h: Likewise.
60153         * iconvdata/ibm9448.h: Likewise.
60154         * iconvdata/isiri-3342.h: Likewise.
60155         * iconvdata/jis0201.h: Likewise.
60156         * include/link.h: Likewise.
60157         * include/netdb.h: Likewise.
60158         * inet/check_native.c: Likewise.
60159         * inet/check_pf.c: Likewise.
60160         * inet/getipv4sourcefilter.c: Likewise.
60161         * inet/getnameinfo.c: Likewise.
60162         * inet/getsourcefilter.c: Likewise.
60163         * inet/htonl.c: Likewise.
60164         * inet/setipv4sourcefilter.c: Likewise.
60165         * inet/setsourcefilter.c: Likewise.
60166         * inet/test-inet6_opt.c: Likewise.
60167         * inet/tst-network.c: Likewise.
60168         * locale/C-collate.c: Likewise.
60169         * locale/C-ctype.c: Likewise.
60170         * locale/C-time.c: Likewise.
60171         * locale/C-translit.h: Likewise.
60172         * locale/loadarchive.c: Likewise.
60173         * locale/programs/3level.h: Likewise.
60174         * locale/programs/charmap.c: Likewise.
60175         * locale/programs/charmap.h: Likewise.
60176         * locale/programs/ld-address.c: Likewise.
60177         * locale/programs/ld-collate.c: Likewise.
60178         * locale/programs/ld-ctype.c: Likewise.
60179         * locale/programs/ld-identification.c: Likewise.
60180         * locale/programs/ld-measurement.c: Likewise.
60181         * locale/programs/ld-messages.c: Likewise.
60182         * locale/programs/ld-monetary.c: Likewise.
60183         * locale/programs/ld-name.c: Likewise.
60184         * locale/programs/ld-numeric.c: Likewise.
60185         * locale/programs/ld-paper.c: Likewise.
60186         * locale/programs/ld-telephone.c: Likewise.
60187         * locale/programs/ld-time.c: Likewise.
60188         * locale/programs/linereader.c: Likewise.
60189         * locale/programs/locale.c: Likewise.
60190         * locale/programs/locarchive.c: Likewise.
60191         * locale/programs/locfile.h: Likewise.
60192         * locale/programs/repertoire.c: Likewise.
60193         * locale/programs/simple-hash.c: Likewise.
60194         * locale/programs/simple-hash.h: Likewise.
60195         * malloc/memusage.c: Likewise.
60196         * malloc/memusagestat.c: Likewise.
60197         * nis/nis_defaults.c: Likewise.
60198         * nis/nis_hash.c: Likewise.
60199         * nis/nis_print.c: Likewise.
60200         * nis/nis_xdr.c: Likewise.
60201         * nscd/connections.c: Likewise.
60202         * nscd/hstcache.c: Likewise.
60203         * nscd/nscd_gethst_r.c: Likewise.
60204         * nscd/nscd_getserv_r.c: Likewise.
60205         * nscd/nscd_helper.c: Likewise.
60206         * nscd/servicescache.c: Likewise.
60207         * nss/makedb.c: Likewise.
60208         * nss/nss_db/db-XXX.c: Likewise.
60209         * nss/nss_db/db-initgroups.c: Likewise.
60210         * nss/nss_db/db-netgrp.c: Likewise.
60211         * nss/nss_files/files-network.c: Likewise.
60212         * nss/nss_files/files-parse.c: Likewise.
60213         * posix/bug-regex5.c: Likewise.
60214         * posix/fnmatch_loop.c: Likewise.
60215         * posix/regcomp.c: Likewise.
60216         * posix/regexec.c: Likewise.
60217         * posix/tst-rfc3484-2.c: Likewise.
60218         * posix/tst-rfc3484-3.c: Likewise.
60219         * posix/tst-rfc3484.c: Likewise.
60220         * resolv/nss_dns/dns-canon.c: Likewise.
60221         * resolv/nss_dns/dns-network.c: Likewise.
60222         * resolv/res_init.c: Likewise.
60223         * resolv/res_mkquery.c: Likewise.
60224         * resolv/tst-aton.c: Likewise.
60225         * stdlib/cxa_atexit.c: Likewise.
60226         * stdlib/cxa_finalize.c: Likewise.
60227         * stdlib/gen-fpioconst.c: Likewise.
60228         * stdlib/strtol_l.c: Likewise.
60229         * string/tst-endian.c: Likewise.
60230         * sunrpc/auth_des.c: Likewise.
60231         * sunrpc/clnt_udp.c: Likewise.
60232         * sunrpc/rtime.c: Likewise.
60233         * sunrpc/svcauth_des.c: Likewise.
60234         * sunrpc/xdr.c: Likewise.
60235         * sunrpc/xdr_intXX_t.c: Likewise.
60236         * sunrpc/xdr_rec.c: Likewise.
60237         * sysdeps/generic/ldconfig.h: Likewise.
60238         * sysdeps/generic/ldsodefs.h: Likewise.
60239         * sysdeps/generic/memusage.h: Likewise.
60240         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60241         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60242         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60243         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60246         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60248         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60250         * sysdeps/posix/getaddrinfo.c: Likewise.
60251         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60252         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60253         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60254         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60255         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60256         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60257         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60258         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60259         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60260         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60261         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60262         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60263         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60264         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60265         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60266         * sysdeps/x86_64/dl-tls.h: Likewise.
60267         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60268         * time/alt_digit.c: Likewise.
60269         * time/era.c: Likewise.
60270         * wcsmbs/tst-c16c32-1.c: Likewise.
60272 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60274         * math/libm-test.inc (struct test_sincos_data): New type.
60275         (RUN_TEST_LOOP_sincos): New macro.
60276         (sincos_test_data): New variable.
60277         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60279 2013-05-16  Richard Henderson  <rth@redhat.com>
60281         * math/atest-exp2.c (LIMB64): New macro.
60282         (CONSTSZ): New macro.
60283         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60284         (hexdig): Move ...
60285         (print_mpn_fp): ... to function scope.
60286         (read_mpn_hex): Remove.
60287         (get_log2): Remove.
60288         (exp2_mpn): Use mp_log2.
60289         (main): Use mp_exp1.
60291 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60293         * math/libm-test.inc: Remove comment about not testing "inexact"
60294         exceptions.
60295         (INEXACT_EXCEPTION): New macro.
60296         (NO_INEXACT_EXCEPTION): Likewise.
60297         (INVALID_EXCEPTION_OK): Update value.
60298         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60299         (OVERFLOW_EXCEPTION_OK): Likewise.
60300         (UNDERFLOW_EXCEPTION_OK): Likewise.
60301         (IGNORE_ZERO_INF_SIGN): Likewise.
60302         (ERRNO_UNCHANGED): Likewise.
60303         (ERRNO_EDOM): Likewise.
60304         (ERRNO_ERANGE): Likewise.
60305         (test_exceptions): Handle testing "inexact" exceptions.
60306         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60307         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60308         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60309         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60310         INEXACT_EXCEPTION.
60311         (rint_towardzero_test_data): Likewise.
60312         (rint_downward_test_data): Likewise.
60313         (rint_upward_test_data): Likewise.
60315         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60316         with OVERFLOW_EXCEPTION.
60317         (exp10_test_data): Likewise.
60318         (exp2_test_data): Likewise.
60319         (expm1_test_data): Likewise.
60320         (lgamma_test_data): Likewise.
60321         (pow_test_data): Likewise.
60322         (tgamma_test_data): Likewise.
60323         (yn_test_data): Remove duplicate test of overflow.
60325         * math/libm-test.inc (struct test_cc_c_data): New type.
60326         (RUN_TEST_LOOP_cc_c): New macro.
60327         (cpow_test_data): New variable.
60328         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60330         * math/libm-test.inc (struct test_f_L_data): New type.
60331         (RUN_TEST_LOOP_f_L): New macro.
60332         (llrint_test_data): New variable.
60333         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60334         (llrint_tonearest_test_data): New variable.
60335         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60336         (llrint_towardzero_test_data): New variable.
60337         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60338         (llrint_downward_test_data): New variable.
60339         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60340         (llrint_upward_test_data): New variable.
60341         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60342         (llround_test_data): New variable.
60343         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60345 2013-05-13  Peter Collingbourne  <pcc@google.com>
60347         * math/atest-exp2.c (get_log2): Remove const attribute.
60349 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60351         * math/libm-test.inc (struct test_f_l_data): New type.
60352         (RUN_TEST_LOOP_f_l): New macro.
60353         (lrint_test_data): New variable.
60354         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60355         (lrint_tonearest_test_data): New variable.
60356         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60357         (lrint_towardzero_test_data): New variable.
60358         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60359         (lrint_downward_test_data): New variable.
60360         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60361         (lrint_upward_test_data): New variable.
60362         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60363         (lround_test_data): New variable.
60364         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60366 2013-05-15  Peter Collingbourne  <pcc@google.com>
60368         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60369         (EXTRACT_WORDS64) Use where appropriate.
60370         (INSERT_WORDS64) Likewise.
60372         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60373         constraints with x constraints.
60374         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60376         * malloc/obstack.c (_obstack_compat): Add initializer.
60378 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60380         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60381         si_trapno and add si_addr_lsb to _sifields.sigfault.
60382         (si_trapno): Remove macro.
60383         (si_addr_lsb): Define new macro.
60384         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60386 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60388         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60389         instead of TEST_f_l.
60390         (llrint_test_tonearest): Likewise.
60391         (llrint_test_towardzero): Likewise.
60392         (llrint_test_downward): Likewise.
60393         (llrint_test_upward): Likewise.
60394         (llround_test): Likewise.
60396         * math/libm-test.inc (struct test_f_i_data): Add comment.
60397         (RUN_TEST_LOOP_f_b): New macro.
60398         (RUN_TEST_LOOP_f_b_tg): Likewise.
60399         (finite_test_data): New variable.
60400         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60401         (isfinite_test_data): New variable.
60402         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60403         (isinf_test_data): New variable.
60404         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60405         (isnan_test_data): New variable.
60406         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60407         (isnormal_test_data): New variable.
60408         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60409         (issignaling_test_data): New variable.
60410         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60411         (signbit_test_data): New variable.
60412         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60414         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60415         with INVALID_EXCEPTION.
60416         (acosh_test_data): Likewise.
60417         (asin_test_data): Likewise.
60418         (atanh_test_data): Likewise.
60419         (fmod_test_data): Likewise.
60420         (log_test_data): Likewise.
60421         (log10_test_data): Likewise.
60422         (log2_test_data): Likewise.
60423         (pow_test_data): Likewise.
60424         (sqrt_test_data): Likewise.
60425         (y0_test_data): Likewise.
60426         (y1_test_data): Likewise.
60427         (yn_test_data): Likewise.
60429         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60430         function contents.
60432         * math/libm-test.inc (struct test_ff_i_data): New type.
60433         (RUN_TEST_LOOP_ff_i_tg): New macro.
60434         (isgreater_test_data): New variable.
60435         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60436         (isgreaterequal_test_data): New variable.
60437         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60438         (isless_test_data): New variable.
60439         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60440         (islessequal_test_data): New variable.
60441         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60442         (islessgreater_test_data): New variable.
60443         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60444         (isunordered_test_data): New variable.
60445         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60447 2013-05-14  David S. Miller  <davem@davemloft.net>
60449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60451 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60453         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60455         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60456         extra_test to int.
60457         (struct test_f_i_data): Change type of max_ulp to int.
60459         * math/libm-test.inc (test_ffI_f1_data): New type.
60460         (RUN_TEST_LOOP_ffI_f1): New macro.
60461         (remquo_test_data): New variable.
60462         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60464         * setjmp/tst-setjmp-fp.c: New file.
60465         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60466         (link-libm): New variable.
60467         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60469         * math/libm-test.inc (struct test_f_i_data): New type.
60470         (RUN_TEST_LOOP_f_i): New macro.
60471         (RUN_TEST_LOOP_f_i_tg): Likewise.
60472         (fpclassify_test_data): New variable.
60473         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60474         (ilogb_test_data): New variable.
60475         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60477         * math/libm-test.inc (scalbln_test): Correct function name in END
60478         call.
60480         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60481         (RUN_TEST_LOOP_fI_f1): New macro.
60482         (frexp_test_data): New variable.
60483         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60485         * math/libm-test.inc (struct test_fF_f1_data): New type.
60486         (RUN_TEST_LOOP_fF_f1): New macro.
60487         (modf_test_data): New variable.
60488         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60490         * math/libm-test.inc (struct test_f_f1_data): New type.
60491         (RUN_TEST_LOOP_f_f1): New macro.
60492         (gamma_test_data): New variable.
60493         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60494         (lgamma_test_data): New variable.
60495         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60497 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60499         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60500         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60501         (main): Comment "tls" pseudo-hwcap.
60503 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60505         * math/libm-test.inc (struct test_fl_f_data): New type.
60506         (RUN_TEST_LOOP_fl_f): New variable.
60507         (scalbln_test_data): New variable.
60508         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60510         * math/libm-test.inc (struct test_fi_f_data): New type.
60511         (RUN_TEST_LOOP_fi_f): New macro.
60512         (ldexp_test_data): New variable.
60513         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60514         (scalbn_test_data): New variable.
60515         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60517         * math/libm-test.inc (struct test_c_f_data): New type.
60518         (RUN_TEST_LOOP_c_f): New macro.
60519         (cabs_test_data): New variable.
60520         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60521         (carg_test_data): New variable.
60522         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60523         (cimag_test_data): New variable.
60524         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60525         (creal_test_data): New variable.
60526         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60528         * math/libm-test.inc (struct test_if_f_data): New type.
60529         (RUN_TEST_LOOP_if_f): New macro.
60530         (jn_test_data): New variable.
60531         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60532         (yn_test_data): New variable.
60533         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60535         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60537 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60539         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60540         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60542 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60544         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60545         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60546         (bench-deps): Add bench-timing.h.
60547         * benchtests-bench-skeleton.c: Include bench-timing.h.
60548         (main): Use TIMING_* macros instead of clock_gettime.
60549         * benchtests/bench-timing.h: New file.
60551         [BZ #14582]
60552         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60553         Renamed from _LIB_VERSION.
60554         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60556 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60558         * math/libm-test.inc (struct test_fff_f_data): New type.
60559         (RUN_TEST_LOOP_fff_f): New macro.
60560         (fma_test_data): New variable.
60561         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60562         (fma_towardzero_test_data): New variable.
60563         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60564         (fma_downward_test_data): New variable.
60565         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60566         (fma_upward_test_data): New variable.
60567         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60569         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60570         (struct test_c_c_data): New type.
60571         (RUN_TEST_LOOP_c_c): New macro.
60572         (cacos_test_data): New variable.
60573         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60574         (cacosh_test_data): New variable.
60575         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60576         (casin_test_data): New variable.
60577         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60578         (casinh_test_data): New variable.
60579         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60580         (catan_test_data): New variable.
60581         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60582         (catanh_test_data): New variable.
60583         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60584         (ccos_test_data): New variable.
60585         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60586         (ccosh_test_data): New variable.
60587         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60588         (cexp_test_data): New variable.
60589         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60590         (clog_test_data): New variable.
60591         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60592         (clog10_test_data): New variable.
60593         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60594         (conj_test_data): New variable.
60595         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60596         (cproj_test_data): New variable.
60597         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60598         (csin_test_data): New variable.
60599         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60600         (csinh_test_data): New variable.
60601         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60602         (csqrt_test_data): New variable.
60603         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60604         (ctan_test_data): New variable.
60605         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60606         (ctan_tonearest_test_data): New variable.
60607         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60608         (ctan_towardzero_test_data): New variable.
60609         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60610         (ctan_downward_test_data): New variable.
60611         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60612         (ctan_upward_test_data): New variable.
60613         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60614         (ctanh_test_data): New variable.
60615         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60616         (ctanh_tonearest_test_data): New variable.
60617         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60618         (ctanh_towardzero_test_data): New variable.
60619         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60620         (ctanh_downward_test_data): New variable.
60621         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60622         (ctanh_upward_test_data): New variable.
60623         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60624         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60625         of BUILD_COMPLEX.
60627         * math/libm-test.inc (struct test_ff_f_data): New type.
60628         (struct test_ff_f_data_nexttoward): Likewise.
60629         (RUN_TEST_LOOP_2_f): New macro.
60630         (RUN_TEST_LOOP_ff_f): Likewise.
60631         (atan2_test_data): New variable.
60632         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60633         (copysign_test_data): New variable.
60634         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60635         (fdim_test_data): New variable.
60636         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60637         (fmax_test_data): New variable.
60638         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60639         (fmin_test_data): New variable.
60640         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60641         (fmod_test_data): New variable.
60642         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60643         (hypot_test_data): New variable.
60644         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60645         (nextafter_test_data): New variable.
60646         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60647         (nexttoward_test_data): New variable.
60648         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60649         (pow_test_data): New variable.
60650         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60651         (pow_tonearest_test_data): New variable.
60652         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60653         (pow_towardzero_test_data): New variable.
60654         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60655         (pow_downward_test_data): New variable.
60656         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60657         (pow_upward_test_data): New variable.
60658         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60659         (remainder_test_data): New variable.
60660         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60661         (scalb_test_data): New variable.
60662         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60663         * sysdeps/i386/fpu/libm-test-ulps: Update.
60665 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60667         * math/libm-test.inc (fma_test): Use max_value instead of local
60668         variable fltmax.
60669         (nextafter_test): Likewise.
60671         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60672         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60673         (acos_downward_test_data): New variable.
60674         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60675         (acos_upward_test_data): New variable.
60676         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60677         (acosh_test_data): New variable.
60678         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60679         (asin_test_data): New variable.
60680         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60681         (asin_tonearest_test_data): New variable.
60682         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60683         (asin_towardzero_test_data): New variable.
60684         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60685         (asin_downward_test_data): New variable.
60686         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60687         (asin_upward_test_data): New variable.
60688         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60689         (asinh_test_data): New variable.
60690         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60691         (atan_test_data): New variable.
60692         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60693         (atanh_test_data): New variable.
60694         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60695         (cbrt_test_data): New variable.
60696         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60697         (ceil_test_data): New variable.
60698         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60699         (cos_test_data): New variable.
60700         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60701         (cos_tonearest_test_data): New variable.
60702         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60703         (cos_towardzero_test_data): New variable.
60704         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60705         (cos_downward_test_data): New variable.
60706         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60707         (cos_upward_test_data): New variable.
60708         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60709         (cosh_test_data): New variable.
60710         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60711         (cosh_tonearest_test_data): New variable.
60712         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60713         (cosh_towardzero_test_data): New variable.
60714         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60715         (cosh_downward_test_data): New variable.
60716         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60717         (cosh_upward_test_data): New variable.
60718         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60719         (erf_test_data): New variable.
60720         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60721         (erfc_test_data): New variable.
60722         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60723         (exp_test_data): New variable.
60724         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60725         (exp_tonearest_test_data): New variable.
60726         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60727         (exp_towardzero_test_data): New variable.
60728         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60729         (exp_downward_test_data): New variable.
60730         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60731         (exp_upward_test_data): New variable.
60732         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60733         (exp10_test_data): New variable.
60734         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60735         (exp2_test_data): New variable.
60736         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60737         (expm1_test_data): New variable.
60738         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60739         (fabs_test_data): New variable.
60740         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60741         (floor_test_data): New variable.
60742         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60743         (j0_test_data): New variable.
60744         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60745         (j1_test_data): New variable.
60746         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60747         (log_test_data): New variable.
60748         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60749         (log10_test_data): New variable.
60750         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60751         (log1p_test_data): New variable.
60752         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60753         (log2_test_data): New variable.
60754         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60755         (logb_test_data): New variable.
60756         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60757         (logb_downward_test_data): New variable.
60758         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60759         (nearbyint_test_data): New variable.
60760         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60761         (rint_test_data): New variable.
60762         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60763         (rint_tonearest_test_data): New variable.
60764         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60765         (rint_towardzero_test_data): New variable.
60766         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60767         (rint_downward_test_data): New variable.
60768         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60769         (rint_upward_test_data): New variable.
60770         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60771         (round_test_data): New variable.
60772         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60773         (sin_test_data): New variable.
60774         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60775         (sin_tonearest_test_data): New variable.
60776         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60777         (sin_towardzero_test_data): New variable.
60778         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60779         (sin_downward_test_data): New variable.
60780         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60781         (sin_upward_test_data): New variable.
60782         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60783         (sinh_test_data): New variable.
60784         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60785         (sinh_tonearest_test_data): New variable.
60786         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60787         (sinh_towardzero_test_data): New variable.
60788         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60789         (sinh_downward_test_data): New variable.
60790         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60791         (sinh_upward_test_data): New variable.
60792         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60793         (sqrt_test_data): New variable.
60794         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60795         (tan_test_data): New variable.
60796         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60797         (tan_tonearest_test_data): New variable.
60798         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60799         (tan_towardzero_test_data): New variable.
60800         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60801         (tan_downward_test_data): New variable.
60802         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60803         (tan_upward_test_data): New variable.
60804         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60805         (tanh_test_data): New variable.
60806         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60807         (tgamma_test_data): New variable.
60808         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60809         (trunc_test_data): New variable.
60810         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60811         (y0_test_data): New variable.
60812         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60813         (y1_test_data): New variable.
60814         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60815         (significand_test_data): New variable.
60816         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60818 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60820         [BZ #12387]
60821         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60823 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60825         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60827 2013-05-10  Andreas Jaeger  <aj@suse.de>
60829         [BZ #15448]
60830         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60831         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60833 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60835         * math/gen-libm-test.pl (adjust_arg): New function.
60836         (special_functions): Handle generating output in both functions
60837         and arrays.
60838         (parse_args): Likewise.
60839         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60840         $in_func argument to parse_args.
60841         * math/libm-test.inc (struct test_f_f_data): New type.
60842         (IF_ROUND_INIT_): New macro.
60843         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60844         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60845         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60846         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60847         (ROUND_RESTORE_): Likewise.
60848         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60849         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60850         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60851         (ROUND_RESTORE_FE_UPWARD): Likewise.
60852         (RUN_TEST_LOOP_f_f): New macro.
60853         (acos_test_data): New variable.
60854         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60855         (acos_tonearest_test_data): New variable.
60856         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60858 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60860         * benchtests/bench-skeleton.c (startup): Fix coding style.
60862 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60864         [BZ #6809]
60865         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60866         negative infinity argument.
60867         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60868         negative infinity argument.
60869         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60870         negative infinity argument.
60871         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60872         domain errors.
60874 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60876         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60877         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60878         * iconv/iconv_prog.c (main): Likewise.
60879         * locale/programs/charmap-dir.c (charmap_readdir)
60880         (fopen_uncompressed): Likewise.
60881         * locale/programs/locfile.c (siblings_uncached)
60882         (write_locale_data): Use lstat64 instead of lstat.
60883         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60884         stat.
60886 2013-05-10  Andreas Jaeger  <aj@suse.de>
60888         [BZ #15395]
60889         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60890         localization.
60891         Include <locale.h>.
60893 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60895         * elf/dl-close.c (_dl_close_worker): Add comments.
60897 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60899         [BZ #15359]
60900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60901         high part of pi/2.
60902         (__ieee754_rem_pio2l): Update comments.
60904         [BZ #15429]
60905         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60906         high part of pi/2.
60907         (__ieee754_rem_pio2l): Update comments.
60909         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60910         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60912         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60913         M_PI_4l.
60915         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60916         (M_PI_34_LOG10El): Likewise.
60917         (M_PI2_LOG10El): Likewise.
60918         (M_PI4_LOG10El): Likewise.
60919         (M_PI_LOG10El): Likewise.
60921 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60925 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60927         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60928         (MINUS_ZERO_INIT): Likewise.
60929         (PLUS_INFTY_INIT): Likewise.
60930         (MINUS_INFTY_INIT): Likewise.
60931         (QNAN_VALUE_INIT): Likewise.
60932         (MAX_VALUE_INIT): Likewise.
60933         (MIN_VALUE_INIT): Likewise.
60934         (MIN_SUBNORM_VALUE_INIT): Likewise.
60935         (plus_zero): Initialize with PLUS_ZERO_INIT.
60936         (minus_zero): Initialize with MINUS_ZERO_INIT.
60937         (plus_infty): Initialize with PLUS_INFTY_INIT.
60938         (minus_infty): Initialize with MINUS_INFTY_INIT.
60939         (qnan_value): Initialize with QNAN_VALUE_INIT.
60940         (max_value): Initialize with MAX_VALUE_INIT.
60941         (min_value): Initialize with MIN_VALUE_INIT.
60942         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60944         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60945         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60946         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60947         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60949         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60950         (RUN_TEST_2_f): Likewise.
60951         (RUN_TEST_ff_f): Likewise.
60952         (RUN_TEST_fi_f): Likewise.
60953         (RUN_TEST_fl_f): Likewise.
60954         (RUN_TEST_fff_f): Likewise.
60955         (RUN_TEST_c_f): Likewise.
60956         (RUN_TEST_f_f1): Likewise.
60957         (RUN_TEST_fF_f1): Likewise.
60958         (RUN_TEST_fI_f1): Likewise.
60959         (RUN_TEST_ffI_f1): Likewise.
60960         (RUN_TEST_c_c): Likewise.
60961         (RUN_TEST_cc_c): Likewise.
60962         (RUN_TEST_f_i): Likewise.
60963         (RUN_TEST_f_i_tg): Likewise.
60964         (RUN_TEST_ff_i_tg): Likewise.
60965         (RUN_TEST_f_b): Likewise.
60966         (RUN_TEST_f_b_tg): Likewise.
60967         (RUN_TEST_f_l): Likewise.
60968         (RUN_TEST_f_L): Likewise.
60969         (RUN_TEST_sincos): Likewise.
60970         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60971         whether to show exceptions.  Do not include ");\n" in return
60972         value.
60973         (special_functions): Output call to RUN_TEST_sincos instead of
60974         check_float calls.  Update calls to new_test.
60975         (parse_args): Output call to single RUN_TEST_* macro instead of
60976         check_* calls and other assignments.  Update calls to new_test.
60978         [BZ #2546]
60979         [BZ #2560]
60980         [BZ #5159]
60981         [BZ #15426]
60982         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60983         input to result for tgamma overflow.
60984         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60985         (gamma_coeff): New variable.
60986         (NCOEFF): New macro.
60987         (gamma_positive): New function.
60988         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60989         underflow here.  Use gamma_positive instead of exp (lgamma) for
60990         other arguments.
60991         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60992         (gamma_coeff): New variable.
60993         (NCOEFF): New macro.
60994         (gammaf_positive): New function.
60995         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60996         underflow here.  Use gamma_positive instead of exp (lgamma) for
60997         other arguments.
60998         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60999         (gamma_coeff): New variable.
61000         (NCOEFF): New macro.
61001         (gammal_positive): New function.
61002         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61003         underflow here.  Use gamma_positive instead of exp (lgamma) for
61004         other arguments.
61005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61006         (gamma_coeff): New variable.
61007         (NCOEFF): New macro.
61008         (gammal_positive): New function.
61009         (__ieee754_gammal_r): Handle positive infinity, overflow and
61010         underflow here.  Handle NaN the same as positive infinity.  Remove
61011         check x < 0xffffffff for negative integers.  Use gamma_positive
61012         instead of exp (lgamma) for other arguments.
61013         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61014         (gamma_coeff): New variable.
61015         (NCOEFF): New macro.
61016         (gammal_positive): New function.
61017         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61018         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61022         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61023         * sysdeps/generic/math_private.h (__gamma_productf): New
61024         prototype.
61025         (__gamma_product): Likewise.
61026         (__gamma_productl): Likewise.
61027         * math/Makefile (libm-calls): Add gamma_product.
61028         * math/libm-test.inc (tgamma_test): Add more tests.
61029         * sysdeps/i386/fpu/libm-test-ulps: Update.
61030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61032 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61034         * benchtests/bench-skeleton.c (main): Preheat CPU.
61036 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61038         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61040 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61042         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61043         and _dl_skip_args_internal.
61045 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61047         * manual/message.texi (Message Translation): Talk about users.
61048         Message to key mapping impacts design.
61050 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61052         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61054         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61056         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61057         * sysdeps/wordsize-64/glob64.c: ... here.
61059         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61060         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61061         New macros.
61063         * debug/getlogin_r_chk.c: Moved to ...
61064         * login/getlogin_r_chk.c: ... here.
61065         * debug/Makefile (routines): Move getlogin_r_chk to ...
61066         * login/Makefile (routines): ... here.
61067         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61068         * login/Versions (libc: GLIBC_2.4): ... here.
61070         * io/poll.c (__poll): Renamed from poll.
61071         Add libc_hidden_def.
61072         (poll): Define as weak alias.
61074         * debug/ptsname_r_chk.c: Moved to ...
61075         * login/ptsname_r_chk.c: ... here.
61076         * debug/Makefile (routines): Move ptsname_r_chk to ...
61077         * login/Makefile (routines): ... here.
61078         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61079         * login/Versions (libc: GLIBC_2.4): ... here.
61081         * posix/getlogin.c: Moved to ...
61082         * login/getlogin.c: ... here.
61083         * posix/getlogin_r.c: Moved to ...
61084         * login/getlogin_r.c: ... here.
61085         * posix/getlogin_r.c: Moved to ...
61086         * login/getlogin_r.c: ... here.
61087         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61088         * login/Makefile (routines): ... here.
61089         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61090         * login/Versions (libc: GLIBC_2.0): ... here.
61092         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61093         (setrlimit): Define as weak alias.
61095         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61096         Call __ names for open, ftruncate, and close.
61097         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61098         (truncate): Define as weak alias.
61100 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61102         * math/gen-libm-test.pl (parse_args): Initialize x before each
61103         test of frexp, modf and remquo.
61105         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61106         test signgam value.
61108 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61110         [BZ #15418]
61111         [BZ #15419]
61112         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61113         internal tests.
61114         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61116 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61118         * elf/dl-writev.h: New file.
61119         * elf/dl-misc.c: Include it.
61120         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61121         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61123 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61125         * math/libm-test.inc (noXFails): Remove variable.
61126         (noXPasses): Likewise.
61127         (BUILD_COMPLEX_INT): Remove macro.
61128         (print_screen): Remove xfail argument.
61129         (print_screen_max_error): Likewise.
61130         (update_stats): Likewise.
61131         (print_max_error): Likewise.  Update calls to other affected
61132         functions.
61133         (print_complex_max_error): Likewise.
61134         (test_single_exception): Update calls to print_screen.
61135         (test_single_errno): Likewise.
61136         (check_float_internal): Remove xfail argument.  Update calls to
61137         other affected functions.
61138         (check_float): Likewise.
61139         (check_complex): Likewise.
61140         (check_int): Likewise.
61141         (check_long): Likewise.
61142         (check_bool): Likewise.
61143         (check_longlong): Likewise.
61144         (main): Don't print noXFails and noXPasses.
61145         * math/gen-libm-test.pl (top level): Don't mention expected
61146         failure handling in comment.
61147         (new_test): Don't handle expected failures.
61148         (parse_args): Don't mention expected failure handling in comment.
61149         (generate_testfile): Don't handle expected failures.
61150         (parse_ulps): Likewise.
61151         (print_ulps_file): Likewise.
61152         (get_failure): Remove function.
61153         (output_test): Don't handle expected failures.
61154         * make/README.libm-test: Don't mention expected failure handling.
61156         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61157         (minus_zero): Likewise.
61158         (plus_infty): Likewise.
61159         (minus_infty): Likewise.
61160         (qnan_value): Likewise.
61161         (max_value): Likewise.
61162         (min_value): Likewise.
61163         (min_subnorm_value): Likewise.
61164         (initialize): Do not initialize those variables dynamically.
61166 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61168         * io/open.c (__open_2): Moved to ...
61169         * io/open_2.c: ... this new file.
61170         * io/open64.c (__open64_2): Moved to ...
61171         * io/open64_2.c: ... this new file.
61172         * io/openat.c (__openat_2): Moved to ...
61173         * io/openat_2.c: ... this new file.
61174         * io/openat64.c (__openat64_2): Moved to ...
61175         * io/openat64_2.c: ... this new file.
61176         * io/Makefile (routines): Add them.
61177         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61178         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61179         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61180         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61181         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61182         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61183         (__openat64): Add hidden_ver.
61184         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61185         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61187         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61188         Separately conditionalize setting of GLRO(dl_sysinfo) so
61189         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61190         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61192 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61194         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61195         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61196         definition.
61197         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61198         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61199         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61200         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61201         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61203 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61205         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61206         test signgam value.
61208         * math/libm-test.inc (hypot_test): Do not use
61209         IGNORE_ZERO_INF_SIGN.
61211 2013-05-03  Andreas Jaeger  <aj@suse.de>
61213         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61214         Linux 3.9.
61215         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61216         (PF_MAX): Adjust for VSOCK change.
61218 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61222 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61224         [BZ #15264]
61225         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61226         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61227         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61229 2013-05-02  David S. Miller  <davem@davemloft.net>
61231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61233 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61235         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61237 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61239         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61241 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61243         [BZ #14952]
61244         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61245         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61246         Use __attribute__ ((__gnu_inline__)).
61247         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61248         Don't use __attribute__ ((__gnu_inline__)).
61250 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61252         [BZ #15423]
61253         * math/s_catan.c (__catan): Handle small real or imaginary part of
61254         input specially to avoid spurious underflow.
61255         * math/s_catanf.c (__catanf): Likewise.
61256         * math/s_catanh.c (__catanh): Likewise.
61257         * math/s_catanhf.c (__catanhf): Likewise.
61258         * math/s_catanhl.c (__catanhl): Likewise.
61259         * math/s_catanl.c (__catanl): Likewise.
61260         * math/libm-test.inc (catan_test): Add more tests.
61261         (catanh_test): Likewise.
61262         * sysdeps/i386/fpu/libm-test-ulps: Update.
61263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61265 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61269 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61271         [BZ #15416]
61272         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61273         accurately for denominator in atan2.
61274         * math/s_catanf.c (__catanf): Likewise.
61275         * math/s_catanh.c (__catanh): Likewise.
61276         * math/s_catanhf.c (__catanhf): Likewise.
61277         * math/s_catanhl.c (__catanhl): Likewise.
61278         * math/s_catanl.c (__catanl): Likewise.
61279         * math/libm-test.inc (catan_test): Add more tests.
61280         (catanh_test): Likewise.
61281         * sysdeps/i386/fpu/libm-test-ulps: Update.
61282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61284 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61286         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61288         * benchtests/Makefile (bench): Remove slow benchmarks.
61289         * benchtests/atan-inputs: Add slow benchmark inputs.
61290         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61291         (BENCH_FUNC): Accept variant offset.
61292         (VARIANT): Define.
61293         * benchtests/bench-skeleton.c (main): Run benchmark for each
61294         variant.
61295         * benchtests/cos-inputs: Add slow benchmark inputs.
61296         * benchtests/exp-inputs: Likewise.
61297         * benchtests/pow-inputs: Likewise.
61298         * benchtests/sin-inputs: Likewise.
61299         * benchtests/slowatan-inputs: Remove.
61300         * benchtests/slowatan.c: Remove.
61301         * benchtests/slowcos-inputs: Remove.
61302         * benchtests/slowcos.c: Remove.
61303         * benchtests/slowexp-inputs: Remove.
61304         * benchtests/slowexp.c: Remove.
61305         * benchtests/slowpow-inputs: Remove.
61306         * benchtests/slowpow.c: Remove.
61307         * benchtests/slowsin-inputs: Remove.
61308         * benchtests/slowsin.c: Remove.
61309         * benchtests/slowtan-inputs: Remove.
61310         * benchtests/slowtan.c: Remove.
61311         * benchtests/tan-inputs: Add slow benchmark inputs.
61312         * scripts/bench.pl: Parse comments and directives.
61314         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61315         in CPPFLAGS.
61316         ($(objpfx)bench-%.c): Remove *-ITER.
61317         * benchtests/bench-modf.c: Remove definition of ITER.
61318         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61319         (main): Loop for DURATION seconds instead of fixed number of
61320         iterations.
61321         * scripts/bench.pl: Don't expect iterations in parameters.
61323 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61325         * io/fchdir.c (__fchdir): Renamed from fchdir.
61326         (fchdir): Define as weak alias.
61328 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61330         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61331         (ERRNO_EDOM): Likewise.
61332         (ERRNO_ERANGE): Likewise.
61333         (noErrnoTests): New variable.
61334         (init_max_error): Set errno to 0.
61335         (test_single_errno): New function.
61336         (test_errno): Likewise.
61337         (check_float_internal): Call test_errno.  Set errno to 0.
61338         (check_complex): Refer to errno tests in comment.
61339         (check_int): Call test_errno.  Set errno to 0.
61340         (check_long): Likewise.
61341         (check_bool): Likewise.
61342         (check_longlong): Likewise.
61343         (cos_test): Use ERRNO_* flags for errno tests instead of
61344         check_int.
61345         (expm1_test): Likewise.
61346         (fmod_test): Likewise.
61347         (ilogb_test): Likewise.
61348         (lgamma_test): Likewise.
61349         (pow_test): Likewise.
61350         (remainder_test): Likewise.
61351         (sin_test): Likewise.
61352         (tan_test): Likewise.
61353         (yn_test): Likewise.
61354         (initialize): Set errno to 0.
61355         (main): Print number of errno tests.
61356         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61358 2013-04-29  Andreas Jaeger  <aj@suse.de>
61360         [BZ #15084]
61361         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61362         and RES_USEVC.
61364         [BZ #15085]
61365         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61366         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61367         unimplemented.
61369         [BZ #15380]
61370         * stdlib/random.c (__initstate): Return NULL if
61371         __initstate fails.
61373         [BZ #15086]
61374         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61375         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61376         RES_SNGLKUPREOP.
61378 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61382 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61384         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61385         of individual tests.
61386         (casin_test): Likewise.
61387         (casinh_test): Likewise.
61389 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61391         [BZ #15409]
61392         * math/s_catan.c (__catan): Handle arguments with large real or
61393         imaginary part separately without squaring.
61394         * math/s_catanf.c (__catanf): Likewise.
61395         * math/s_catanh.c (__catanh): Likewise.
61396         * math/s_catanhf.c (__catanhf): Likewise.
61397         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61398         and redefine.
61399         (__catanhl): Handle arguments with large real or imaginary part
61400         separately without squaring.
61401         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61402         and redefine.
61403         (__catanl): Handle arguments with large real or imaginary part
61404         separately without squaring.
61405         * math/libm-test.inc (catan_test): Add more tests.
61406         (catanh_test): Likewise.
61407         * sysdeps/i386/fpu/libm-test-ulps: Update.
61408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61410 2013-04-27  Andreas Jaeger  <aj@suse.de>
61412         [BZ #15007]
61413         * stdlib/stdlib.h: Update guards for qecvt.
61414         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61415         <stdlib.h>.
61417 2013-04-27  Allan McRae  <allan@archlinux.org>
61419         * sysdeps/i386/fpu/libm-test-ulps: Update.
61421 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61423         [BZ #15406]
61424         * math/s_catan.c: Include <float.h>.
61425         (__catan): Ensure underflow exception occurs for underflowed
61426         result.
61427         * math/s_catanf.c: Include <float.h>.
61428         (__catanf): Ensure underflow exception occurs for underflowed
61429         result.
61430         * math/s_catanh.c: Include <float.h>.
61431         (__catanh): Ensure underflow exception occurs for underflowed
61432         result.
61433         * math/s_catanhf.c: Include <float.h>.
61434         (__catanhf): Ensure underflow exception occurs for underflowed
61435         result.
61436         * math/s_catanhl.c: Include <float.h>.
61437         (__catanhl): Ensure underflow exception occurs for underflowed
61438         result.
61439         * math/s_catanl.c: Include <float.h>.
61440         (__catanl): Ensure underflow exception occurs for underflowed
61441         result.
61442         * math/libm-test.inc (catan_test): Add more tests.
61443         (catanh_test): Likewise.
61445         [BZ #15405]
61446         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61447         underflowed result.
61448         * math/s_ccoshf.c (__ccoshf): Likewise.
61449         * math/s_ccoshl.c (__ccoshl): Likewise.
61450         * math/s_csin.c (__csin): Likewise.
61451         * math/s_csinf.c (__csinf): Likewise.
61452         * math/s_csinh.c (__csinh): Likewise.
61453         * math/s_csinhf.c (__csinhf): Likewise.
61454         * math/s_csinhl.c (__csinhl): Likewise.
61455         * math/s_csinl.c (__csinl): Likewise.
61456         * math/libm-test.inc (ccos_test): Add more tests.
61457         (ccosh_test): Likewise.
61458         (csin_test): Likewise.
61459         (csinh_test): Likewise.
61461 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61463         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61464         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61465         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61466         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61467         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61468         powerpc/power5+/fpu folders.
61469         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61472 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61476 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61478         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61479         additions to variable.
61480         [$(config-machine) = x86_64] (modules-names): Likewise.
61481         ($(objpfx)tst-audit3): Remove dependency.
61482         ($(objpfx)tst-audit3.out): Likewise.
61483         ($(objpfx)tst-audit4): Likewise.
61484         ($(objpfx)tst-audit4.out): Likewise.
61485         ($(objpfx)tst-audit5): Likewise.
61486         ($(objpfx)tst-audit5.out): Likewise.
61487         ($(objpfx)tst-audit6): Likewise.
61488         ($(objpfx)tst-audit6.out): Likewise.
61489         ($(objpfx)tst-audit7): Likewise.
61490         ($(objpfx)tst-audit7.out): Likewise.
61491         (tst-audit3-ENV): Remove variable.
61492         (tst-audit4-ENV): Likewise.
61493         (tst-audit5-ENV): Likewise.
61494         (tst-audit6-ENV): Likewise.
61495         (tst-audit7-ENV): Likewise.
61496         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61497         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61498         addition to variable.
61499         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61500         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61501         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61502         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61503         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61504         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61505         tst-audit3, tst-audit4 and tst-audit5.
61506         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61507         tst-audit6 and tst-audit7.
61508         [$(subdir) = elf] (modules-names): Add audit modules for those
61509         tests.
61510         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61511         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61512         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61513         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61514         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61515         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61516         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61517         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61518         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61519         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61520         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61521         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61522         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61523         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61524         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61525         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61526         Likewise.
61527         [$(subdir) = elf && $(config-cflags-avx) = yes]
61528         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61529         [$(subdir) = elf && $(config-cflags-avx) = yes]
61530         (CFLAGS-tst-auditmod4a.c): Likewise.
61531         [$(subdir) = elf && $(config-cflags-avx) = yes]
61532         (CFLAGS-tst-auditmod4b.c): Likewise.
61533         [$(subdir) = elf && $(config-cflags-avx) = yes]
61534         (CFLAGS-tst-auditmod6b.c): Likewise.
61535         [$(subdir) = elf && $(config-cflags-avx) = yes]
61536         (CFLAGS-tst-auditmod6c.c): Likewise.
61537         [$(subdir) = elf && $(config-cflags-avx) = yes]
61538         (CFLAGS-tst-auditmod7b.c): Likewise.
61539         * elf/tst-audit3.c: Move to ...
61540         * sysdeps/x86_64/tst-audit3.c: ... here.
61541         * elf/tst-audit4.c: Move to ...
61542         * sysdeps/x86_64/tst-audit4.c: ... here.
61543         * elf/tst-audit5.c: Move to ...
61544         * sysdeps/x86_64/tst-audit5.c: ... here.
61545         * elf/tst-audit6.c: Move to ...
61546         * sysdeps/x86_64/tst-audit6.c: ... here.
61547         * elf/tst-audit7.c: Move to ...
61548         * sysdeps/x86_64/tst-audit7.c: ... here.
61549         * elf/tst-auditmod3a.c: Move to ...
61550         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61551         * elf/tst-auditmod3b.c: Move to ...
61552         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61553         * elf/tst-auditmod4a.c: Move to ...
61554         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61555         * elf/tst-auditmod4b.c: Move to ...
61556         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61557         * elf/tst-auditmod5a.c: Move to ...
61558         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61559         * elf/tst-auditmod5b.c: Move to ...
61560         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61561         * elf/tst-auditmod6a.c: Move to ...
61562         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61563         * elf/tst-auditmod6b.c: Move to ...
61564         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61565         * elf/tst-auditmod6c.c: Move to ...
61566         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61567         * elf/tst-auditmod7a.c: Move to ...
61568         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61569         * elf/tst-auditmod7b.c: Move to ...
61570         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61572 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61574         [BZ #15366]
61575         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61576         define unconditionally.
61577         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61578         define unconditionally.
61579         (INT8_C, INT16_C, etc.): Likewise.
61581 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61583         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61584         __ehdr_start with hidden visibility.
61586         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61588 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61590         * math/libm-test.inc (cos_test): Use accurate hex constants.
61591         (sincost_test): Likewise.
61593 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61595         * math/libm-test.inc (catan_test): Add more tests.
61596         (catanh_test): Likewise.
61598         * math/s_catanf.c (__catanf): Use suffixed floating-point
61599         constants.
61600         * math/s_catanhf.c (__catanhf): Likewise.
61601         * math/s_catanhl.c (__catanhl): Likewise.
61602         * math/s_catanl.c (__catanl): Likewise.
61604         [BZ #15394]
61605         * math/s_catan.c (__catan): Calculate imaginary part of result
61606         with log1p not log unless computing log of number close to 0.
61607         * math/s_catanf.c (__catanf): Likewise.
61608         * math/s_catanl.c (__catanl): Likewise.
61609         * math/s_catanh.c (__catanh): Calculate real part of result with
61610         log1p not log unless computing log of number close to 0.
61611         * math/s_catanhf.c (__catanhf): Likewise.
61612         * math/s_catanhl.c (__catanhl): Likewise.
61613         * math/libm-test.inc (catan_test): Add more tests.
61614         (catanh_test): Likewise.
61615         * sysdeps/i386/fpu/libm-test-ulps: Update.
61616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61618 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61620         * benchtests/Makefile: Mention files in which fast and slow
61621         paths of math functions are implemented.
61623 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61625         * sysdeps/posix/timespec_get.c: New file.
61627 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61629         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61630         POWER.
61631         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61632         for POWER.
61633         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61634         powerpc/power5/fpu folders.
61635         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61636         * benchtests/Makefile: Add modf testcase.
61637         * benchtests/bench-modf.c: New file: Benchmark test for mo
61639 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61641         [BZ #14888]
61642         * time/Makefile (tests): Add tst-strptime-whitespace.
61643         * time/strptime_l.c (get_number): Use ISSPACE.
61644         (__strptime_internal): Likewise.
61645         * time/tst-strptime-whitespace.c: New test case.
61647 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61649         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61650         member.
61651         (_nss_files_init): Set it here.
61653 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61655         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61656         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61657         unsigned.
61659 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61661         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61663 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61666         size just once.
61668 2013-04-21  David S. Miller  <davem@davemloft.net>
61670         * po/ru.po: Update Russion translation from translation project.
61672 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61674         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61675         and setfsgid.
61677 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61679         * configure.in: Remove i386 configure warning. Remove i386 case.
61680         * configure: Regenerate.
61681         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61682         Add example to error message.
61683         * sysdeps/i386/configure: Regenerate.
61685 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61687         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61688         slowtan.
61689         * benchtests/cos-inputs: New file.
61690         * benchtests/slowcos-inputs: New file.
61691         * benchtests/slowcos.c: New file.
61692         * benchtests/slowtan-inputs: New file.
61693         * benchtests/slowtan.c: New file.
61694         * benchtests/tan-inputs: New file.
61696 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61698         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61699         considered kosher.
61701 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61703         * benchtests/Makefile: Include cppflags-iterator.mk to add
61704         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61706         * Makefile.in (bench-clean): New target.
61707         * benchtests/Makefile (bench-clean): Likewise.
61709 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61711         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61713 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61715         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61717 2013-04-15  Andreas Schwab  <schwab@suse.de>
61719         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61720         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61721         * nscd/pwdcache.c (cache_addpw): Likewise.
61722         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61723         more than recsize.
61725 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61727         * benchtests/Makefile (bench): Write all output to
61728         bench-out.tmp together.
61730 2013-04-15  Andreas Schwab  <schwab@suse.de>
61732         * nscd/nscd.c (main): Don't fork again after closing files.
61734 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61736         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61738         * benchtests/Rules (bench-deps): Collect dependencies into a
61739         single variable.  Add Makefile to dependencies.
61740         ($(objpfx)bench-%.c): Depend on bench-deps.
61742 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61743             Xavier Roche  <roche+kml2@exalead.com>
61745         [BZ #15361]
61746         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61747         just that it's a file descriptor.
61748         * manual/llio.texi (Synchronizing AIO Operations): Update description
61749         for EBADF error from aio_fsync.
61751 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61753         * Rules (bench): Move target definition...
61754         * benchtests/Makefile: ... here.
61756 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61758         * math/libm-test.inc (cos_test): Fix PI/2 test.
61759         (sincos_test): Likewise.
61760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61761         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61763 2013-04-11  Andreas Schwab  <schwab@suse.de>
61765         [BZ #13988]
61766         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61767         accept exponent character only when digits were seen.
61768         * stdio-common/Makefile (tests): Add bug26.
61769         * stdio-common/bug26.c: New file.
61771         [BZ #14293]
61772         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61773         non-freeable.
61775 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61777         * Makeconfig (rtld-prefix): Define built linker prefix.
61778         * Rules (run-bench): Use it.
61779         * math/Makefile (run-regen-ulps): Likewise.
61781         * Rules (bench): Remove eval.
61783 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61784             Roland McGrath  <roland@hack.frob.com>
61785             Ondrej Bilka  <neleai@seznam.cz>
61787         [BZ #15346]
61788         * time/getdate.c: Include ctype.h and alloca.h.
61789         (__getdate_r): Trim leading and trailing spaces of input.
61790         * time/tst-getdate.c (tests): Add tests with leading and
61791         trailing spaces.
61793 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61795         [BZ #14280]
61796         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61797         when computing value.
61799 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61801         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61802         Use testrun.sh to run libm tests.
61804         [BZ #15309]
61805         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61807 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61809         [BZ #15264]
61810         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61812 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61814         * Makefile.in (regen-ulps): New target.
61815         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61816         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61817         [ifneq (no,$(PERL)] (regen-ulps): New target.
61818         [ifeq (no,$(PERL)] (regen-ulps): New target.
61819         * math/libm-test.inc (ulps_file_name): Define.
61820         (output_dir): New variable.
61821         (options): Add "output-dir" option.
61822         (parse_opt): Handle 'o' case.
61823         (main): If output_dir is non-NULL use it as a prefix
61824         otherwise use "".
61825         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61827 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61829         [BZ #10060, #10062]
61830         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61831         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61832         fail configure if __sync_val_compare_and_swap is not inlined.
61833         * sysdeps/i386/configure: Regenerate.
61834         * configure.in: Build for i686 when configured for i386.
61835         * configure: Regenerate.
61836         * README: Remove i386 reference.
61838 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61840         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61841         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61843 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61845         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61846         (lmsnanval): New variables.
61847         (F): Add conversion tests.
61848         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61849         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61851         * stdio-common/tstdiomisc.c (F): Properly collect individual
61852         tests' results.
61854         [BZ #14686, #15336]
61855         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61856         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61857         Instead, use input NaN values or generate a qNaN by arithmetic
61858         operation.  Also fix bugs to comply with the standard.
61859         * math/libm-test.inc (remainder_test): Add more tests.
61861         [BZ #15335, #15342]
61862         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61864         input NaN values or generate a qNaN by arithmetic operation.
61866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61867         unreachable code.
61869         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61870         definitions.
61872 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61874         [BZ #14478]
61875         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61876         underflowed result.
61877         * math/s_cexpf.c (__cexpf): Likewise.
61878         * math/s_cexpl.c (__cexpl): Likewise.
61879         * math/libm-test.inc (cexp_test): Add more tests.
61881 2013-04-03  Andreas Schwab  <schwab@suse.de>
61883         [BZ #15330]
61884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61885         order arrays from heap if bigger than alloca cutoff.
61887 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61889         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61890         (SNAN_TESTS_double): Refer to GCC PR56831.
61891         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61892         GCC PR56828.
61894 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61896         * Rules (bench): Move bench.out after the run is complete.
61898         * Rules (bench): Echo currently running benchmark.
61900         * benchtests/Makefile (bench): Add atan and slowatan.
61901         * benchtests/atan-inputs: New file.
61902         * benchtests/slowatan-inputs: New file.
61903         * benchtests/slowatan.c: New file.
61905         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61907         its value.
61909         [BZ #15305]
61910         * sysdeps/unix/sysv/linux/kernel-features.h
61911         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61912         __ASSUME_XFS_RESTRICTED_CHOWN.
61913         * sysdeps/unix/sysv/linux/pathconf.c
61914         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61915         Save and restore errno.
61917 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61919         [BZ #15327]
61920         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61921         arguments using __kernel_casinh.
61922         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61923         arguments using __kernel_casinhf.
61924         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61925         arguments using __kernel_casinhl.
61926         * math/libm-test.inc (cacosh_test): Add more tests.
61927         * sysdeps/i386/fpu/libm-test-ulps: Update.
61928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61930 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61932         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61935         * bench/Makefile (bench): Add sin and slowsin.
61936         * benchtests/sin-inputs: New file.
61937         * benchtests/slowsin-inputs: New file.
61938         * benchtests/slowsin.c: New file.
61940         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61941         (bench): Add slowexp and slowpow.
61942         (exp-ITER): Increase iterations.
61943         (pow-ITER): Likewise.
61944         * benchtests/exp-inputs: Change input.
61945         * benchtests/pow-inputs: Likewise.
61946         * benchtests/slowexp-inputs: New file.
61947         * benchtests/slowexp.c: New file.
61948         * benchtests/slowpow-inputs: New file.
61949         * benchtests/slowpow.c: New file.
61951 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61953         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61954         instructions.
61955         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61956         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61957         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61958         * benchtests/Makefile: Add rint benchtest.
61959         * benchtests/rint-inputs: Input for rint benchtest.
61961 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61963         * Versions.def (libm): Add GLIBC_2.18.
61964         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61965         hidden libm prototypes.
61966         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61967         * math/Makefile (libm-calls): Add s_issignaling.
61968         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61969         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61970         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61971         declaration.
61972         * math/math.h [__USE_GNU] (issignaling): New macro.
61973         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61974         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61975         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61976         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61977         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61978         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61979         * manual/arith.texi (issignaling): New section.
61980         * manual/libm-err-tab.pl (@all_functions): Update comment.
61981         * math/gen-libm-test.pl (parse_args): Apply special handling for
61982         issignaling.
61983         * math/libm-test.inc (print_float, issignaling_test): New
61984         functions.
61985         (check_float_internal): Add issignaling checks.
61986         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61987         default definition.
61988         * sysdeps/powerpc/math-tests.h: New file.
61989         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61990         tests.
61991         * math/test-snan.c (TEST_FUNC): Likewise.
61993 2013-03-30  David S. Miller  <davem@davemloft.net>
61995         * po/de.po: Update from translation team.
61997 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61999         [BZ #10357]
62000         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62001         imaginary part less than 1.0 and real part less than 0.5
62002         specially.
62003         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62004         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62005         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62006         (cacos_test): Add more tests.
62007         (casin_test): Likewise.
62008         (casinh_test): Likewise.
62009         * sysdeps/i386/fpu/libm-test-ulps: Update.
62010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62012 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62014         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62015         ONE with its value.
62017         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62018         (__pow_mp): Replace ONE and MONE with their values.
62019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62021         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62022         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62023         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62024         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62026         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62028         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62029         (__pow_mp): Replace ZERO and MZERO with their values.
62030         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62031         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62034         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62035         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62036         (__sqr): Likewise.
62038         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62040         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62042 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62044         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62045         Declare with __attribute__ ((weak)).
62046         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62047         Call __call_tls_dtors only if it's not NULL.
62049 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62051         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62052         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62053         magic __ehdr_start linker symbol if it's defined.
62054         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62055         them up here if it was already done.
62057         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62058         (_dl_aux_init): Use const in cast when setting it.
62059         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62060         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62061         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62063         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62064         Declare them here.
62065         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62066         * csu/libc-tls.c: Nor here.
62067         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62069         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62070         (__libc_message): Never call vsyslog.
62072 2013-03-28  Alan Modra  <amodra@gmail.com>
62074         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62075         Define as empty.
62076         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62077         Likewise.
62079 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62081         [BZ #15214]
62082         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62083         underflow.
62084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62086 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62088         [BZ #15304]
62089         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62090         Don't add gid passed as argument.
62092         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62094 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62096         [BZ #15307]
62097         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62098         imaginary part between 1.0 and 1.5 and real part less than 0.5
62099         specially.
62100         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62101         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62102         * math/libm-test.inc (cacos_test): Add more tests.
62103         (casin_test): Likewise.
62104         (casinh_test): Likewise.
62105         * sysdeps/i386/fpu/libm-test-ulps: Update.
62106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62108 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62110         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62111         constants.
62112         (norm): Likewise.
62113         (denorm): Likewise.
62114         (__dbl_mp): Likewise.
62115         (add_magnitudes): Likewise.
62116         (sub_magnitudes): Likewise.
62117         (__add): Likewise.
62118         (__sub): Likewise.
62119         (__mul): Likewise.
62120         (__sqr): Likewise.
62121         (__inv): Likewise.
62122         (__dvd): Likewise.
62124         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62125         commented code.
62126         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62127         (__dubcos): Likewise.
62128         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62129         (__ieee754_acos): Likewise.
62130         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62131         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62132         (__exp1): Likewise.
62133         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62135         (log1): Likewise.
62136         (my_log2): Likewise.
62137         (checkint): Likewise.
62138         * sysdeps/ieee754/dbl-64/e_remainder.c
62139         (__ieee754_remainder): Likewise.
62140         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62142         (bsloww): Likewise.
62143         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62145         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62146         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62147         MANTISSA_STORE_T to store computations on mantissa.  Use
62148         macros for rounding and division.
62149         (denorm): Likewise.
62150         (__dbl_mp): Likewise.
62151         (add_magnitudes): Likewise.
62152         (sub_magnitudes): Likewise.
62153         (__mul): Likewise.
62154         (__sqr): Likewise.
62155         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62156         powers of two in terms of TWOPOW macro.
62157         (mp_no): Make type of mantissa as MANTISSA_T.
62158         [!RADIXI]: Define RADIXI.
62159         [!TWO52]: Define TWO52.
62160         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62162 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62164         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62165         llroundl symbol when building for PPC32.
62167 2013-03-24  Mark H Weaver  <mhw@netris.org>
62169         * manual/arith.texi (Normalization Functions): Fix prototypes for
62170         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62172 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62174         [BZ #13889]
62175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62176         high value to check if expl overflow.
62177         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62178         to check for underflow and overflow.
62179         * math/libm-test.inc: Add exp test.
62181 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62183         [BZ #11120]
62184         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62185         with NOT_IN_libc.
62187 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62189         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62190         symbol.
62192 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62194         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62195         wrap blocks consisting of several statements.
62197         * sysdeps/generic/math-tests.h: New file.
62198         * sysdeps/i386/fpu/math-tests.h: Likewise.
62199         * math/test-snan.c: Include it.
62200         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62202 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62204         [BZ #15285]
62205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62206         (__ieee754_j0l): Do not improve calculations using cos of twice
62207         input for inputs above LDBL_MAX / 2.0L.
62208         (__ieee754_y0l): Likewise.
62209         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62210         (__ieee754_j1l): Do not improve calculations using cos of twice
62211         input for inputs above LDBL_MAX / 2.0L.
62212         (__ieee754_y1l): Likewise.
62213         * math/libm-test.inc (j0_test): Add another test.
62214         (j1_test): Likewise.
62215         (y0_test): Likewise.
62216         (y1_test): Likewise.
62217         * sysdeps/i386/fpu/libm-test-ulps: Update.
62219 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62221         * Rules ($(objpfx)bench-%.c): Include code from a C source
62222         file.
62224 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62226         [BZ #15287]
62227         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62228         imaginary part 1.0 and real part less than 0.5 specially.
62229         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62230         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62231         * math/libm-test.inc (cacos_test): Add more tests.
62232         (casin_test): Likewise.
62233         (casinh_test): Likewise.
62234         * sysdeps/i386/fpu/libm-test-ulps: Update.
62235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62237 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62239         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62240         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62242 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62244         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62245         * config.make.in (config-cflags-sse4): Remove variable.
62246         (config-cflags-avx): Likewise.
62247         (config-cflags-sse2avx): Likewise.
62248         (config-cflags-novzeroupper): Likewise.
62249         (config-asflags-i686): Likewise.
62250         (have-mfma4): Likewise.
62251         (have-as-vis3): Likewise.
62252         (MIG): Likewise.
62253         * configure.in (MIG): Do not AC_SUBST.
62254         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62255         (libc_cv_cc_sse4): Do not AC_SUBST.
62256         (libc_cv_cc_avx): Likewise.
62257         (libc_cv_cc_sse2avx): Likewise.
62258         (libc_cv_cc_novzeroupper): Likewise.
62259         (libc_cv_cc_fma4): Likewise.
62260         (libc_cv_as_i686): Likewise.
62261         (libc_cv_sparc_as_vis3): Likewise.
62262         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62263         LIBC_CONFIG_VAR.
62264         (config-asflags-i686): Likewise.
62265         (config-cflags-avx): Likewise.
62266         (config-cflags-sse2avx): Likewise.
62267         (have-mfma4): Likewise.
62268         (config-cflags-novzeroupper): Likewise.
62269         * sysdeps/mach/configure.in (MIG): Likewise.
62270         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62271         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62272         LIBC_CONFIG_VAR.
62273         (config-cflags-avx): Likewise.
62274         (config-cflags-sse2avx): Likewise.
62275         (have-mfma4): Likewise.
62276         (config-cflags-novzeroupper): Likewise.
62277         * configure: Regenerated.
62278         * sysdeps/i386/configure: Likewise.
62279         * sysdeps/mach/configure: Likewise.
62280         * sysdeps/sparc/configure: Likewise.
62281         * sysdeps/x86_64/configure: Likewise.
62283 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62285         [BZ #14812]
62286         * locale/programs/localedef.c (options): Put N_ translation marker
62287         on argument names, not just descriptions.
62289 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62291         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62293 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62295         [BZ #14176]
62296         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62298 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62300         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62301         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62302         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62303         [!BEFORE_ABORT] (before_abort): New function.
62304         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62305         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62306         (writev_for_fatal): New function.
62307         (WRITEV_FOR_FATAL): New macro; call that.
62308         (backtrace_and_maps): New function.
62309         (BEFORE_ABORT): New macro; call that.
62310         (struct str_list): Type removed.
62311         (__libc_message, __libc_fatal): Functions removed.
62312         Include <sysdeps/posix/libc_fatal.c> instead.
62314 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62316         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62317         constants.
62318         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62319         double constants.
62321 2013-03-19  Andreas Schwab  <schwab@suse.de>
62323         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62324         * sysdeps/gnu/configure: Regenerate.
62326         * configure.in: Substitute libc_cv_rtlddir.
62327         * configure: Regenerate.
62328         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62329         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62330         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62331         * elf/Makefile (install-others, CFLAGS-interp.c)
62332         (ldso_install, common-ldd-rewrite): Likewise.
62333         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62334         $(inst_slibdir)/$(rtld-installed-name).
62335         * scripts/rellns-sh: Add -p option.
62336         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62337         for source.
62339 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62341         * manual/nptl.texi: Renamed to ...
62342         * manual/threads.texi: ... this.
62343         * manual/Makefile (chapters): Update.
62345 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62347         [BZ #14812]
62348         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62349         on argument names, not just descriptions.
62350         * malloc/memusagestat.c (options): Likewise.
62351         * nss/getent.c (options): Likewise.
62353 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62355         [BZ #14812]
62356         * iconv/iconv_prog.c (options): Put N_ translation marker
62357         on argument names, not just descriptions.
62358         * iconv/iconvconfig.c (options): Likewise.
62360 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62362         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62363         implementation which is faster on all x86_64 architectures.
62364         Tested on AMD, Intel Nehalem, SNB, IVB.
62365         * sysdeps/x86_64/strnlen.S: Likewise.
62367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62368         Remove all multiarch strlen and strnlen versions.
62369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62370         Remove strlen and strnlen related parts.
62372         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62373         Inline strlen part.
62374         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62376         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62377         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62378         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62379         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62380         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62381         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62383 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62385         * manual/memory.texi (Malloc Tunable Parameters):
62386         Sort parameters alphabetically. Add comments for missing entries.
62388 2013-03-17  David S. Miller  <davem@davemloft.net>
62390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62392 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62394         [BZ #15283]
62395         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62396         for arguments at most half maximum finite value.
62397         * math/libm-test.inc (j0_test): Add more tests.
62398         (j1_test): Likewise.
62399         (y0_test): Likewise.
62400         (y1_test): Likewise.
62401         * sysdeps/i386/fpu/libm-test-ulps: Update.
62402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62404         [BZ #14155]
62405         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62406         1 / x and functions P and Q for arguments above 0x1p256L.
62407         (__ieee754_y0l): Likewise.
62408         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62409         (__ieee754_y1l): Likewise.
62410         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62411         (j1_test): Likewise.
62412         (y0_test): Likewise.
62413         (y1_test): Likewise.
62415 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62417         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62418         variable.
62420 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62422         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62423         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62424         zero since it's initialized to EXEC_PAGESIZE.
62426         * sysdeps/unix/sysv/linux/ldsodefs.h
62427         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62428         * sysdeps/generic/ldsodefs.h: ... here.
62430 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62432         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62434         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62435         math/test-snan.c.
62436         * math/test-snan.c: Renamed from
62437         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62438         * math/Makefile (tests): Add test-snan.
62439         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62440         test-powerpc-snan.
62442         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62443         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62444         functions.
62445         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62446         __builtin_nan family of functions.
62447         * math/libm-test.inc (initialize): Initialize qnan_value with
62448         __builtin_nan family of functions.
62449         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62450         Remove variables.
62451         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62452         Remove functions.
62453         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62454         storage class.  Initialize qNaN_var and sNaN_var with
62455         __builtin_nan and __builtin_nans families of functions,
62456         respectively.
62458         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62459         (sqrt_test): Remove duplicate test with qNaN input.
62460         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62461         (round_test, signbit_test, significand_test): Note missing +/-Inf
62462         as well as qNaN tests.
62464         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62465         qNaN_var.  Fix a few strings, too.
62466         * math/libm-test.inc (nan_value): Rename to qnan_value.
62467         * math/gen-libm-test.pl (%beautify): Adjust to that.
62468         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62469         * math/test-misc.c (main): Likewise.
62470         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62471         to __qnan_bytes, and __qnan_union, respectively.
62472         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62473         Likewise.
62474         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62475         and lqnanval, respectively.
62476         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62477         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62478         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62479         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62481         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62482         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62483         doubles.
62485         * math/test-misc.c (main): Fix copy'n'pastos.
62486         * misc/tst-efgcvt.c (special): Likewise.
62488         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62489         Remove declarations.
62491 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62493         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62494         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62495         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62496         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62498 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62501         macro to return vdso values correctly in IFUNC implementations.
62502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62503         Optimization by using IFUNC.
62505 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62506             Richard Henderson  <rth@redhat.com>
62507             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62509         * Makefile.in (bench): New target.
62510         * NEWS: Mention the benchmark framework.
62511         * Rules (bench): Likewise.
62512         (binaries-bench): Generate binaries for functions to
62513         benchmark.
62514         * benchtests/Makefile: New makefile for benchmark tests.
62515         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62516         programs.
62517         * benchtests/exp-inputs: New input file for EXP function.
62518         * benchtests/pow-inputs: New input file for POW function.
62519         * scripts/bench.pl: New script to generate source files for
62520         benchmark programs.
62522 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62524         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62525         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62526         computations on mantissa.  Use macros for rounding and
62527         division.
62528         (denorm): Likewise.
62529         (__dbl_mp): Likewise.
62530         (add_magnitudes): Likewise.
62531         (sub_magnitudes): Likewise.
62532         (__mul): Likewise.
62533         (__sqr): Likewise.
62534         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62535         powers of two in terms of TWOPOW macro.
62536         (mp_no): Make type of mantissa as MANTISSA_T.
62537         [!RADIXI]: Define RADIXI.
62538         [!TWO52]: Define TWO52.
62539         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62541         * manual/nptl.texi (cindex): Modify threads to pthreads.
62543 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62545         * sysdeps/x86_64/preconfigure: Regenerated.
62547 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62549         [BZ #14155]
62550         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62551         0x1p28 and above.
62552         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62553         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62554         0x1p28 and above.
62555         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62556         * math/libm-test.inc (j0_test): Do not allow one spurious
62557         underflow exception.
62558         (y1_test): Likewise.
62560 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62562         * manual/Makefile (chapters): Add nptl.
62563         * manual/debug.texi (Debugging Support): Add link to Threads
62564         chapter.
62565         * manual/nptl.texi: New file.
62567         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62569 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62571         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62572         for non-NULL pointer before the memory validity test. Pointed
62573         out by Holger Brunck <holger.brunck@keymile.com>.
62575 2013-03-13  Andreas Schwab  <schwab@suse.de>
62577         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62578         instead of .os.
62580 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62582         * timezone/zic.c: Update from tzcode 2013b.
62584 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62586         * manual/install.texi (Configuring and compiling):
62587         Mention i686 and i586.
62588         * INSTALL: Regenerate.
62590 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62592         * sysdeps/init_array/elf-init.c: New file.
62593         * csu/elf-init.c
62594         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62595         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62597         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62598         __gmon_start__ as global, but as static with a .preinit_array pointer.
62599         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62600         * sysdeps/init_array/crti.S: New file, empty except for comments.
62601         * sysdeps/init_array/crtn.S: Likewise.
62603 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62605         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62606         definining bcopy.
62607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62608         Remove Prefer_SSE_for_memop.
62609         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62610         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62611         HAS_PREFER_SSE_FOR_MEMOP.
62612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62613         memset-x86-64.
62614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62615         Remove bzero, memset ifunc support.
62616         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62617         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62618         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62619         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62621 2013-03-11  Andreas Schwab  <schwab@suse.de>
62623         [BZ #15234]
62624         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62625         by SHLIB_COMPAT.
62626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62627         (GLIBC_2.16): Remove pthread_atfork.
62629 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62631         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62632         (ptestcases.h): Likewise.
62634 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62636         * Makeconfig ($(common-objpfx)config.status): Depend on
62637         sysdeps/*/preconfigure{,.in} too.
62639 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62641         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62642         (__free_hook): Use void * instead of __malloc_ptr_t.
62643         (__malloc_hook): Likewise.
62644         (__realloc_hook): Likewise.
62645         (__memalign_hook): Likewise.
62646         (__after_morecore_hook): Likewise.
62647         * malloc/arena.c (save_malloc_hook): Likewise.
62648         (save_free_hook): Likewise.
62649         * malloc/hooks.c (malloc_hook_ini): Likewise.
62650         (realloc_hook_ini): Likewise.
62651         (memalign_hook_ini): Likewise.
62652         * malloc/malloc.c (malloc_hook_ini): Likewise.
62653         (realloc_hook_ini): Likewise.
62654         (memalign_hook_ini): Likewise.
62655         (__free_hook): Likewise.
62656         (__malloc_hook): Likewise.
62657         (__realloc_hook): Likewise.
62658         (__memalign_hook): Likewise.
62659         (__libc_malloc): Likewise.
62660         (__libc_free): Likewise.
62661         (__libc_realloc): Likewise.
62662         (__libc_memalign): Likewise.
62663         (__libc_valloc): Likewise.
62664         (__libc_pvalloc): Likewise.
62665         (__libc_calloc): Likewise.
62666         (__posix_memalign): Likewise.
62667         * malloc/morecore.c (__sbrk): Likewise.
62668         (__default_morecore): Likewise.
62670         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62672         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62673         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62674         __malloc_ptrdiff_t.
62676         * malloc/malloc.h (__malloc_size_t): Remove macro.
62677         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62678         __malloc_size_t.
62679         (old_memalign_hook): Likewise.
62680         (old_realloc_hook): Likewise.
62681         (struct hdr): Likewise.
62682         (flood): Likewise.
62683         (mallochook): Likewise.
62684         (memalignhook): Likewise.
62685         (reallochook): Likewise.
62686         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62687         (tr_old_realloc_hook): Likewise.
62688         (tr_old_memalign_hook): Likewise.
62689         (tr_mallochook): Likewise.
62690         (tr_reallochook): Likewise.
62691         (tr_memalignhook): Likewise.
62693 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62696         default_ldbl_pack and using as default implementation.
62697         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62698         implementation.
62699         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62700         redundant definition.
62701         (ldbl_insert_mantissa): Likewise.
62702         (ldbl_canonicalize): Likewise.
62703         (ldbl_nearbyint): Likewise.
62704         (ldbl_pack): Rename to ldbl_pack_ppc.
62705         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62706         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62707         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62709 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62712         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62714         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62717         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62718         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62720 2013-03-07  Andreas Jaeger  <aj@suse.de>
62722         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62723         bits/mman-linux.h.
62725 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62727         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62728         Include mpa.h and declare __MPEXP.
62729         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62730         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62731         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62732         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62733         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62734         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62735         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62737         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62738         (__slowpow): Use long double EXPL and LOGL functions to
62739         compute POW.
62740         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62741         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62742         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62743         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62744         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62745         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62748         intermediate variable to calculate exponent.
62749         (__sqr): Likewise.
62750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62751         Likewise.
62752         (__sqr): Likewise.
62754         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62755         [!NO__SQR]: Define __sqr.
62756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62757         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62758         sysdeps/ieee754/dbl-64/mpa.c.
62759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62761         [BZ #12723]
62762         * posix/Makefile (tests): Add tst-pathconf.
62763         * posix/tst-pathconf.c: New test case.
62764         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62765         _PC_PIPE_BUF.
62766         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62768 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62770         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62772 2013-03-06  Andreas Jaeger  <aj@suse.de>
62774         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62775         definition via __MAP_ANONYMOUS.
62777         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62778         it's not part of Linux headers.
62780         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62781         (MAP_HUGE_MASK): Define.
62783         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62784         Define.
62785         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62786         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62787         Define.
62788         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62789         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62790         Define.
62791         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62793         Define.
62794         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62796         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62797         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62798         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62799         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62800         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62801         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62804         Handle f2fs.
62806         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62807         Handle f2fs and efivarfs.
62809         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62810         f2fs.
62812         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62813         (EFIVARFS_MAGIC): Add.
62814         (F2FS_LINK_MAX): Add.
62816 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62818         * stdio-common/vfprintf.c: Replace __builtin_expect with
62819         __glibc_unlikely.
62821 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62823         [BZ #13550]
62824         * sysdeps/generic/bp-sym.h: Remove file.
62825         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62826         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62827         <bp-sym.h> and <bp-asm.h>.
62828         (__longjmp): Don't use BP_SYM.
62829         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62830         and <bp-asm.h>.
62831         (memcpy): Don't use BP_SYM.
62832         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62833         <bp-sym.h> and <bp-asm.h>.
62834         (memcpy): Don't use BP_SYM.
62835         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62836         <bp-asm.h>.
62837         (memcpy): Don't use BP_SYM.
62838         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62839         <bp-asm.h>.
62840         (memset): Don't use BP_SYM.
62841         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62842         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62843         (__bzero): Don't use BP_SYM.
62844         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62845         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62846         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62847         <bp-sym.h> and <bp-asm.h>.
62848         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62849         pointers.
62850         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62851         <bp-sym.h> and <bp-asm.h>.
62852         (memcpy): Don't use BP_SYM.
62853         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62854         <bp-sym.h> and <bp-asm.h>.
62855         (memset): Don't use BP_SYM.
62856         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62857         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62858         (__bzero): Don't use BP_SYM.
62859         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62860         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62861         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62862         <bp-sym.h> and <bp-asm.h>.
62863         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62864         pointers.
62865         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62866         <bp-sym.h> and <bp-asm.h>.
62867         (memcpy): Don't use BP_SYM.
62868         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62869         <bp-sym.h> and <bp-asm.h>.
62870         (memset): Don't use BP_SYM.
62871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62873         (__bzero): Don't use BP_SYM.
62874         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62875         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62877         <bp-sym.h> and <bp-asm.h>.
62878         (__memchr): Don't use BP_SYM.
62879         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62880         <bp-sym.h> and <bp-asm.h>.
62881         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62882         pointers.
62883         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62884         <bp-sym.h> and <bp-asm.h>.
62885         (memcpy): Don't use BP_SYM.
62886         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62887         <bp-sym.h> and <bp-asm.h>.
62888         (__mempcpy): Don't use BP_SYM.
62889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62890         <bp-sym.h> and <bp-asm.h>.
62891         (__memrchr): Don't use BP_SYM.
62892         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62893         <bp-sym.h> and <bp-asm.h>.
62894         (memset): Don't use BP_SYM.
62895         (__bzero): Likewise.
62896         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62897         <bp-sym.h> and <bp-asm.h>.
62898         (__rawmemchr): Don't use BP_SYM.
62899         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62900         <bp-sym.h> and <bp-asm.h>.
62901         (__STRCMP): Don't use BP_SYM.
62902         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62903         <bp-sym.h> and <bp-asm.h>.
62904         (strchr): Don't use BP_SYM.
62905         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62906         <bp-sym.h> and <bp-asm.h>.
62907         (__strchrnul): Don't use BP_SYM.
62908         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62909         <bp-sym.h> and <bp-asm.h>.
62910         (strlen): Don't use BP_SYM.
62911         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62912         <bp-sym.h> and <bp-asm.h>.
62913         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62914         pointers.
62915         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62916         <bp-sym.h> and <bp-asm.h>.
62917         (__strnlen): Don't use BP_SYM.
62918         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62919         <bp-sym.h> and <bp-asm.h>.
62920         (__GI__setjmp): Don't use BP_SYM.
62921         (_setjmp): Likewise.
62922         (__sigsetjmp): Likewise.
62923         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62924         (L(start_addresses)): Don't use BP_SYM.
62925         (_start): Likewise.
62926         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62927         <bp-asm.h>.
62928         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62929         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62930         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62931         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62932         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62933         <bp-asm.h>.
62934         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62935         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62936         about bounded pointers.
62937         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62938         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62939         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62940         <bp-asm.h>.
62941         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62942         about bounded pointers.  Remove GKM FIXME comments.
62943         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62944         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62945         <bp-asm.h>.
62946         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62947         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62948         Remove GKM FIXME comments.
62949         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62950         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62951         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62952         <bp-asm.h>.
62953         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62954         about bounded pointers.  Remove GKM FIXME comment.
62955         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62956         and <bp-asm.h>.
62957         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62958         pointers.
62959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62960         <bp-sym.h> and <bp-asm.h>.
62961         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62963         <bp-sym.h> and <bp-asm.h>.
62964         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62965         comment.
62967 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62969         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62970         call free(NULL).
62972 2013-03-05  David S. Miller  <davem@davemloft.net>
62974         * po/es.po: Update from translation team.
62976 2013-03-05  Andreas Jaeger  <aj@suse.de>
62978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62979         <bits/mman-linux.h>.
62980         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62981         is fine.
62982         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62983         <bits/mman-linux.h> to end of file.
62984         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62985         is fine.
62986         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62987         <bits/mman-linux.h> to end of file.
62988         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62989         is fine.
62990         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62991         <bits/mman-linux.h> to end of file.
62993         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62994         (MCL_CURRENT, MCL_FUTURE): Define here.
62996 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62998         [BZ #15232]
62999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63000         attribute_hidden.
63001         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63003 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63005         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63006         fourth parameter needed for rt_sigprocmask syscall.
63007         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63008         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63009         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63010         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63011         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63012         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63014 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63016         [BZ #13550]
63017         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63018         comment about bounded pointers.
63019         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63020         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63022 2013-03-04  Andreas Jaeger  <aj@suse.de>
63024         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63025         common definitions.
63027         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63028         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63029         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63030         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63031         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63032         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63034 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63036         [BZ #15055]
63037         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63038         __ieee754_sqrl instead of __sqrl.
63040 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63042         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63043         * sysdeps/powerpc/fpu_control.h: ... here.
63044         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63045         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63046         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63047         * sysdeps/powerpc/bits/mathinline.h: ... here.
63049 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63051         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63052         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63053         to just [NEED_DL_SYSINFO_DSO].
63054         * elf/dl-support.c: Likewise.
63055         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63056         * elf/rtld.c (dl_main): Likewise.
63057         * elf/setup-vdso.h (setup_vdso): Likewise.
63058         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63059         * sysdeps/unix/sysv/linux/dl-sysdep.c
63060         (_dl_discover_osversion): Likewise.
63062 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63064         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63065         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63067 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63069         * NEWS: Mention libm performance improvements and non-x86 PI
63070         futex support.
63072         * csu/libc-start.c (__pthread_initialize_minimal): Change
63073         function arguments.
63074         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63076 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63078         [BZ #13550]
63079         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63080         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63081         <bp-sym.h> and <bp-asm.h>.
63082         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63083         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63084         and <bp-asm.h>.
63085         (memcpy): Don't use BP_SYM.
63086         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63087         <bp-asm.h>.
63088         (__mpn_add_n): Don't use BP_SYM.
63089         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63090         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63091         and <bp-asm.h>.
63092         (__mpn_addmul_1): Don't use BP_SYM.
63093         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63094         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63095         <bp-sym.h>.
63096         (_setjmp): Don't use BP_SYM.
63097         (__novmx_setjmp): Likewise.
63098         (__GI__setjmp): Likewise.
63099         (__vmx_setjmp): Likewise.
63100         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63101         <bp-sym.h>.
63102         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63103         (__bzero): Don't use BP_SYM.
63104         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63105         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63106         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63107         <bp-sym.h> and <bp-asm.h>.
63108         (memcpy): Don't use BP_SYM.
63109         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63110         <bp-sym.h> and <bp-asm.h>.
63111         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63112         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63113         <bp-sym.h> and <bp-asm.h>.
63114         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63115         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63116         <bp-asm.h>.
63117         (__mpn_lshift): Don't use BP_SYM.
63118         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63119         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63120         <bp-asm.h>.
63121         (memset): Don't use BP_SYM.
63122         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63123         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63124         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63125         <bp-asm.h>.
63126         (__mpn_mul_1): Don't use BP_SYM.
63127         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63128         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63129         <bp-sym.h> and <bp-asm.h>.
63130         (memcmp): Don't use BP_SYM.
63131         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63132         <bp-sym.h> and <bp-asm.h>.
63133         (memcpy): Don't use BP_SYM.
63134         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63135         <bp-sym.h> and <bp-asm.h>.
63136         (memset): Don't use BP_SYM.
63137         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63138         <bp-sym.h> and <bp-asm.h>.
63139         (strncmp): Don't use BP_SYM.
63140         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63141         <bp-sym.h> and <bp-asm.h>.
63142         (memcpy): Don't use BP_SYM.
63143         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63144         <bp-sym.h> and <bp-asm.h>.
63145         (memset): Don't use BP_SYM.
63146         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63147         <bp-sym.h> and <bp-asm.h>.
63148         (__memchr): Don't use BP_SYM.
63149         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63150         <bp-sym.h> and <bp-asm.h>.
63151         (memcmp): Don't use BP_SYM.
63152         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63153         <bp-sym.h> and <bp-asm.h>.
63154         (memcpy): Don't use BP_SYM.
63155         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63156         <bp-sym.h> and <bp-asm.h>.
63157         (__mempcpy): Don't use BP_SYM.
63158         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63159         <bp-sym.h> and <bp-asm.h>.
63160         (__memrchr): Don't use BP_SYM.
63161         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63162         <bp-sym.h> and <bp-asm.h>.
63163         (memset): Don't use BP_SYM.
63164         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63165         <bp-sym.h> and <bp-asm.h>.
63166         (__rawmemchr): Don't use BP_SYM.
63167         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63168         <bp-sym.h> and <bp-asm.h>.
63169         (__STRCMP): Don't use BP_SYM.
63170         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63171         <bp-sym.h> and <bp-asm.h>.
63172         (strchr): Don't use BP_SYM.
63173         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63174         <bp-sym.h> and <bp-asm.h>.
63175         (__strchrnul): Don't use BP_SYM.
63176         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63177         <bp-sym.h> and <bp-asm.h>.
63178         (strlen): Don't use BP_SYM.
63179         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63180         <bp-sym.h> and <bp-asm.h>.
63181         (strncmp): Don't use BP_SYM.
63182         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63183         <bp-sym.h> and <bp-asm.h>.
63184         (__strnlen): Don't use BP_SYM.
63185         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63186         <bp-asm.h>.
63187         (__mpn_rshift): Don't use BP_SYM.
63188         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63189         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63190         <bp-sym.h> and <bp-asm.h>.
63191         (__sigsetjmp): Don't use BP_SYM.
63192         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63193         (L(start_addresses)): Don't use BP_SYM.
63194         (_start): Likewise.
63195         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63196         <bp-asm.h>.
63197         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63198         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63199         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63200         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63201         <bp-asm.h>.
63202         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63203         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63204         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63205         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63206         <bp-asm.h>.
63207         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63208         comments.
63209         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63210         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63211         <bp-asm.h>.
63212         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63213         FIXME comments.
63214         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63215         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63216         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63217         <bp-asm.h>.
63218         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63219         comment.
63220         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63221         and <bp-asm.h>.
63222         (strncmp): Don't use BP_SYM,
63223         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63224         <bp-asm.h>.
63225         (__mpn_sub_n): Don't use BP_SYM.
63226         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63227         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63228         and <bp-asm.h>.
63229         (__mpn_submul_1): Don't use BP_SYM.
63230         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63232         <bp-sym.h> and <bp-asm.h>.
63233         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63235         <bp-sym.h> and <bp-asm.h>.
63236         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63237         comment.
63239 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63242         Use ZK to minimize writes to Z.
63243         (sub_magnitudes): Simplify code a bit.
63244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63245         Use ZK to minimize writes to Z.
63246         (sub_magnitudes): Simplify code a bit.
63248 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63250         * csu/gmon-start.c: Add special exception to license text.
63252 2013-02-27  Richard Henderson  <rth@redhat.com>
63254         * scripts/config.guess: Update from config.git.
63255         * scripts/config.sub: Likewise.
63257 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63259         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63261         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63263         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63265         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63267         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63269 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63271         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63272         [$(build-shared = yes].
63274 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63276         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63277         (__mul): Reduce iterations for calculating mantissa.
63279         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63280         MPTWO.
63281         (__mpranred): Likewise.
63283         [BZ #15160]
63284         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63285         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63287 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63289         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63290         Define __attribute__.
63292 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63294         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63295         unused.
63296         * posix/regex_internal.h (__attribute): Remove.
63297         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63298         (re_string_context_at): Likewise.
63299         (bitset_not): Use __attribute__ and mark function as possibly
63300         unused.
63301         (bitset_merge): Likewise.
63302         (bitset_mask): Likewise.
63303         (re_string_char_size_at): Likewise.
63304         (re_string_wchar_at): Likewise.
63305         (re_string_elem_size_at): Likewise.
63307 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63309         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63310         code.
63311         (cc32): Likewise.
63313         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63314         (__acr): Likewise.
63315         (__cpy): Likewise.
63316         (norm): Likewise.
63317         (denorm): Likewise.
63318         (__dbl_mp): Likewise.
63319         (add_magnitudes): Likewise.
63320         (sub_magnitudes): Likewise.
63321         (__mul): Likewise.
63322         (__inv): Likewise.
63324         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63325         style.
63327         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63328         style.
63330         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63331         code.
63333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63334         up changes with default code.
63335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63336         Likewise.
63338 2013-02-24  Allan McRae  <allan@archlinux.org>
63340         * manual/socket.texi (The Internet Namespace): Order menu items
63341         to match that in the file.
63343         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63344         node listing of the info page menu.
63346 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63348         [BZ #13550]
63349         * sysdeps/i386/bp-asm.h: Remove file.
63350         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63351         (PARMS): Do not use macros from bp-asm.h.
63352         (S1): Likewise.
63353         (S2): Likewise.
63354         (SIZE): Likewise.
63355         (__mpn_add_n): Do not use BP_SYM
63356         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63357         "bp-asm.h".
63358         (PARMS): Do not use macros from bp-asm.h.
63359         (S1): Likewise.
63360         (SIZE): Likewise.
63361         (__mpn_addmul_1): Do not use BP_SYM
63362         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63363         "bp-asm.h".
63364         (PARMS): Do not use macros from bp-asm.h.
63365         (SIGMSK): Likewise.
63366         (_setjmp): Likewise.  Do not use BP_SYM.
63367         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63368         "bp-asm.h".
63369         (PARMS): Do not use macros from bp-asm.h.
63370         (SIGMSK): Likewise.
63371         (setjmp): Likewise.  Do not use BP_SYM.
63372         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63373         "bp-asm.h".
63374         (PARMS): Do not use macros from bp-asm.h.
63375         (__frexp): Do not use BP_SYM.
63376         (frexp): Likewise.
63377         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63378         "bp-asm.h".
63379         (PARMS): Do not use macros from bp-asm.h.
63380         (__frexpf): Do not use BP_SYM.
63381         (frexpf): Likewise.
63382         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63383         "bp-asm.h".
63384         (PARMS): Do not use macros from bp-asm.h.
63385         (__frexpl): Do not use BP_SYM.
63386         (frexpl): Likewise.
63387         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63388         "bp-asm.h".
63389         (PARMS): Do not use macros from bp-asm.h.
63390         (__remquo): Do not use BP_SYM.
63391         (remquo): Likewise.
63392         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63393         "bp-asm.h".
63394         (PARMS): Do not use macros from bp-asm.h.
63395         (__remquof): Do not use BP_SYM.
63396         (remquof): Likewise.
63397         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63398         "bp-asm.h".
63399         (PARMS): Do not use macros from bp-asm.h.
63400         (__remquol): Do not use BP_SYM.
63401         (remquol): Likewise.
63402         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63403         "bp-asm.h".
63404         (PARMS): Do not use macros from bp-asm.h.
63405         (DEST): Likewise.
63406         (SRC): Likewise.
63407         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63408         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63409         "bp-asm.h".
63410         (PARMS): Do not use macros from bp-asm.h.
63411         (strlen): Do not use BP_SYM.
63412         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63413         "bp-asm.h".
63414         (PARMS): Do not use macros from bp-asm.h.
63415         (S1): Likewise.
63416         (S2): Likewise.
63417         (SIZE): Likewise.
63418         (__mpn_add_n): Do not use BP_SYM.
63419         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63420         "bp-asm.h".
63421         (PARMS): Do not use macros from bp-asm.h.
63422         (S1): Likewise.
63423         (SIZE): Likewise.
63424         (__mpn_addmul_1): Do not use BP_SYM.
63425         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63426         weak_alias.
63427         (bzero): Likewise.
63428         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63429         "bp-asm.h".
63430         (PARMS): Do not use macros from bp-asm.h.
63431         (S): Likewise.
63432         (SIZE): Likewise.
63433         (__mpn_lshift): Do not use BP_SYM.
63434         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63435         "bp-asm.h".
63436         (PARMS): Do not use macros from bp-asm.h.
63437         (DEST): Likewise.
63438         (SRC): Likewise.
63439         (LEN): Likewise.
63440         (memcpy): Likewise.  Do not use BP_SYM.
63441         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63442         libc_hidden_def and weak_alias.
63443         (mempcpy): Do not use BP_SYM in weak_alias.
63444         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63445         "bp-asm.h".
63446         (PARMS): Do not use macros from bp-asm.h.
63447         (DEST): Likewise.
63448         (LEN): Likewise.
63449         [!BZERO_P] (CHR): Likewise.
63450         (memset): Likewise.  Do not use BP_SYM.
63451         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63452         "bp-asm.h".
63453         (PARMS): Do not use macros from bp-asm.h.
63454         (S1): Likewise.
63455         (SIZE): Likewise.
63456         (__mpn_mul_1): Do not use BP_SYM.
63457         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63458         "bp-asm.h".
63459         (PARMS): Do not use macros from bp-asm.h.
63460         (S): Likewise.
63461         (SIZE): Likewise.
63462         (__mpn_rshift): Do not use BP_SYM.
63463         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63464         "bp-asm.h".
63465         (PARMS): Do not use macros from bp-asm.h.
63466         (STR): Likewise.
63467         (CHR): Likewise.
63468         (strchr): Likewise.  Do not use BP_SYM.
63469         (index): Do not use BP_SYM in weak_alias.
63470         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63471         "bp-asm.h".
63472         (PARMS): Do not use macros from bp-asm.h.
63473         (DEST): Likewise.
63474         (SRC): Likewise.
63475         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63476         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63477         "bp-asm.h".
63478         (PARMS): Do not use macros from bp-asm.h.
63479         (strlen): Do not use BP_SYM.
63480         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63481         "bp-asm.h".
63482         (PARMS): Do not use macros from bp-asm.h.
63483         (S1): Likewise.
63484         (S2): Likewise.
63485         (SIZE): Likewise.
63486         (__mpn_sub_n): Do not use BP_SYM.
63487         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63488         "bp-asm.h".
63489         (PARMS): Do not use macros from bp-asm.h.
63490         (S1): Likewise.
63491         (SIZE): Likewise.
63492         (__mpn_submul_1): Do not use BP_SYM.
63493         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63494         "bp-asm.h".
63495         (PARMS): Do not use macros from bp-asm.h.
63496         (S1): Likewise.
63497         (S2): Likewise.
63498         (SIZE): Likewise.
63499         (__mpn_add_n): Do not use BP_SYM.
63500         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63501         weak_alias.
63502         (bzero): Likewise.
63503         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63504         "bp-asm.h".
63505         (PARMS): Do not use macros from bp-asm.h.
63506         (BLK2): Likewise.
63507         (LEN): Likewise.
63508         (memcmp): Do not use BP_SYM.
63509         (bcmp): Do not use BP_SYM in weak_alias.
63510         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63511         "bp-asm.h".
63512         (PARMS): Do not use macros from bp-asm.h.
63513         (DEST): Likewise.
63514         (SRC): Likewise.
63515         (LEN): Likewise.
63516         (memcpy): Likewise.  Do not use BP_SYM.
63517         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63518         "bp-asm.h".
63519         (PARMS): Do not use macros from bp-asm.h.
63520         (DEST): Likewise.
63521         (SRC): Likewise.
63522         (LEN): Likewise.
63523         (memmove): Likewise.  Do not use BP_SYM.
63524         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63525         "bp-asm.h".
63526         (PARMS): Do not use macros from bp-asm.h.
63527         (DEST): Likewise.
63528         (SRC): Likewise.
63529         (LEN): Likewise.
63530         (__mempcpy): Likewise.  Do not use BP_SYM.
63531         (mempcpy): Do not use BP_SYM in weak_alias.
63532         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63533         "bp-asm.h".
63534         (PARMS): Do not use macros from bp-asm.h.
63535         (DEST): Likewise.
63536         (LEN): Likewise.
63537         [!BZERO_P] (CHR): Likewise.
63538         (memset): Likewise.  Do not use BP_SYM.
63539         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63540         "bp-asm.h".
63541         (PARMS): Do not use macros from bp-asm.h.
63542         (STR2): Likewise.
63543         (strcmp): Do not use BP_SYM.
63544         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63545         "bp-asm.h".
63546         (PARMS): Do not use macros from bp-asm.h.
63547         (STR): Likewise.
63548         (DELIM): Likewise.
63549         [USE_AS_STRTOK_R] (SAVE): Likewise.
63550         (FUNCTION): Likewise.  Do not use BP_SYM.
63551         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63552         aliases.
63553         (strtok_r): Likewise.
63554         (__GI___strtok_r): Likewise.
63555         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63556         (PARMS): Do not use macros from bp-asm.h.
63557         (S): Likewise.
63558         (SIZE): Likewise.
63559         (__mpn_lshift): Do not use BP_SYM.
63560         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63561         (PARMS): Do not use macros from bp-asm.h.
63562         (STR): Likewise.
63563         (CHR): Likewise.
63564         (__memchr): Do not use BP_SYM.
63565         (memchr): Do not use BP_SYM in weak_alias.
63566         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63567         (PARMS): Do not use macros from bp-asm.h.
63568         (BLK2): Likewise.
63569         (LEN): Likewise.
63570         (memcmp): Do not use BP_SYM.
63571         (bcmp): Do not use BP_SYM in weak_alias.
63572         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63573         (PARMS): Do not use macros from bp-asm.h.
63574         (S1): Likewise.
63575         (SIZE): Likewise.
63576         (__mpn_mul_1): Do not use BP_SYM.
63577         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63578         "bp-asm.h".
63579         (PARMS): Do not use macros from bp-asm.h.
63580         (STR): Likewise.
63581         (CHR): Likewise.
63582         (__rawmemchr): Do not use BP_SYM.
63583         (rawmemchr): Do not use BP_SYM in weak_alias.
63584         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63585         (PARMS): Do not use macros from bp-asm.h.
63586         (S): Likewise.
63587         (SIZE): Likewise.
63588         (__mpn_rshift): Do not use BP_SYM.
63589         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63590         (PARMS): Do not use macros from bp-asm.h.
63591         (SIGMSK): Likewise.
63592         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63593         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63594         (_start): Do not use BP_SYM.
63595         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63596         (PARMS): Do not use macros from bp-asm.h.
63597         (DEST): Likewise.
63598         (SRC): Likewise.
63599         (__stpcpy): Likewise.  Do not use BP_SYM.
63600         (stpcpy): Do not use BP_SYM in weak_alias.
63601         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63602         "bp-asm.h".
63603         (PARMS): Do not use macros from bp-asm.h.
63604         (DEST): Likewise.
63605         (SRC): Likewise.
63606         (LEN): Likewise.
63607         (__stpncpy): Likewise.  Do not use BP_SYM.
63608         (stpncpy): Do not use BP_SYM in weak_alias.
63609         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63610         (PARMS): Do not use macros from bp-asm.h.
63611         (STR): Likewise.
63612         (CHR): Likewise.
63613         (strchr): Likewise.  Do not use BP_SYM.
63614         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63615         "bp-asm.h".
63616         (PARMS): Do not use macros from bp-asm.h.
63617         (STR): Likewise.
63618         (CHR): Likewise.
63619         (__strchrnul): Likewise.  Do not use BP_SYM.
63620         (strchrnul): Do not use BP_SYM in weak_alias.
63621         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63622         "bp-asm.h".
63623         (PARMS): Do not use macros from bp-asm.h.
63624         (STOP): Likewise.
63625         (strcspn): Do not use BP_SYM.
63626         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63627         "bp-asm.h".
63628         (PARMS): Do not use macros from bp-asm.h.
63629         (STR): Likewise.
63630         (STOP): Likewise.
63631         (strpbrk): Likewise.  Do not use BP_SYM.
63632         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63633         "bp-asm.h".
63634         (PARMS): Do not use macros from bp-asm.h.
63635         (STR): Likewise.
63636         (CHR): Likewise.
63637         (strrchr): Likewise.  Do not use BP_SYM.
63638         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63639         (PARMS): Do not use macros from bp-asm.h.
63640         (SKIP): Likewise.
63641         (strspn): Do not use BP_SYM.
63642         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63643         (PARMS): Do not use macros from bp-asm.h.
63644         (STR): Likewise.
63645         (DELIM): Likewise.
63646         (SAVE): Likewise.
63647         (FUNCTION): Likewise.  Do not use BP_SYM.
63648         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63649         aliases.
63650         (strtok_r): Likewise.
63651         (__GI___strtok_r): Likewise.
63652         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63653         (PARMS): Do not use macros from bp-asm.h.
63654         (S1): Likewise.
63655         (S2): Likewise.
63656         (SIZE): Likewise.
63657         (__mpn_sub_n): Do not use BP_SYM.
63658         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63659         "bp-asm.h".
63660         (PARMS): Do not use macros from bp-asm.h.
63661         (S1): Likewise.
63662         (SIZE): Likewise.
63663         (__mpn_submul_1): Do not use BP_SYM.
63664         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63665         <bp-sym.h>.
63666         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63667         and <bp-asm.h>.
63668         (PARMS): Do not use macros from bp-asm.h.
63669         (FLAGS): Likewise.
63670         (PTID): Likewise.
63671         (TLS): Likewise.
63672         (CTID): Likewise.
63673         (__clone): Do not use BP_SYM.
63674         (clone): Do not use BP_SYM in weak_alias.
63675         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63676         and <bp-asm.h>.
63677         (PARMS): Do not use macros from bp-asm.h.
63678         (LEN): Likewise.
63679         (__mmap64): Do not use BP_SYM.
63680         (mmap64): Do not use BP_SYM in weak_alias.
63681         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63682         <bp-sym.h> and <bp-asm.h>.
63683         (PARMS): Do not use macros from bp-asm.h.
63684         (__posix_fadvise64_l64): Do not use BP_SYM.
63685         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63686         (PARMS): Do not use macros from bp-asm.h.
63687         (NSOPS): Likewise.
63688         (semtimedop): Do not use BP_SYM.
63689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63690         and <bp-asm.h>.
63692 2013-02-21  Allan McRae  <allan@archlinux.org>
63694         * manual/message.texi (Charset conversion in gettext):
63695         Move @end statement to beginning of line.
63697 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63700         static.
63701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63702         Likewise.
63704         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63705         (denorm): Likewise.
63706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63709 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63711         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63712         tail-call to the resolved function if pltexit isn't needed.
63714 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63717         or Y being zero as being unlikely.
63718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63719         Likewise.
63721 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63723         * manual/nss.texi (System Databases and Name Service Switch):
63724         Remove frobnicate @pxref.
63726 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63728         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63729         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63731 2013-02-20  Petr Machata  <pmachata@redhat.com>
63733         * elf/elf.h (R_ARM_TARGET1): New macro.
63734         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63735         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63736         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63737         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63738         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63739         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63740         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63741         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63742         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63743         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63744         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63745         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63746         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63747         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63748         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63749         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63750         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63751         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63752         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63753         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63754         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63755         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63756         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63757         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63758         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63759         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63760         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63761         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63762         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63763         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63764         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63765         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63766         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63767         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63768         (R_ARM_THM_GOT_BREL12): Likewise.
63769         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63770         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63771         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63772         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63773         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63774         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63775         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63776         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63777         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63779 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63781         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63782         __attribute_used__ to __attribute__ ((unused)).
63784 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63786         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63787         powerpc mpa.c.
63788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63789         comment formatting.
63790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63792 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63794         [BZ #13550]
63795         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63796         Remove macro.
63797         (ENTER): Remove both macro definitions.
63798         (LEAVE): Likewise.
63799         (CHECK_BOUNDS_LOW): Likewise.
63800         (CHECK_BOUNDS_HIGH): Likewise.
63801         (CHECK_BOUNDS_BOTH): Likewise.
63802         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63803         (RETURN_BOUNDED_POINTER): Likewise.
63804         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63805         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63806         (POP_ERRNO_LOCATION_RETURN): Likewise.
63807         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63808         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63809         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63810         macros.
63811         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63812         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63813         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63814         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63815         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63816         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63817         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63818         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63819         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63820         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63821         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63822         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63823         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63824         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63825         removed macros.
63826         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63827         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63828         macros.
63829         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63830         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63831         * sysdeps/i386/i586/memset.S (memset): Likewise.
63832         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63833         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63834         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63835         macros.
63836         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63837         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63838         Change uses of L(2) to L(out).
63839         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63840         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63841         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63842         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63843         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63844         removed macros.
63845         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63846         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63847         macros.
63848         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63849         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63850         (RETURN): Do not use macro LEAVE.
63851         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63852         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63853         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63854         * sysdeps/i386/i686/memset.S (memset): Likewise.
63855         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63856         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63857         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63858         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63859         Likewise.
63860         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63861         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63862         L(1_2) and L(1_3) into L(1).
63863         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63864         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63865         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63866         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63867         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63868         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63869         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63870         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63871         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63872         macros.
63873         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63874         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63875         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63876         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63877         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63878         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63879         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63880         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63881         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63882         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63883         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63884         * sysdeps/i386/strspn.S (strspn): Likewise.
63885         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63886         conditional code.
63887         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63888         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63889         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63890         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63891         L(1_3) into L(1_1).
63892         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63893         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63894         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63895         macros.
63896         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63898 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63900         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63901         macro.
63903 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63905         * math/atest-exp.c (exp_mpn): Remove ROUND.
63906         * math/atest-exp2.c (exp_mpn): Likewise.
63907         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63909         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63910         * stdlib/tst-tls-atexit-lib.c: Likewise.
63911         * stdlib/tst-tls-atexit.c: Likewise.
63913 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63915         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63916         and __attribute_alloc_size__.
63918 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63920         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63921         __attribute_alloc_size__.
63922         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63923         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63925 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63927         * include/programs/xmalloc.h: New file.
63928         * catgets/gencat.c: Include it.
63929         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63930         * elf/pldd.c: Likewise.
63931         * iconv/iconv_charmap.c: Likewise.
63932         * iconv/iconvconfig.c: Likewise.
63933         * iconv/strtab.c: Likewise.
63934         * locale/programs/locale.c: Likewise.
63935         * locale/programs/localedef.h: Likewise.
63936         * locale/programs/simple-hash.c: Likewise.
63937         * nscd/nscd.h: Likewise.
63938         * nss/makedb.c: Likewise.
63939         * sysdeps/generic/ldconfig.h: Likewise.
63941 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63943         * Versions.def: Add GLIBC_2.18.
63944         * include/link.h (struct link_map): New member l_tls_dtor_count.
63945         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63946         (__call_tls_dtors): Likewise.
63947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63948         __cxa_thread_atexit_impl.
63949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63950         Likewise.
63951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63952         Likewise.
63953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63954         Likewise.
63955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63956         Likewise.
63957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63959         Likewise.
63960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63961         Likewise.
63962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63964         Likewise.
63965         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63966         (tests): Add test case tst-tls-atexit.
63967         (modules-names): Add shared library for tst-tls-atexit.
63968         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63969         (GLIBC_PRIVATE): Add __call_tls_dtors.
63970         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63971         for libstdc++.
63972         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63973         * stdlib/tst-tls-atexit.c: New test case.
63974         * stdlib/tst-tls-atexit-lib.c: New test case.
63976         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63978         * elf/Versions (ld): Add _dl_find_dso_for_object.
63979         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63980         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63981         (dl_open_worker): Use _dl_find_dso_for_object.
63982         * elf/dl-sym.c (do_sym): Likewise.
63983         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63985 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63987         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63988         Syntactic changes only.
63989         (_dl_runtime_profile): Do a tail-call to the resolved function.
63991 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63993         [BZ #13550]
63994         * sysdeps/x86_64/bp-asm.h: Remove file.
63995         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63996         <bp-sym.h> and <bp-asm.h>.
63997         (__clone): Do not use BP_SYM.
63998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63999         <bp-sym.h> and <bp-asm.h>.
64000         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64001         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64002         "bp-asm.h".
64003         (_setjmp): Do not use BP_SYM.
64004         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64005         "bp-asm.h".
64006         (setjmp): Do not use BP_SYM.
64007         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64008         libc_hidden_def.
64009         (mempcpy): Do not use BP_SYM in weak_alias.
64010         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64011         "bp-asm.h".
64012         (strchr): Do not use BP_SYM.
64013         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64014         "bp-asm.h".
64015         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64016         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64017         (_start): Do not use BP_SYM.
64018         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64019         "bp-asm.h".
64020         (strcat): Do not use BP_SYM.
64021         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64022         "bp-asm.h".
64023         (STRCMP): Do not use BP_SYM.
64024         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64025         "bp-asm.h".
64026         (STRCPY): Do not use BP_SYM.
64027         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64028         "bp-asm.h".
64029         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64030         "bp-asm.h".
64031         (FUNCTION): Do not use BP_SYM.
64032         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64033         weak_alias.
64034         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64036 2013-02-17  Andreas Jaeger  <aj@suse.de>
64038         * time/Versions: Sort entries.
64039         * string/Versions: Likewise.
64040         * resolv/Versions: Likewise.
64041         * posix/Versions: Likewise.
64042         * iconv/Versions: Likewise.
64043         * elf/Versions: Likewise.
64044         * wcsmbs/Versions: Likewise.
64046 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64048         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64049         loop termination condition.
64051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64052         variable to calculate EZ.
64053         (__sqr): Likewise.
64055         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64056         the lower precision input.
64058 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64060         [BZ #13550]
64061         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64062         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64063         (run-via-rtld-prefix): Do not handle %-bp tests.
64064         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64065         (all-object-suffixes): Remove .ob.
64066         (bppfx): Remove variable.
64067         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64068         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64069         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64070         [$(build-bounded) = yes] (libtype.ob): Likewise.
64071         * Makerules (elide-routines.ob): Remove variable.
64072         (do-tests-clean): Do not handle *-bp.out.
64073         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64074         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64075         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64076         (tests): Do not include $(tests-bp.out).
64077         (xtests): Do not include $(xtests-bp.out).
64078         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64079         [$(build-bounded) = yes] ($(addprefix
64080         $(objpfx),$(binaries-bounded))): Remove rule.
64081         ($(objpfx)%-bp.out): Remove rule.
64082         * config.make.in (build-bounded): Remove variable.
64083         * crypt/Makefile [$(build-bounded) = yes]
64084         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64085         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64086         append to variable.
64087         [$(build-bounded) = yes] (install-lib): Likewise.
64088         [$(build-bounded) = yes] (generated): Likewise.
64089         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64090         Remove rule.
64091         * intl/Makefile [$(build-bounded) = yes]
64092         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64093         * math/Makefile [$(build-bounded) = yes]
64094         ($(tests:%=$(objpfx)%-bp): Likewise.
64095         * misc/Makefile [$(build-bounded) = yes]
64096         ($(objpfx)tst-tsearch-bp): Likewise.
64097         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64098         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64099         Remove dependency.
64100         * string/Makefile (o-objects.ob): Remove variable.
64101         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64102         (CFLAGS-.ob): Remove variable.
64103         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64104         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64105         both definitions of variable.
64106         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64107         (ASFLAGS-.ob): Remove variable.
64109 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64111         [BZ #13550]
64112         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64113         Remove __BOUNDED_POINTERS__ from condition.
64114         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64115         * string/bits/string2.h [!__NO_STRING_INLINES &&
64116         !__BOUNDED_POINTERS__]: Likewise.
64117         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64118         Likewise.
64119         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64120         Remove conditional code.
64121         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64122         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64123         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64124         condition.
64126         [BZ #13550]
64127         * csu/libc-start.c: Do not include <bp-sym.h>.
64128         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64129         * elf/dl-open.c: Do not include <bp-sym.h>.
64130         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64131         * math/fegetenv.c: Do not include <bp-sym.h>.
64132         (fegetenv): Do not use BP_SYM in versioned symbols.
64133         * nptl/sysdeps/pthread/bits/libc-lockP.h
64134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64135         <bp-sym.h>.
64136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64137         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64139         (__pthread_mutex_destroy): Likewise.
64140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64141         (__pthread_mutex_lock): Likewise.
64142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64143         (__pthread_mutex_trylock): Likewise.
64144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64145         (__pthread_mutex_unlock): Likewise.
64146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64147         (__pthread_mutexattr_init): Likewise.
64148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64149         (__pthread_mutexattr_destroy): Likewise.
64150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64151         (__pthread_mutexattr_settype): Likewise.
64152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64153         (__pthread_rwlock_init): Likewise.
64154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64155         (__pthread_rwlock_destroy): Likewise.
64156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64157         (__pthread_rwlock_rdlock): Likewise.
64158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64159         (__pthread_rwlock_tryrdlock): Likewise.
64160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64161         (__pthread_rwlock_wrlock): Likewise.
64162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64163         (__pthread_rwlock_trywrlock): Likewise.
64164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64165         (__pthread_rwlock_unlock): Likewise.
64166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64167         (__pthread_key_create): Likewise.
64168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64169         (__pthread_setspecific): Likewise.
64170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64171         (__pthread_getspecific): Likewise.
64172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64173         Likewise.
64174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64175         (_pthread_cleanup_push_defer): Likewise.
64176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64177         (_pthread_cleanup_pop_restore): Likewise.
64178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64179         (pthread_setcancelstate): Likewise.
64180         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64181         <bp-sym.h>.
64182         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64183         (memchr): Do not use BP_SYM in weak_alias.
64184         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64185         (fegetenv): Do not use BP_SYM in versioned symbols.
64186         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64187         (fesetenv): Do not use BP_SYM in versioned symbols.
64188         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64189         (feupdateenv): Do not use BP_SYM in versioned symbols.
64190         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64191         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64192         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64193         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64194         (open64): Do not use BP_SYM in weak_alias.
64195         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64196         (fegetenv): Do not use BP_SYM in versioned symbols.
64197         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64198         (fesetenv): Do not use BP_SYM in versioned symbols.
64199         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64200         (feupdateenv): Do not use BP_SYM in versioned symbols.
64201         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64202         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64203         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64204         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64205         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64206         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64207         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64208         <bp-sym.h>.
64209         (__libc_start_main): Do not use BP_SYM.
64211 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64214         redundant return line.
64215         (norm): Likewise.
64216         (denorm): Likewise.
64217         (dbl_mp): Likewise.
64218         (sub_magnitudes): Likewise.
64219         (__add): Likewise.
64220         (__sub): Likewise.
64221         (__mul): Likewise.
64222         (__inv): Likewise.
64223         (__dvd): Likewise.
64224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64225         (norm): Likewise.
64226         (denorm): Likewise.
64227         (dbl_mp): Likewise.
64228         (sub_magnitudes): Likewise.
64229         (__add): Likewise.
64230         (__sub): Likewise.
64231         (__mul): Likewise.
64232         (__inv): Likewise.
64233         (__dvd): Likewise.
64235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64236         instead of __mul.
64237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64238         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64239         (cc32): Likewise.
64241         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64242         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64244         of __mul for squares.
64245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64246         function
64247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64248         Likewise.
64249         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64250         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64252 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64254         [BZ #13550]
64255         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64256         code.
64257         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64258         prototype or function definition.  Rename ubp_* variables and
64259         parameters.  Remove argv definitions conditional on
64260         [__BOUNDED_POINTERS__].
64261         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64262         * elf/dl-runtime.c (_dl_fixup): Likewise.
64263         * include/set-hooks.h (RUN_HOOK): Likewise.
64264         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64265         definition.
64266         * string/strcpy.c (strcpy): Do not use __unbounded.
64267         * sysdeps/generic/frame.h (struct layout): Likewise.
64268         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64269         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64270         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64271         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64272         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64273         (__backtrace): Likewise.
64274         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64275         use __ptrvalue.
64276         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64277         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64278         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64279         Likewise.
64280         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64281         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64282         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64283         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64284         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64285         Do not use __unbounded.
64286         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64287         Rename __unboundedrlimits parameter to rlimits in prototype.
64288         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64289         Do not use __unbounded.
64290         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64291         not use __ptrvalue.
64292         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64293         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64294         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64295         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64296         __ptrvalue or __unbounded.
64297         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64298         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64299         use __unbounded.
64300         (__new_msgctl): Do not use __ptrvalue.
64301         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64302         __unbounded.
64303         (__libc_msgrcv): Do not use __ptrvalue.
64304         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64305         startup_info): Do not use __unbounded.
64306         (__libc_start_main): Likewise.  Rename ubp_* variables and
64307         parameters.  Remove argv definitions conditional on
64308         [__BOUNDED_POINTERS__].
64309         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64310         __ptrvalue.
64311         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64312         use __unbounded.
64313         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64314         or __ptrvalue.
64315         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64316         use __unbounded.
64317         (__new_shmctl): Do not use __ptrvalue.
64318         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64319         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64320         Likewise.
64321         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64322         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64323         (__libc_sigaction): Likewise.
64324         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64325         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64326         Likewise.
64327         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64329 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64331         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64333         * string/mempcpy.c: Implement by calling memcpy.
64335 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64340         evaluation.
64342         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64343         values in the mantissa.
64345         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64346         minimize writes to Z.
64347         (sub_magnitudes): Simplify code a bit.
64349 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64351         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64352         from the message.  The linker prefixes all warnings with that already.
64354 2013-02-12  Andreas Schwab  <schwab@suse.de>
64356         [BZ #15078]
64357         * posix/regexec.c (extend_buffers): Add parameter min_len.
64358         (check_matching): Pass minimum needed length.
64359         (clean_state_log_if_needed): Likewise.
64360         (get_subexp): Likewise.
64361         * posix/Makefile (tests): Add bug-regex34.
64362         (bug-regex34-ENV): Define.
64363         * posix/bug-regex34.c: New file.
64365         [BZ #11561]
64366         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64367         elements compare against the byte sequence of it, not its name.
64368         * posix/Makefile (tests): Add bug-regex35.
64369         (bug-regex35-ENV): Define.
64370         * posix/bug-regex35.c: New file.
64372 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64374         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64375         comment.
64376         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64377         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64378         (CHECK_EOL): Add undef.
64380 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64382         * bits/stdlib-bsearch.h: New file.
64383         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64384         * stdlib/stdlib.h: Likewise.
64386 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64388         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64389         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64390         declaration.
64391         * manual/search.texi (Array Search Function): Add missing const in
64392         lfind prototype.
64393         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64394         declaration to use rlim_t.
64395         (Basic Scheduling Functions): Remove erroneous const from
64396         sched_getparam prototype.  Remove erroneous * from
64397         sched_get_priority_max and sched_get_priority_min prototypes.
64398         (Resource Usage): Fix summary @comment on vtimes to refer to
64399         sys/vtimes.h rather than vtimes.h.
64400         Add missing *s in vtimes prototype.
64401         (Limits on Resources): Fix ulimit prototype to return long int.
64402         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64403         prototypes to use long int rather than double.
64404         (BSD Random): Fix initstate and setstate to use char *, not void *.
64405         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64406         prototype to make second argument 'struct aiocb64 *const[]'.
64407         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64408         (Status of AIO Operations): Remove erroneous const in aio_return and
64409         aio_return64 prototypes.
64410         (Synchronizing I/O): Fix sync prototype to return void.
64411         * manual/startup.texi (Suboptions): Remove an erroneous const in
64412         getsubopt prototype.
64413         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64414         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64415         use size_t rather than int.
64416         (Scanning All Users): Likewise for getpwent_r.
64417         (Setting Groups): Add missing const to setgroups prototype.
64418         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64419         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64420         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64421         'const void *' rather than 'const char *'.
64422         (Host Address Functions): Likewise for inet_ntop.
64423         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64424         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64425         ssize_t for return value.
64426         (Sending Data): Likewise for send, sendto, sendmsg.
64427         (Socket Option Functions): Add a missing const in setsockopt prototype.
64428         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64429         use wchar_t for the argument.
64430         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64431         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64432         take no arguments.
64433         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64434         double/float/long double for second argument.
64435         Fix return types of significand, significandf, significandl.
64436         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64437         argument in fchmod prototype.
64438         (File Owner): Use uid_t and gid_t in fchown prototype.
64439         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64440         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64441         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64442         use 'const struct dirent **' as argument types to CMP function pointer
64443         argument.
64444         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64445         (File Times): Fix summary magic @comment for struct utimbuf and utime
64446         to refer to utime.h, not time.h.
64447         * manual/string.texi (Argz Functions): Add missing const in
64448         argz_extract and argz_next prototypes.
64449         (Finding Tokens in a String): Likewise for basename.
64450         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64451         (Copying and Concatenation): Fix typo in wmemmove prototype.
64452         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64453         (Signal Stack): Remove erroneous const in sigstack prototype.
64454         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64455         prototype.
64456         (Simple Calendar Time): Likewise for stime.
64457         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64458         prototype.
64459         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64460         say sys/sysctl.h instead.
64461         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64462         and vsyslog prototypes.
64464 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64466         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64467         Remove.
64469 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64471         * misc/sys/mman.h: Fix typo in mremap comment.
64473 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64475         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64476         the '\0' terminator.
64478 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64480         [BZ #13550]
64481         * debug/segfault.c: Don't include <bp-checks.h>.
64482         * sysdeps/generic/bp-checks.h: Remove file.
64483         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64484         (__GETDENTS): Don't use CHECK_N.
64485         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64486         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64487         (__getgroups): Don't use CHECK_N.
64488         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64489         (setgroups): Don't use CHECK_N.
64490         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64491         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64492         (__libc_msgrcv): Don't use CHECK_N.
64493         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64494         (__libc_msgsnd): Don't use CHECK_N.
64495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64496         <bp-checks.h>.
64497         (__libc_pread): Don't use CHECK_N.
64498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64499         include <bp-checks.h>.
64500         (__libc_pread64): Don't use CHECK_N.
64501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64502         include <bp-checks.h>.
64503         (__libc_pwrite): Don't use CHECK_N.
64504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64505         include <bp-checks.h>.
64506         (__libc_pwrite64): Don't use CHECK_N.
64507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64508         <bp-checks.h>.
64509         (__libc_pread): Don't use CHECK_N.
64510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64511         include <bp-checks.h>.
64512         (__libc_pread64): Don't use CHECK_N.
64513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64514         include <bp-checks.h>.
64515         (__libc_pwrite): Don't use CHECK_N.
64516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64517         include <bp-checks.h>.
64518         (__libc_pwrite64): Don't use CHECK_N.
64519         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64520         (do_pread): Don't use CHECK_N.
64521         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64522         (do_pread64): Don't use CHECK_N.
64523         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64524         (do_pwrite): Don't use CHECK_N.
64525         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64526         (do_pwrite64): Don't use CHECK_N.
64527         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64528         (__libc_readv): Don't use CHECK_N.
64529         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64530         (semop): Don't use CHECK_N.
64531         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64532         <bp-checks.h>.
64533         (semtimedop): Don't use CHECK_N.
64534         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64535         (__libc_pread): Don't use CHECK_N.
64536         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64537         <bp-checks.h>.
64538         (__libc_pread64): Don't use CHECK_N.
64539         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64540         <bp-checks.h>.
64541         (__libc_pwrite): Don't use CHECK_N.
64542         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64543         <bp-checks.h>.
64544         (__libc_pwrite64): Don't use CHECK_N.
64545         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64546         <bp-checks.h>.
64547         (__libc_msgrcv): Don't use CHECK_N.
64548         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64549         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64550         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64551         (__libc_writev): Don't use CHECK_N.
64553 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64555         * string/strcpy.c: Removed unused variable.
64557         * Makeconfig (+sysdep-includes): Define with := rather than =.
64558         Use an existing include/ subdir of each sysdeps dir before it.
64560 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64562         * nscd/connection.c (register_traced_file): Comment function.
64563         [HAVE_INOTIFY] (union __inev): Define.
64564         [HAVE_INOTIFY] (inotify_check_files): New function.
64565         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64566         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64567         clear_db_cache.
64568         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64570 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64572         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64573         loaded if not already and that a failure is permanent.
64575 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64577         [BZ #15006]
64578         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64579         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64581 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64583         [BZ #13550]
64584         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64585         (CHECK_1_NULL_OK): Likewise.
64586         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64587         (__fxstat): Do not use CHECK_1.
64588         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64589         <bp-checks.h>.
64590         (___fxstat64): Do not use CHECK_1.
64591         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64592         <bp-checks.h>.
64593         (__fxstatat): Do not use CHECK_1.
64594         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64595         <bp-checks.h>.
64596         (__fxstatat64): Do not use CHECK_1.
64597         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64598         <bp-checks.h>.
64599         (__fxstat): Do not use CHECK_1.
64600         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64601         <bp-checks.h>.
64602         (__fxstatat): Do not use CHECK_1.
64603         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64604         <bp-checks.h>.
64605         (__getresgid): Do not use CHECK_1.
64606         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64607         <bp-checks.h>.
64608         (__getresuid): Do not use CHECK_1.
64609         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64610         <bp-checks.h>.
64611         (__lxstat): Do not use CHECK_1.
64612         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64613         <bp-checks.h>.
64614         (__old_msgctl): Do not use CHECK_1.
64615         (__new_msgctl): Likewise.
64616         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64617         <bp-checks.h>.
64618         (__new_setrlimit): Do not use CHECK_1.
64619         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64620         <bp-checks.h>.
64621         (__old_shmctl): Do not use CHECK_1.
64622         (__new_shmctl): Likewise.
64623         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64624         <bp-checks.h>.
64625         (__xstat): Do not use CHECK_1.
64626         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64627         (__lxstat): Do not use CHECK_1.
64628         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64629         <bp-checks.h>.
64630         (___lxstat64): Do not use CHECK_1.
64631         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64632         (__old_msgctl): Do not use CHECK_1.
64633         (__new_msgctl): Likewise.
64634         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64635         <bp-checks.h>.
64636         (__gettimeofday): Do not use CHECK_1.
64637         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64638         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64639         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64640         <bp-checks.h>.
64641         (__gettimeofday): Do not use CHECK_1.
64642         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64643         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64644         (__new_shmctl): Do not use CHECK_1.
64645         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64646         <bp-checks.h>.
64647         (do_sigtimedwait): Do not use CHECK_1.
64648         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64649         <bp-checks.h>.
64650         (do_sigwaitinfo): Do not use CHECK_1.
64651         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64652         <bp-checks.h>.
64653         (msgctl): Do not use CHECK_1.
64654         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64655         <bp-checks.h>.
64656         (shmctl): Do not use CHECK_1.
64657         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64658         (ustat): Do not use CHECK_1.
64659         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64660         <bp-checks.h>.
64661         (__fxstat): Do not use CHECK_1.
64662         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64663         <bp-checks.h>.
64664         (__fxstatat): Do not use CHECK_1.
64665         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64666         <bp-checks.h>.
64667         (__lxstat): Do not use CHECK_1.
64668         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64669         <bp-checks.h>.
64670         (__xstat): Do not use CHECK_1.
64671         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64672         (__xstat): Do not use CHECK_1.
64673         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64674         (___xstat64): Do not use CHECK_1.
64676         [BZ #13550]
64677         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64678         definitions.
64679         (CHECK_BOUNDS_HIGH): Likewise.
64680         * string/strcpy.c: Do not include <bp-checks.h>.
64681         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64683 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64685         * nscd/nscd-client.h (__nscd_drop_map_ref):
64686         Add __attribute__ ((unused)).
64687         * nis/nss-nisplus.h (niserr2nss): Likewise.
64689         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64690         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64692         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64693         Remove inline keyword.
64694         * include/rounding-mode.h (round_away): Likewise.
64695         * libio/wfileops.c (adjust_wide_data): Likewise.
64696         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64697         (__m128i_strloadu_tolower): Likewise.
64698         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64699         (__m128i_strloadu_tolower): Likewise.
64700         * time/mktime.c (ydhms_diff): Likewise.
64701         * locale/elem-hash.h (elem_hash): Likewise.
64702         * locale/setlocale.c (setdata): Likewise.
64703         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64704         (re_string_wchar_at): Likewise.
64705         (bitset_not, bitset_merge, bitset_mask): Likewise.
64706         [!(__GNUC__ > 3)] (inline): Remove macro.
64707         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64708         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64709         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64710         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64711         * string/memcmp.c (memcmp_bytes): Likewise.
64712         * locale/programs/locarchive.c (compute_hashval): Likewise.
64713         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64714         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64715         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64716         * nss/getent.c (print_rpc, print_protocols): Likewise.
64717         (print_passwd, print_group, print_aliases): Likewise.
64718         * nis/nss-nisplus.h (niserr2nss): Likewise.
64719         * nscd/connections.c (restart_p): Likewise.
64720         Change return type to bool.
64722 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64724         * Makeconfig (all-Depend-files): Add existing
64725         $(sorted-subdirs:=/Depend) files.
64726         (all-subdirs): Remove nss.
64727         * sysdeps/unix/inet/Subdirs: Add it here instead.
64728         * hesiod/Depend: New file.
64730         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64731         instead of calling alloca.
64733         * io/lseek.c (__lseek): Rename to __libc_lseek.
64734         Define __lseek as an alias.
64736         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64738 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64740         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64741         else clause and remove check for non-standard endianness.
64743 2013-02-04  David S. Miller  <davem@davemloft.net>
64745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64747 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64749         [BZ #13550]
64750         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64751         (__ubp_memchr): Remove prototype.
64752         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64753         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64754         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64755         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64756         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64757         Remove alias.
64758         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64759         (__ubp_memchr): Likewise.
64760         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64761         (__ubp_memchr): Likewise.
64762         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64763         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64764         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64765         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64766         CHECK_STRING.
64767         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64768         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64769         (__getcwd): Do not use CHECK_STRING.
64770         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64771         <bp-checks.h>.
64772         (__real_chown): Do not use CHECK_STRING.
64773         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64774         <bp-checks.h>.
64775         (fchownat): Do not use CHECK_STRING.
64776         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64777         CHECK_STRING.
64778         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64779         <bp-checks.h>.
64780         (__lchown): Do not use CHECK_STRING.
64781         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64782         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64783         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64784         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64786         include <bp-checks.h>.
64787         (truncate64): Do not use CHECK_STRING.
64788         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64789         <bp-checks.h>.
64790         (__real_chown): Do not use CHECK_STRING.
64791         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64792         <bp-checks.h>.
64793         (__lchown): Do not use CHECK_STRING.
64794         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64795         <bp-checks.h>.
64796         (__chown): Do not use CHECK_STRING.
64797         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64798         <bp-checks.h>.
64799         (truncate64): Do not use CHECK_STRING.
64800         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64801         Likewise.
64802         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64803         (__xmknod): Do not use CHECK_STRING.
64804         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64805         <bp-checks.h>.
64806         (__xmknodat): Do not use CHECK_STRING.
64807         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64808         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64810 2013-02-04  Andreas Schwab  <schwab@suse.de>
64812         [BZ #14142]
64813         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64814         * include/netdb.h: Likewise for h_errno.
64815         * elf/tst-stackguard1.c: Include <tls.h>.
64817 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64819         * elf/link.h (struct link_map): Extend the l_addr comment.
64820         * include/link.h (struct link_map): Likewise.
64822 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64824         [BZ #13550]
64825         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64826         (BOUNDED_1): Remove macro.
64827         * debug/backtrace.c: Don't include <bp-checks.h>.
64828         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64829         (__backtrace): Likewise.
64830         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64831         <bp-checks.h>.
64832         (__backtrace): Don't use BOUNDED_1.
64833         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64834         <bp-checks.h>.
64835         (__backtrace): Don't use BOUNDED_1.
64836         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64837         (__backtrace): Don't use BOUNDED_1.
64838         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64839         (shmat): Don't use BOUNDED_N.
64841 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64843         [BZ #13550]
64844         * sysdeps/generic/bp-start.h: Remove file.
64845         * csu/libc-start.c: Don't include <bp-start.h>.
64846         (LIBC_START_MAIN): Set up __environ directly instead of using
64847         INIT_ARGV_and_ENVIRON.
64848         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64849         <bp-start.h>.
64851         [BZ #13550]
64852         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64853         definitions.
64854         (CHECK_FCNTL): Likewise.
64855         (CHECK_N_PAGES): Likewise.
64857         [BZ #13550]
64858         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64859         definitions.
64860         (CHECK_SIGSET_NULL_OK): Likewise.
64861         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64862         <bp-checks.h>.
64863         (sigpending): Don't use CHECK_SIGSET.
64864         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64865         <bp-checks.h>.
64866         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64867         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64868         <bp-checks.h>.
64869         (do_sigsuspend): Don't use CHECK_SIGSET.
64870         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64871         use CHECK_SIGSET.
64872         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64873         (do_sigwait): Don't use CHECK_SIGSET.
64874         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64875         use CHECK_SIGSET.
64876         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64877         include <bp-checks.h>.
64878         (sigpending): Don't use CHECK_SIGSET.
64879         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64880         include <bp-checks.h>.
64881         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64882         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64883         <bp-checks.h>.
64884         (sigpending): Don't use CHECK_SIGSET.
64885         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64886         <bp-checks.h>.
64887         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64889         [BZ #13550]
64890         * sysdeps/generic/bp-semctl.h: Remove file.
64891         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64892         <bp-checks.h> and <bp-semctl.h>.
64893         (__old_semctl): Don't use CHECK_SEMCTL.
64894         (__new_semctl): Likewise.
64895         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64896         and <bp-semctl.h>.
64897         (__old_semctl): Don't use CHECK_SEMCTL.
64898         (__new_semctl): Likewise.
64899         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64900         <bp-checks.h> and <bp-semctl.h>.
64901         (__old_semctl): Don't use CHECK_SEMCTL.
64902         (__new_semctl): Likewise.
64903         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64904         <bp-checks.h> and <bp-semctl.h>.
64905         (semctl): Don't use CHECK_SEMCTL.
64907         [BZ #13550]
64908         * Makerules (elide-bp-thunks): Remove variable.
64909         (elide-routines.oS): Don't use $(elide-bp-thunks).
64910         (elide-routines.os): Likewise.
64911         (elide-routines.o): Likewise.
64912         (elide-routines.op): Likewise.
64913         (elide-routines.og): Likewise.
64914         (objects): Don't use $(bp-thunks).
64915         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64916         include.
64917         (common-generated): Do not add s-proto-bp.d.
64918         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64919         (int): Likewise.
64920         (typ): Likewise.
64921         Do not generate makefile rules for bounded-pointer thunks.
64922         * sysdeps/generic/bp-thunks.h: Remove file.
64923         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64924         * sysdeps/unix/s-proto-bp.S: Likewise.
64926         [BZ #15062]
64927         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64928         parts of result separately when argument is not close to line from
64929         -i to i and one part of argument is small.
64930         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64931         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64932         * math/libm-test.inc (cacos_test): Add more tests.
64933         (casin_test): Likewise.
64934         (casinh_test): Likewise.
64935         * sysdeps/i386/fpu/libm-test-ulps: Update.
64936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64938 2013-01-31  David S. Miller  <davem@davemloft.net>
64940         * po/de.po: Update from translation team.
64942 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64944         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64946 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64948         * configure.in (_AC_PROG_CC_C89): New definition.
64949         * configure: Regenerate.
64951         * configure.in (AC_PROG_CPP): New definition.
64952         * configure: Regenerate.
64954 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64956         * debug/tst-backtrace.h: New file.
64957         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64958         (ret): Remove variable.
64959         (x): Likewise.
64960         (FAIL): Remove macro.
64961         (NO_INLINE): Likewise.
64962         (fn1): Use match function instead of strstr.
64963         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64964         (ret): Remove variable.
64965         (x): Likewise.
64966         (FAIL): Remove macro.
64967         (NO_INLINE): Likewise.
64968         (fn): Use match function instead of strstr.
64969         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64970         (ret): Remove variable.
64971         (x): Likewise.
64972         (FAIL): Remove macro.
64973         (NO_INLINE): Likewise.
64974         (handle_signal): Use match function instead of strstr.
64975         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64976         (ret): Remove variable.
64977         (x): Likewise.
64978         (FAIL): Remove macro.
64979         (NO_INLINE): Likewise.
64980         (handle_signal): Use match function instead of strstr.
64982 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64984         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64986 2013-01-23  David S. Miller  <davem@davemloft.net>
64988         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64989         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64990         argument of CAS if possible.
64991         * sysdeps/sparc/sparc64/bits/atomic.h
64992         (__arch_compare_and_exchange_val_32_acq): Likewise.
64993         (__arch_compare_and_exchange_val_64_acq): Likewise.
64995 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64997         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64998         * sysdeps/posix/ulimit.c: ... this.
64999         Include <limits.h>.
65000         * sysdeps/unix/bsd/ulimit.c: Remove file.
65002 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65004         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65005         (LDFLAGS-tst-array5): Likewise.
65007 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65009         [BZ #15036]
65010         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65011         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65012         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65013         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65015 2013-01-21  David S. Miller  <davem@davemloft.net>
65017         * sysdeps/sparc/backtrace.c: New file.
65018         * sysdeps/sparc/sparc32/backtrace.h: New file.
65019         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65020         * sysdeps/sparc/sparc64/backtrace.h: New file.
65021         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65022         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65023         -funwind-tables.
65025 2013-01-21  Andreas Schwab  <schwab@suse.de>
65027         [BZ #15020]
65028         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65029         closed its stdout.
65031 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65034         "mpa2.h".
65035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65037 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65038             Mark Mitchell  <mark@codesourcery.com>
65039             Tom de Vries  <tom@codesourcery.com>
65040             Paul Pluzhnikov  <ppluzhnikov@google.com>
65042         * debug/tst-backtrace2.c: New file.
65043         * debug/tst-backtrace3.c: Likewise.
65044         * debug/tst-backtrace4.c: Likewise.
65045         * debug/tst-backtrace5.c: Likewise.
65046         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65047         (CFLAGS-tst-backtrace3.c): Likewise.
65048         (CFLAGS-tst-backtrace4.c): Likewise.
65049         (CFLAGS-tst-backtrace5.c): Likewise.
65050         (LDFLAGS-tst-backtrace2): Likewise.
65051         (LDFLAGS-tst-backtrace3): Likewise.
65052         (LDFLAGS-tst-backtrace4): Likewise.
65053         (LDFLAGS-tst-backtrace5): Likewise.
65054         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65055         tst-backtrace4 and tst-backtrace5.
65057 2013-01-18  Anton Blanchard  <anton@samba.org>
65058             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65060         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65061         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65062         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65063         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65065         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65066         "+r" and remove output regs list as redundant.  Add explicit inline
65067         asm to specify register of return val to work around compiler codegen
65068         bug.  Remove (int) cast on return value.  Add return type parameter to
65069         use in macro so that this macro does not truncate return value for
65070         64-bit values.
65071         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65072         pass to INTERNAL_VSYSCALL_NCS.
65073         (INLINE_VSYSCALL): Add 'long int' as return type to
65074         INTERNAL_VSYSCALL_NCS macro invocation.
65075         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65076         INTERNAL_VSYSCALL_NCS macro invocation.
65077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65079 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65081         [BZ #14496]
65082         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65083         Fix application of SIMD FP exception mask.
65085         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65086         mp_no from a power of two.
65087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65088         __mpexp_twomm1.  Use __pow_mp.
65090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65091         multiplication.
65093 2013-01-17  David S. Miller  <davem@davemloft.net>
65095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65097 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65099         [BZ #15023]
65100         * include/complex.h: Condition contents on [!_COMPLEX_H].
65101         (__kernel_casinhf): New prototype.
65102         (__kernel_casinh): Likewise.
65103         (__kernel_casinhl): Likewise.
65104         * math/Makefile (libm_calls): Add k_casinh.
65105         * math/k_casinh.c: New file.
65106         * math/k_casinhf.c: Likewise.
65107         * math/k_casinhl.c: Likewise.
65108         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65109         finite nonzero arguments.
65110         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65111         finite nonzero arguments.
65112         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65113         finite nonzero arguments.
65114         * math/s_casinh.c: Do not include <float.h>.
65115         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65116         * math/s_casinhf.c: Do not include <float.h>.
65117         (__casinhf): Move code for finite nonzero arguments to
65118         k_casinhf.c.
65119         * math/s_casinhl.c: Do not include <float.h>.
65120         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65121         redefine.
65122         (__casinhl): Move code for finite nonzero arguments to
65123         k_casinhl.c.
65124         * math/libm-test.inc (cacos_test): Add more tests.
65125         * sysdeps/i386/fpu/libm-test-ulps: Update.
65126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65128 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65130         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65131         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65132         [!HAVE_MREMAP]: Remove [defined linux] case.
65133         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65135 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65137         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65139 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65141         * elf/elf.h (R_386_SIZE32): New relocation.
65142         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65143         R_386_SIZE32.
65144         (elf_machine_rela): Likewise.
65145         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65146         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65148 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65150         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65151         (FP_FAST_FMA): Do not define.
65152         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65153         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65154         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65155         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65156         !_SOFT_FLOAT]: Likewise.
65157         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65158         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65159         value.
65160         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65161         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65162         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65163         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65164         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65165         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65166         file.
65168 2013-01-16  Andreas Schwab  <schwab@suse.de>
65170         [BZ #14327]
65171         * include/stdlib.h (__mktemp): Add declaration.
65172         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65173         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65175 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65177         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65178         definitions.
65179         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65180         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65181         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65182         definitions here.
65183         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65184         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65185         definitions.
65186         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65187         and ONE.
65188         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65189         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65190         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65191         definitions.
65192         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65193         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65194         definitions.
65195         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65197         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65199 2013-01-15  David S. Miller  <davem@davemloft.net>
65201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65202         trunc{,f} to libm-sysdep_routes.
65203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65205         file.
65206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65208         file.
65209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65210         file.
65211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65213         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65214         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65215         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65216         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65217         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65218         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65221         nearbyint{,f} to libm-sysdep_routes.
65222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65224         New file.
65225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65226         file.
65227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65228         New file.
65229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65230         file.
65231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65233         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65234         file.
65235         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65236         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65237         file.
65238         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65239         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65240         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65242         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65243         libc_feholdexcept and libc_fesetenv.
65245 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65247         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65249 2013-01-14  David S. Miller  <davem@davemloft.net>
65251         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65252         (SPARC_ASM_VIS2_IFUNC): Likewise.
65253         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65255         use of 'siam' instruction.
65256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65257         Likewise.
65258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65259         Likewise.
65260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65261         Likewise.
65262         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65267         file.
65268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65269         file.
65270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65271         file.
65272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65273         file.
65274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65279         new VIS2 routines.
65280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65283         Likewise.
65284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65289         routines to libm-sysdep_routines.
65290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65293         fdim/fdimf to libm-sysdep_routines.
65294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65295         file.
65296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65298         file.
65299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65302         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65303         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65304         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65305         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65307 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65309         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65310         to optimize copies.
65312         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65317         local variable MPTWO.
65318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65319         Likewise.
65321 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65323         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65324         GLOB_NOESCAPE.
65326 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65328         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65330 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65332         * manual/pattern.texi (glob_t): Document gl_flags.
65333         (glob64_t): Likewise.
65335 2013-01-11  David S. Miller  <davem@davemloft.net>
65337         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65338         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65339         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65340         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65341         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65342         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65343         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65344         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65345         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65346         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65347         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65348         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65349         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65351         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65352         sparc V9 rather than using V8 code.
65353         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65354         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65356         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65357         Move to...
65358         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65359         Here.
65361 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65363         [BZ #14941]
65364         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65365         not in the main loop.
65366         * configure: Regenerated.
65368 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65370         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65371         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65372         to just #else.
65373         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65374         [!__GLIBC_HAVE_LONG_LONG] case.
65375         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65376         condition to just #else.
65377         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65378         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65379         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65380         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65381         unconditional.
65382         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65383         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65384         #elif condition to just #else.
65385         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65386         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65387         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65388         #elif condition to just #else.
65390 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65392         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65393         (EF_MIPS_ARCH_64): Fix value.
65394         (EF_MIPS_ARCH_32R2): New.
65395         (EF_MIPS_ARCH_64R2): New.
65397 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65399         * Makeconfig (+link-pie-before-libc): New.
65400         (+link-pie-after-libc): Likewise.
65401         (+link-pie-tests): Likewise.
65402         (+link-pie): Rewritten.
65403         (link-before-libc): Remove $(config-LDFLAGS).
65404         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65405         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65406         (config-LDFLAGS): Renamed to ...
65407         (rtld-LDFLAGS): This.
65408         (rtld-tests-LDFLAGS): New macro.
65409         (link-libc-rpath-link): Likewise.
65410         (link-libc-tests-rpath-link): Likewise.
65411         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65412         (link-libc): Prepand $(link-libc-rpath-link).
65413         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65414         (test-program-prefix): New macro.
65415         (test-via-rtld-prefix): Likewise.
65416         (test-program-cmd): Likewise.
65417         (host-test-program-cmd): Likewise.
65418         * Makefile ($(common-objpfx)testrun.sh): Replace
65419         $(run-program-prefix) with $(test-program-prefix).
65420         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65421         $(rtld-LDFLAGS).
65422         ($(common-objpfx)shlib.lds): Likewise.
65423         (build-module-helper): Likewise.
65424         ($(common-objpfx)format.lds): Likewise.
65425         * Rules (binaries-pie-tests): New.
65426         (binaries-pie-notests): Likewise.
65427         (binaries-pie): Rewritten.
65428         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65429         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65430         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65431         (make-test-out): Replace $(host-built-program-cmd) with
65432         $(host-test-program-cmd).
65433         * config.make.in (build-hardcoded-path-in-tests): New variable.
65434         * configure.in (--enable-hardcoded-path-in-tests): New configure
65435         option.
65436         (hardcoded_path_in_tests): New AC_SUBST.
65437         * configure: Regenerated.
65438         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65439         $(built-program-cmd) with $(test-program-cmd).
65440         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65441         (test_program_cmd): This.
65442         * elf/Makefile ($(objpfx)order.out): Run test with
65443         $(test-program-prefix).
65444         ($(objpfx)order2.out): Likewise.
65445         ($(objpfx)tst-initorder.out): Likewise.
65446         ($(objpfx)tst-initorder2.out): Likewise.
65447         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65448         $(test-program-cmd).
65449         ($(objpfx)tst-array1-static.out): Likewise.
65450         ($(objpfx)tst-array2.out): Likewise.
65451         ($(objpfx)tst-array3.out): Likewise.
65452         ($(objpfx)tst-array4.out): Likewise.
65453         ($(objpfx)tst-array5.out): Likewise.
65454         ($(objpfx)tst-array5-static.out): Likewise.
65455         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65456         $(test-program-cmd).
65457         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65458         $(run-program-prefix) with $(test-program-prefix).
65459         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65460         (test_program_prefix): This.
65461         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65462         $(run-program-prefix) with $(test-program-prefix).
65463         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65464         (test_program_prefix): This.
65465         * iconvdata/tst-tables.sh: Likewise.
65466         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65467         $(run-program-prefix) with $(test-program-prefix).
65468         ($(objpfx)tst-translit.out): Likewise.
65469         ($(objpfx)tst-gettext2.out): Likewise.
65470         ($(objpfx)tst-gettext4.out): Likewise.
65471         ($(objpfx)tst-gettext6.out): Likewise.
65472         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65473         (test_program_prefix): This.
65474         * intl/tst-gettext2.sh: Likewise.
65475         * intl/tst-gettext4.sh  Likewise.
65476         * intl/tst-gettext6.sh: Likewise.
65477         * intl/tst-translit.sh: Likewise.
65478         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65479         with $(test-program-cmd).
65480         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65481         $(run-program-prefix) with $(test-program-prefix).
65482         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65483         (test_program_prefix): This.
65484         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65485         $(run-program-prefix) with $(test-program-prefix).
65486         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65487         (test_program_prefix): This.
65488         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65489         * posix/Makefile ($(objpfx)globtest.out): Replace
65490         $(run-via-rtld-prefix) and $(test-wrapper) with
65491         $(test-program-prefix) and $(test-via-rtld-prefix).
65492         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65493         $(test-program-prefix).
65494         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65495         $(host-test-program-cmd).
65496         (tst-spawn-ARGS): Likewise.
65497         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65498         $(test-program-prefix).
65499         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65500         (test_via_rtld_prefix): This.
65501         (test_wrapper): Renamed to ...
65502         (test_program_prefix): This.
65503         (run_program_prefix): Replaced by test_program_prefix.
65504         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65505         (test_program_prefix): This.
65506         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65507         with $(host-test-program-cmd).
65508         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65509         $(run-program-prefix) with $(test-program-prefix).
65510         ($(objpfx)tst-printf.out): Likewise.
65511         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65512         $(test-program-cmd).
65513         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65514         (test_program_prefix): This.
65515         * stdio-common/tst-unbputc.sh: Likewise.
65516         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65517         $(run-program-prefix) with $(test-program-prefix).
65518         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65519         (test_program_prefix): This.
65520         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65521         $(built-program-cmd) with $(test-program-cmd).
65523 2013-01-11  Andreas Jaeger  <aj@suse.de>
65525         [BZ #15003]
65526         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65527         value. Sync with Linux 3.7.
65529 2013-01-10  David S. Miller  <davem@davemloft.net>
65531         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65532         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65533         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65535 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65537         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65538         never set.
65539         * configure: Regenerated.
65541 2013-01-10  David S. Miller  <davem@davemloft.net>
65543         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65544         sparc V9 rather than using V8 code.
65545         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65546         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65548 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65550         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65551         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65552         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65553         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65554         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65555         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65556         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65557         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65558         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65559         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65560         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65561         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65562         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65563         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65564         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65565         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65566         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65567         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65568         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65569         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65570         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65571         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65572         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65573         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65574         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65575         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65576         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65578 2013-01-10  David S. Miller  <davem@davemloft.net>
65580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65582 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65584         * posix/Makefile (tests-static): New variable.
65585         (tests): Add $(tests-static).
65586         (tst-exec-static-ARGS): New variable.
65587         (tst-spawn-static-ARGS): Likewise.
65588         * posix/tst-exec-static.c: New file.
65589         * posix/tst-spawn-static.c: Likewise.
65590         * posix/tst-exec.c: Support run directly.
65591         * posix/tst-spawn.c: Likewise.
65593 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65595         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65596         long.
65597         * math/bits/mathcalls.h (llrint): Likewise.
65598         (llround): Likewise.
65599         * stdlib/stdlib.h (struct drand48_data): Likewise.
65600         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65601         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65602         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65603         Likewise.
65604         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65605         Likewise.
65606         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65607         (elf_greg_t): Likewise.
65608         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65609         (__jmp_buf): Likewise.
65610         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65611         definitions.
65612         (llrint): Likewise, for all definitions.
65613         (llrintl): Likewise.
65615         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65616         Remove [__GNUC__] condition.
65617         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65618         condition to just [__USE_ISOC99].
65619         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65621 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65623         [BZ #14200]
65624         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65625         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65626         defined.
65627         (_POSIX_V6_ILP32_OFF32): Likewise.
65628         (_XBS5_ILP32_OFF32): Likewise.
65629         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65630         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65632 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65634         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65637         doubles __mpexp_twomm1.  Adjust usage.
65638         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65639         Remove.
65641 2013-01-10  Andreas Schwab  <schwab@suse.de>
65643         [BZ #14964]
65644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65645         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65647 2013-01-09  David S. Miller  <davem@davemloft.net>
65649         [BZ #15003]
65650         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65651         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65652         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65653         (TCP_FASTOPEN): Define.
65654         (tcp_repair_opt): New structure.
65655         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65656         enum values.
65657         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65658         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65659         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65660         (tcp_cookie_transactions): New structure.
65662 2013-01-09  Anton Blanchard  <anton@samba.org>
65664         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65665         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65666         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65667         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65669 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65671         * include/features.h (__USE_ANSI): Remove.
65673 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65675         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65677         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65679 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65681         * sysdeps/s390/fpu/libm-test-ulps: Update.
65683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65685         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65686         (__acr): Likewise.
65687         (__cpy): Likewise.
65688         (norm): Likewise.
65689         (denorm): Likewise.
65690         (__mp_dbl): Likewise.
65691         (__dbl_mp): Likewise.
65692         (add_magnitudes): Likewise.
65693         (sub_magnitudes): Likewise.
65694         (__add): Likewise.
65695         (__sub): Likewise.
65696         (__mul): Likewise.
65697         (__inv): Likewise.
65698         (__dvd): Likewise.
65699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65700         (__acr): Likewise.
65701         (__cpy): Likewise.
65702         (norm): Likewise.
65703         (denorm): Likewise.
65704         (__mp_dbl): Likewise.
65705         (__dbl_mp): Likewise.
65706         (add_magnitudes): Likewise.
65707         (sub_magnitudes): Likewise.
65708         (__add): Likewise.
65709         (__sub): Likewise.
65710         (__mul): Likewise.
65711         (__inv): Likewise.
65712         (__dvd): Likewise.
65713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65714         (__acr): Likewise.
65715         (__cpy): Likewise.
65716         (norm): Likewise.
65717         (denorm): Likewise.
65718         (__mp_dbl): Likewise.
65719         (__dbl_mp): Likewise.
65720         (add_magnitudes): Likewise.
65721         (sub_magnitudes): Likewise.
65722         (__add): Likewise.
65723         (__sub): Likewise.
65724         (__mul): Likewise.
65725         (__inv): Likewise.
65726         (__dvd): Likewise.
65728 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65730         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65731         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65732         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65733         2 && __USE_EXTERN_INLINES]: Likewise.
65735 2013-01-08  Andreas Jaeger  <aj@suse.de>
65737         [BZ #14985]
65738         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65739         Remove.
65740         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65741         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65743 2013-01-07  Anton Blanchard  <anton@samba.org>
65745         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65746         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65747         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65748         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65749         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65750         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65751         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65752         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65754         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65756         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65757         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65759         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65760         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65761         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65763         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65765         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65766         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65768         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65769         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65770         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65771         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65772         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65773         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65774         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65775         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65777         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65779         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65780         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65782         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65783         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65785         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65786         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65789 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65791         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65792         (__MALLOC_PMT): Likewise.
65793         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65794         [__GNUC__], only on [_LIBC].
65795         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65796         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65797         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65798         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65799         forward declaration.
65800         (realloc_hook_ini): Likewise.
65801         (memalign_hook_ini): Likewise.
65802         (__libc_memalign): Do not use __MALLOC_PMT in variable
65803         declaration.
65804         (__libc_valloc): Likewise.
65805         (__libc_pvalloc): Likewise.
65806         (__libc_calloc): Likewise.
65807         (__posix_memalign): Likewise.
65809         [BZ #14996]
65810         * math/s_casinh.c: Include <float.h>.
65811         (__casinh): Do not do computation with squaring and square root
65812         for large arguments.
65813         * math/s_casinhf.c: Include <float.h>.
65814         (__casinhf): Do not do computation with squaring and square root
65815         for large arguments.
65816         * math/s_casinhl.c: Include <float.h>.
65817         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65818         (__casinhl): Do not do computation with squaring and square root
65819         for large arguments.
65820         * math/libm-test.inc (casin_test): Add more tests.
65821         (casinh_test): Likewise.
65822         * sysdeps/i386/fpu/libm-test-ulps: Update.
65823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65825 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65827         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65828         (__x86_64_raw_data_cache_size): Likewise.
65829         (__x86_64_data_cache_size_half): Likewise.
65830         (__x86_64_raw_data_cache_size_half): Likewise.
65831         (__x86_64_shared_cache_size): Likewise.
65832         (__x86_64_raw_shared_cache_size): Likewise.
65833         (__x86_64_shared_cache_size_half): Likewise.
65834         (__x86_64_raw_shared_cache_size_half): Likewise.
65835         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65836         to ...
65837         (__x86_data_cache_size): This.
65838         (__x86_64_raw_data_cache_size): Renamed to ...
65839         (__x86_raw_data_cache_size): This.
65840         (__x86_64_data_cache_size_half): Renamed to ...
65841         (__x86_data_cache_size_half): This.
65842         (__x86_64_raw_data_cache_size_half): Renamed to ...
65843         (__x86_raw_data_cache_size_half): This.
65844         (__x86_64_shared_cache_size): Renamed to ...
65845         (__x86_shared_cache_size): This.
65846         (__x86_64_raw_shared_cache_size): Renamed to ...
65847         (__x86_raw_shared_cache_size): This.
65848         (__x86_64_shared_cache_size_half): Renamed to ...
65849         (__x86_shared_cache_size_half): This.
65850         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65851         (__x86_raw_shared_cache_size_half): This.
65852         * sysdeps/x86_64/memcpy.S: Updated.
65853         * sysdeps/x86_64/memset.S: Likewise.
65854         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65858 2013-01-04  David S. Miller  <davem@davemloft.net>
65860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65862 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65864         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65865         1 to avoid redefinition warning.
65866         (__USE_GNU): Don't define.
65867         (init_signaling_nan): Protoize.
65869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65871 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65873         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65875         (__cpymn): Likewise.
65876         (norm): Remove commented code.
65877         (denorm): Likewise.
65878         (__mp_dbl): Likewise.
65879         (__inv): Likewise.
65880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65881         (__cpymn): Likewise.
65882         (norm): Remove commented code.
65883         (denorm): Likewise.
65884         (__mp_dbl): Likewise.
65885         (__inv): Likewise.
65887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65888         mp_no value for 1.0 and 2.0.
65889         (norm): Use RADIXI instead of radixi.d.
65890         (denorm): Likewise.
65891         (__mul): Use 0.0 instead of zero.d.
65892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65893         mp_no value for 1.0 and 2.0.
65894         (norm): Use RADIXI instead of radixi.d.
65895         (denorm): Likewise.
65896         (__mul): Use 0.0 instead of zero.d.
65898 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65900         [BZ #14994]
65901         * math/s_casinh.c (__casinh): Reduce finite argument to first
65902         quadrant then set signs of results at the end.
65903         * math/s_casinhf.c (__casinhf): Likewise.
65904         * math/s_casinhl.c (__casinhl): Likewise.
65905         * math/libm-test.inc (casin_test): Add more tests.
65906         (casinh_test): Likewise.
65907         * sysdeps/i386/fpu/libm-test-ulps: Update.
65908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65910 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65912         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65914         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65916         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65917         declarations.
65918         (denorm): Likewise.
65919         (__mp_dbl): Likewise.
65920         (__inv): Likewise.
65922         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65923         and adjust the header comment.
65925         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65926         variable name from declaration.
65928 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65931         Initialize COMMON_CPUID_INDEX_7 element.
65932         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65933         (CPUID_RTM): Likewise.
65934         (HAS_RTM): Likewise.
65935         (COMMON_CPUID_INDEX_7): New enum.
65937 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65939         [BZ #14981]
65940         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65941         size is zero, record memory as freed.
65943 2013-01-03  Andreas Jaeger  <aj@suse.de>
65945         * po/ia.po: Add new Interlingua translation.
65947 2012-01-03  Allan McRae  <allan@archlinux.org>
65949         * locale/programs/localedef.c: Fix description of '--posix' flag.
65951 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65953         * NEWS: Update dates in second copyright notice.
65954         * README: Update copyright dates in example.
65955         * manual/libc.texinfo: Update copyright dates.
65956         * scripts/test-installation.pl: Update copyright date in --version
65957         output.
65959         * hurd/ctty-input.c: Fix copyright notice formatting.
65960         * hurd/ctty-output.c: Likewise.
65961         * hurd/dtable.c: Likewise.
65962         * hurd/hurd-raise.c: Likewise.
65963         * hurd/hurdprio.c: Likewise.
65964         * hurd/msgportdemux.c: Likewise.
65965         * misc/sys/file.h: Likewise.
65966         * misc/sys/ioctl.h: Likewise.
65967         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65968         * sysdeps/mach/hurd/chdir.c: Likewise.
65969         * sysdeps/mach/hurd/fchdir.c: Likewise.
65970         * sysdeps/mach/hurd/rename.c: Likewise.
65971         * sysdeps/mach/hurd/rmdir.c: Likewise.
65972         * sysdeps/mach/hurd/seekdir.c: Likewise.
65973         * sysdeps/mach/hurd/setsid.c: Likewise.
65974         * sysdeps/posix/wait3.c: Likewise.
65976         * All files with FSF copyright notices: Update copyright dates
65977         using scripts/update-copyrights.
65978         * intl/plural.c: Regenerated.
65979         * locale/programs/charmap-kw.h: Likewise.
65980         * locale/programs/locfile-kw.h: Likewise.
65982 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65984         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65985         four values.
65987         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65988         calculation loop and add branch prediction.
65990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65991         check access beyond bounds of m1np.
65993         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65994         MPTWO.
65995         (__inv): Remove local variable MPTWO to use the global
65996         constant.
65997         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65999         variable MPTWO.
66000         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66001         MP3HALFS static const.
66003 2013-01-01  David S. Miller  <davem@davemloft.net>
66005         * po/ca.po: Update from translation team.
66007 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66009         * scripts/update-copyrights: New file.
66010         * Makeconfig: Reformat copyright notice.
66011         * ctype/ctype.h: Likewise.
66012         * debug/swprintf_chk.c: Likewise.
66013         * elf/dl-cache.c: Likewise.
66014         * elf/dl-debug.c: Likewise.
66015         * elf/dl-object.c: Likewise.
66016         * grp/initgroups.c: Likewise.
66017         * hurd/Makefile: Likewise.
66018         * hurd/hurd/signal.h: Likewise.
66019         * hurd/hurdfault.c: Likewise.
66020         * hurd/hurdioctl.c: Likewise.
66021         * hurd/hurdlookup.c: Likewise.
66022         * hurd/intr-msg.c: Likewise.
66023         * iconv/gconv_open.c: Likewise.
66024         * libio/swprintf.c: Likewise.
66025         * locale/lc-ctype.c: Likewise.
66026         * locale/nl_langinfo.c: Likewise.
66027         * mach/Machrules: Likewise.
66028         * mach/Makefile: Likewise.
66029         * malloc/obstack.h: Likewise.
66030         * manual/Makefile: Likewise.
66031         * manual/tsort.awk: Likewise.
66032         * misc/bits/stab.def: Likewise.
66033         * nis/nis_print_group_entry.c: Likewise.
66034         * nis/nis_table.c: Likewise.
66035         * nis/nss_compat/compat-pwd.c: Likewise.
66036         * nis/nss_compat/compat-spwd.c: Likewise.
66037         * po/Makefile: Likewise.
66038         * posix/fnmatch.c: Likewise.
66039         * posix/regex.h: Likewise.
66040         * resolv/Makefile: Likewise.
66041         * resolv/nss_dns/dns-network.c: Likewise.
66042         * resolv/res_hconf.c: Likewise.
66043         * scripts/gen-sorted.awk: Likewise.
66044         * soft-fp/soft-fp.h: Likewise.
66045         * stdio-common/printf.h: Likewise.
66046         * stdlib/monetary.h: Likewise.
66047         * stdlib/random.c: Likewise.
66048         * stdlib/random_r.c: Likewise.
66049         * sysdeps/generic/Makefile: Likewise.
66050         * sysdeps/gnu/Makefile: Likewise.
66051         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66053         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66055         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66059         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66061         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66062         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66063         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66064         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66065         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66066         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66067         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66068         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66069         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66070         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66071         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66072         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66073         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66074         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66075         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66077         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66079         * sysdeps/mach/hurd/errnos.awk: Likewise.
66080         * sysdeps/mach/hurd/fork.c: Likewise.
66081         * sysdeps/mach/hurd/getcwd.c: Likewise.
66082         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66083         * sysdeps/mach/hurd/mmap.c: Likewise.
66084         * sysdeps/mach/hurd/utimes.c: Likewise.
66085         * sysdeps/mach/hurd/xmknod.c: Likewise.
66086         * sysdeps/posix/profil.c: Likewise.
66087         * sysdeps/posix/readdir_r.c: Likewise.
66088         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66089         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66090         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66091         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66093         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66094         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66095         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66097         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66098         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66099         * sysdeps/pthread/lio_listio.c: Likewise.
66100         * sysdeps/sparc/dl-procinfo.h: Likewise.
66101         * sysdeps/unix/i386/sysdep.S: Likewise.
66102         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66103         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66104         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66105         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66107         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66108         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66109         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66110         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66111         * sysdeps/wordsize-32/divdi3.c: Likewise.
66112         * time/sys/time.h: Likewise.
66113         * wcsmbs/Makefile: Likewise.
66115 2013-01-01  David S. Miller  <davem@davemloft.net>
66117         * po/fr.po: Update from translation team.
66119         * catgets/gencat.c: Update copyright year.
66120         * csu/version.c: Likewise.
66121         * debug/catchsegv.sh: Likewise.
66122         * debug/pcprofiledump.c: Likewise.
66123         * debug/xtrace.sh: Likewise.
66124         * elf/ldconfig.c: Likewise.
66125         * elf/ldd.bash.in: Likewise.
66126         * elf/pldd.c: Likewise.
66127         * elf/sotruss.ksh: Likewise.
66128         * elf/sprof.c: Likewise.
66129         * iconv/iconv_prog.c: Likewise.
66130         * iconv/iconvconfig.c: Likewise.
66131         * locale/programs/locale.c: Likewise.
66132         * locale/programs/localedef.c: Likewise.
66133         * login/programs/pt_chown.c: Likewise.
66134         * malloc/memusage.sh: Likewise.
66135         * malloc/memusagestat.c: Likewise.
66136         * malloc/mtrace.pl: Likewise.
66137         * nscd/nscd.c: Likewise.
66138         * nss/getent.c: Likewise.
66139         * nss/makedb.c: Likewise.
66140         * posix/getconf.c: Likewise.
66142 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66144         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66145         numbers.
66147 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66149         * math/bits/mathcalls.h (modf): Use __nonnull.
66151 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66153         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66154         (split): Use macro CN instead of the bare value.
66155         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66156         could be used.
66157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66158         instead of the bare value.
66159         (power1): Likewise.
66161 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66163         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66164         __ATAN_TWOM.
66165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66167         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66168         their values.
66169         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66170         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66171         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66172         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66174 2012-12-28  Andreas Jaeger  <aj@suse.de>
66176         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66177         values are from Linux 3.7.
66179         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66180         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66182 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66184         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66185         TRUE case.
66187         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66188         (norm): Likewise.
66189         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66190         variables with preprocessor constants.
66191         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66192         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66193         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66195 2012-12-27  Bruno Haible  <bruno@clisp.org>
66197         [BZ #14317]
66198         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66199         only if needed.
66201 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66204         and use variable directly.
66205         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66207         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66208         MPONE.
66209         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66210         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66211         variable MPONE.
66212         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66214         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66215         include directive.  Remove local variable MPONE.
66216         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66217         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66218         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66220 2012-12-25  David S. Miller  <davem@davemloft.net>
66222         * version.h (RELEASE): Set to "development".
66223         (VERSION): Set to "2.17.90".
66224         * NEWS: Add 2.18 section.
66226 2012-12-21  David S. Miller  <davem@davemloft.net>
66228         * po/hr.po: Update from translation team.
66230 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66232         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66234 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66236         * NEWS:  Mention new memcpy for MIPS.
66238 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66240         * manual/contrib.texi (Contributors): Spelling correction.
66242 2012-12-15  David S. Miller  <davem@davemloft.net>
66244         * po/ru.po: Update from translation team.
66246 2012-12-13  David S. Miller  <davem@davemloft.net>
66248         * NEWS: Mention IFUNC testsuite enhancements.
66250         * po/pl.po: Update from translation team.
66251         * po/bg.po: Likewise.
66253         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66254         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66256 2012-12-11  David S. Miller  <davem@davemloft.net>
66258         * po/sv.po: Update from translation team.
66260         * po/vi.po: Update from translation team.
66262         * po/cs.po: Update from translation team.
66264         * po/de.po: Update from translation team.
66265         * po/eo.po: Likewise.
66266         * po/nl.po: Likewise.
66268 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66270         [BZ #14246]
66271         * manual/argp.texi (Argp Helper Functions): Move node to follow
66272         Argp Parsing State.
66274         [BZ #14872]
66275         * manual/conf.texi (Limits on File System Capacity): Mention if
66276         terminating null is included in the max size.
66278 2012-12-10  Andreas Jaeger  <aj@suse.de>
66280         * po/cs.po: Update from translation team.
66282 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66284         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66285         void pointer and cast to uintptr_t.
66286         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66287         path.
66288         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66289         * sysdeps/s390/s390-64/memset.S: Likewise.
66291 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66293         [BZ #14833]
66294         * menual/message.texi (Message Translation): Fix typos.
66295         (Helper programs for gettext): Likewise.
66297 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66299         [BZ #14898]
66300         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66301         Change to -1.
66303 2012-12-07  David S. Miller  <davem@davemloft.net>
66305         * po/libc.pot: Update.
66307 2012-12-07  Richard Henderson  <rth@redhat.com>
66309         [BZ #10114]
66310         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66311         normal/normal case to before the switch.
66312         (_FP_DIV): Likewise.
66314 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66315             Mike Frysinger  <vapier@gentoo.org>
66317         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66318         check for __NR_fadvise64_64.
66320 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66322         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66323         0, not just to plain "0" as a statement.
66324         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66325         with cw.
66327 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66329         * NEWS: Use sourceware.org in Bugzilla URL.
66331 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66334         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66336         * stdio-common/tst-put-error.c (do_test): Add newline to the
66337         padded test to ensure flush.
66339 2012-12-05  Jeff Law  <law@redhat.com>
66341         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66343 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66345         * README: Don't refer to ports add-on as distributed separately.
66346         Mention AArch64 in list of systems supported in the ports add-on.
66348         * LICENSES: Add more non-FSF copyright and license notices.
66350         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66351         ((unused)).
66353         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66355         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66356         10000 as width of padded output.
66358 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66360         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66362         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66363         variable LX with __attribute__ ((unused)).
66364         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66365         Likewise.
66366         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66368         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66369         with __attribute__ ((unused)).
66371 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66373         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66375 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66377         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66378         (CFLAGS-nldbl-acos.c): New variable.
66379         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66380         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66381         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66382         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66383         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66384         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66385         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66386         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66387         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66388         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66389         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66390         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66391         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66392         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66393         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66394         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66395         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66396         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66397         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66398         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66399         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66400         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66401         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66402         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66403         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66404         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66405         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66406         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66407         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66408         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66409         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66410         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66411         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66412         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66413         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66414         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66415         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66416         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66417         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66418         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66419         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66420         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66421         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66422         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66423         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66424         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66425         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66426         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66427         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66428         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66429         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66430         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66431         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66432         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66433         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66434         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66435         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66436         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66437         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66438         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66439         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66440         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66441         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66442         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66443         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66444         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66445         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66446         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66447         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66448         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66449         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66450         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66451         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66452         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66453         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66454         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66455         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66456         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66457         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66458         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66459         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66460         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66461         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66462         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66463         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66464         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66465         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66466         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66467         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66468         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66469         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66470         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66471         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66472         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66473         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66474         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66475         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66478         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66480         [BZ #14914]
66481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66482         whole low double instead of just low 47 bits when splitting values
66483         into two parts.
66485 2012-12-03  Allan McRae  <allan@archlinux.org>
66487         * manual/stdio.texi (Predefined Printf Handlers): Remove
66488         @hsep and @vsep usage.
66490 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66492         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66493         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66495 2012-12-03  Jeff Law  <law@redhat.com>
66497         * time/sys/time.h (settimeofday): Do not mark TV argument
66498         as __nonnull.
66500 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66502         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66503         when currently writing and seek to current position when not.
66504         * libio/Makefile (tests): Remove bug-fclose1.
66505         * libio/bug-fclose1.c: Delete.
66507 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66509         * manual/arith.texi (feenableexcept): Fix typo.
66510         (fedisableexcept): Likewise.
66512 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66514         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66515         second, differently-typed declaration, rather than a cast.
66517 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66519         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66520         * include/rpc/svc.h: ... here.
66522 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66524         [BZ #13013]
66525         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66526         depending n and resplen2 to catch cases where answer
66527         equals answerp2.
66529 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66531         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66532         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66534 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66536         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66538 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66540         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66542 2012-11-28  Jeff Law  <law@redhat.com>
66544         [BZ #13761]
66545         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66546         dataset_temporary.  Track alloca usage into alloca_used.
66547         If dataset is large allocate and release it via malloc/free.
66549 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66551         [BZ #14197]
66552         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66554 2012-11-28  David S. Miller  <davem@davemloft.net>
66556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66558 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66560         [BZ #14803]
66561         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66562         of pi/2 rounded to nearest to 64 bits.
66563         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66564         nearest to 64 bits.
66565         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66566         bits.
66568 2012-11-28  Jeff Law <law@redhat.com>
66569             Martin Osvald <mosvald@redhat.com>
66571         [BZ #14889]
66572         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66573         * sunrpc/svc.c: Include time.h.
66574         (__svc_accept_failed): New function.
66575         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66576         any reason other than EINTR, call __svc_accept_failed.
66577         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66578         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66580 2012-11-28  Andreas Schwab  <schwab@suse.de>
66582         * scripts/abilist.awk: Also handle indirect functions in .opd
66583         section.
66585 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66587         [BZ #13881]
66588         * sysdeps/x86/fpu/powl_helper.c: New file.
66589         * sysdeps/x86/fpu/Makefile: Likewise.
66590         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66591         (p3): New object.
66592         (__ieee754_powl): Use __powl_helper for finite arguments except
66593         integer exponents below 8.
66594         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66595         (p3): New object.
66596         (__ieee754_powl): Use __powl_helper for finite arguments except
66597         integer exponents below 8.
66598         * math/libm-test.inc (pow_test): Add more tests and enable some
66599         previously disabled tests.
66600         * sysdeps/i386/fpu/libm-test-ulps: Update.
66601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66603 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66604             Carlos O'Donell  <carlos_odonell@mentor.com>
66606         * nss/makedb.c (is_prime): Assert that input is odd and greater
66607         than 4.  Note that fact in a comment too.
66608         (next_prime): Add 4 to input.
66610 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66612         [BZ #11741]
66613         * libio/Makefile (tests): Add test case tst-fwrite-error.
66614         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66615         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66616         * libio/tst-fwrite-error.c: New test case.
66618 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66620         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66621         before casting to void *.
66622         * include/libc-internal.h (__pointer_type): New macro.
66623         (__integer_if_pointer_type_sub): Likewise.
66624         (__integer_if_pointer_type): Likewise.
66625         (cast_to_integer): Likewise.
66626         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66627         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66628         before casting to atomic64_t.
66629         (atomic_exchange_acq): Likewise.
66630         (__arch_exchange_and_add_body): Likewise.
66631         (__arch_add_body): Likewise.
66632         (atomic_add_negative): Likewise.
66633         (atomic_add_zero): Likewise.
66635 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66637         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66638         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66639         (add_fdes): Likewise.
66640         (linear_search_fdes): Likewise.
66641         (binary_search_unencoded_fdes): Likewise.
66643 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66645         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66647 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66649         * configure.in: Autodetect C++ header directories.
66650         * configure: Regenerated.
66652 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66654         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66656 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66660 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66662         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66663         LDBL_MANT_DIG == 106]: Disable some tests.
66664         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66665         Likewise.
66666         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66667         Likewise.
66669         [BZ #14871]
66670         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66671         input for small inputs.  Return +/- pi/2 for large inputs.
66672         * math/libm-test.inc (atan_test): Add more tests.
66674         * sysdeps/generic/unwind-dw2-fde-glibc.c
66675         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66676         __attribute__ ((unused)).
66678         [BZ #14645]
66679         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66680         x * y if x and y are nonzero and z is zero.
66682         [BZ #14811]
66683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66684         nonzero exponents with absolute value below 0x1p-117 to +/-
66685         0x1p-117.
66687         [BZ #14869]
66688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66689         up arguments below 2**-450, not just those below 2**-500.
66690         * math/libm-test.inc (hypot_test): Add another test.
66692         [BZ #14868]
66693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66694         Return a+b for ratio over 2**120, not 2**60.
66695         * math/libm-test.inc (hypot_test): Add another test.
66697         * math/libm-test.inc (clog_test): Use
66698         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66699         (clog10_test): Likewise.
66701         [BZ #6778]
66702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66704 2012-11-22  Andreas Schwab  <schwab@suse.de>
66706         * sysdeps/i386/fpu/libm-test-ulps: Update.
66708 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66710         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66711         printf output with newline.
66713 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66715         [BZ #14865]
66716         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66717         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66718         -z nodlopen, -z initfirst and -z execstack support.
66719         * configure: Regenerated.
66721         * elf/elf.h (DF_1_NODIRECT): New macro.
66722         (DF_1_IGNMULDEF): Likewise.
66723         (DF_1_NOKSYMS): Likewise.
66724         (DF_1_NOHDR): Likewise.
66725         (DF_1_EDITED): Likewise.
66726         (DF_1_NORELOC): Likewise.
66727         (DF_1_SYMINTPOSE): Likewise.
66728         (DF_1_GLOBAUDIT): Likewise.
66729         (DF_1_SINGLETON): Likewise.
66730         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66731         DT_1_SUPPORTED_MASK bits.
66732         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66734 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66736         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66738 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66740         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66741         macro.
66743         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66744         (sendmmsg): Move declarations...
66745         * socket/sys/socket.h: ... here.
66746         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66747         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66748         include it from...
66749         * socket/recvmmsg.c: ... this new file.
66750         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66751         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66752         definition of __sendmmsg hidden.
66753         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66754         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66755         Move ENOSYS stub into and include it from...
66756         * socket/sendmmsg.c: ... this new file.
66757         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66758         (sysdep_routines): Move recvmmsg and sendmmsg...
66759         * socket/Makefile (routines): ... here.
66760         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66761         (GLIBC_PRIVATE): Add __sendmmsg.
66762         * include/sys/socket.h (__sendmmsg): Add declarations.
66763         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66764         sendmmsg.
66766 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66768         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66769         variable I1 with __attribute__ ((unused)).
66770         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66772 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66774         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66775         DUMMY variables with __attribute__ ((unused)).
66777         * bits/byteswap.h: Include <bits/types.h>.
66778         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66780 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66782         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66783         string_t.  Do not manually set errno.
66784         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66785         length with __strnlen.  Make sure to both set errno and return it on
66786         failure.
66788 2012-11-19  David S. Miller  <davem@davemloft.net>
66790         With help from Joseph Myers.
66791         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66792         very large arguments properly.
66793         * math/libm-test.inc (atan_test): New tests.
66794         (atan2_test): New tests.
66795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66798 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66800         [BZ #14856]
66801         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66802         Define to 3.
66804         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66805         [POSIX] (EADDRNOTAVAIL): Likewise.
66806         [POSIX] (EAFNOSUPPORT): Likewise.
66807         [POSIX] (EALREADY): Likewise.
66808         [POSIX] (ECONNABORTED): Likewise.
66809         [POSIX] (ECONNREFUSED): Likewise.
66810         [POSIX] (ECONNRESET): Likewise.
66811         [POSIX] (EDESTADDRREQ): Likewise.
66812         [POSIX] (EDQUOT): Likewise.
66813         [POSIX] (EHOSTUNREACH): Likewise.
66814         [POSIX] (EIDRM): Likewise.
66815         [POSIX] (EISCONN): Likewise.
66816         [POSIX] (ELOOP): Likewise.
66817         [POSIX] (EMULTIHOP): Likewise.
66818         [POSIX] (ENETDOWN): Likewise.
66819         [POSIX] (ENETUNREACH): Likewise.
66820         [POSIX] (ENOBUFS): Likewise.
66821         [POSIX] (ENODATA): Likewise.
66822         [POSIX] (ENOLINK): Likewise.
66823         [POSIX] (ENOMSG): Likewise.
66824         [POSIX] (ENOPROTOOPT): Likewise.
66825         [POSIX] (ENOSR): Likewise.
66826         [POSIX] (ENOSTR): Likewise.
66827         [POSIX] (ENOTCONN): Likewise.
66828         [POSIX] (ENOTSOCK): Likewise.
66829         [POSIX] (EOPNOTSUPP): Likewise.
66830         [POSIX] (EOVERFLOW): Likewise.
66831         [POSIX] (EPROTO): Likewise.
66832         [POSIX] (EPROTONOSUPPORT): Likewise.
66833         [POSIX] (EPROTOTYPE): Likewise.
66834         [POSIX] (ESTALE): Likewise.
66835         [POSIX] (ETIME): Likewise.
66836         [POSIX] (ETXTBSY): Likewise.
66837         [POSIX] (EWOULDBLOCK): Likewise.
66838         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66839         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66840         [POSIX] (SEEK_CUR): Likewise.
66841         [POSIX] (SEEK_END): Likewise.
66842         [POSIX || UNIX98] (mode_t): Do not require.
66843         [POSIX] (off_t): Likewise.
66844         [POSIX] (pid_t): Likewise.
66845         [POSIX] (sys/stat.h): Do not allow header.
66846         [POSIX] (unistd.h): Likewise.
66847         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66848         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66849         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66850         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66851         require.
66852         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66853         sigevent): Specify elements.
66854         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66855         entry.
66856         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66857         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66859         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66860         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66861         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66862         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66863         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66864         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66865         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66866         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66867         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66868         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66869         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66870         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66871         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66872         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66873         Likewise.
66874         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66875         Likewise.
66876         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66877         Likewise.
66878         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66879         Likewise.
66880         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66881         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66882         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66883         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66884         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66885         Specify lower bound on value.
66886         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66887         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66888         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66889         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66890         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66891         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66892         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66893         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66894         value.
66895         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66896         as optional.
66897         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66898         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66899         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66900         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66901         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66902         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66903         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66904         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66905         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66906         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66907         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66908         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66909         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66910         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66911         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66912         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66913         entry.
66914         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66915         optional.
66916         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66917         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66918         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66919         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66920         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66921         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66922         Likewise.
66923         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66924         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66925         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66926         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66927         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66928         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66929         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66930         as optional.
66931         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66932         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66933         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66934         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66935         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66936         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66937         specify as optional.
66938         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66939         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66940         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66941         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66942         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66943         [XPG3] (NL_LANGMAX): Likewise.
66944         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66945         [POSIX || XPG3] (NL_NMAX): Likewise.
66946         [POSIX || XPG3] (NL_SETMAX): Likewise.
66947         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66948         [XPG3] (NZERO): Likewise.
66949         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66950         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66951         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66952         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66953         (REG_ERANGE): Expect.
66954         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66955         optional-constant.
66956         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66957         Use (void) in prototype.
66958         [POSIX] (*_t): Allow.
66959         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66960         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66961         (WRDE_BADVAL): Expect.
66963         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66964         expect.
66965         [XPG3 || XPG4] (O_RSYNC): Likewise.
66966         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66967         Likewise.
66968         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66969         [XPG3 || XPG4] (sigqueue): Likewise.
66970         [XPG3 || XPG4] (sigtimedwait): Likewise.
66971         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66972         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66973         [XPG3 || XPG4] (vsnprintf): Likewise.
66974         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66975         Likewise.
66976         [XPG3 || XPG4] (blksize_t): Likewise.
66977         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66978         Likewise.
66979         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66980         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66981         [XPG3 || XPG4] (struct itimerspec): Likewise.
66982         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66983         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66984         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66985         [XPG3 || XPG4] (clockid_t): Likewise.
66986         [XPG3 || XPG4] (timer_t): Likewise.
66987         [XPG3 || XPG4] (clock_getres): Likewise.
66988         [XPG3 || XPG4] (clock_gettime): Likewise.
66989         [XPG3 || XPG4] (clock_settime): Likewise.
66990         [XPG3 || XPG4] (nanosleep): Likewise.
66991         [XPG3 || XPG4] (timer_create): Likewise.
66992         [XPG3 || XPG4] (timer_delete): Likewise.
66993         [XPG3 || XPG4] (timer_gettime): Likewise.
66994         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66995         [XPG3 || XPG4] (timer_settime): Likewise.
66996         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66997         [XPG3 || XPG4] (getlogin_r): Likewise.
66998         [XPG3 || XPG4] (pread): Likewise.
66999         [XPG3 || XPG4] (pthread_atfork): Likewise.
67000         [XPG3 || XPG4] (pwrite): Likewise.
67002         [BZ #14835]
67003         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67004         <bits/siginfo.h>.
67006 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67008         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67009         finalizing MALLSTREAM.
67011         * sysdeps/mach/hurd/syncfs.c: New file.
67013 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67015         [BZ #14719]
67016         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67017         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67018         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67019         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67020         (_nss_dns_gethostbyname4_r): Likewise.
67021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67022         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67024 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67026         [BZ #13763]
67027         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67029 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67031         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67032         * elf/cache.c (print_entry): Print ",AArch64" for
67033         FLAG_AARCH64_LIB64
67035         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67036         * elf/cache.c (print_entry): Print ",hard-float" for
67037         FLAG_ARM_LIBHF.
67039 2012-11-18  David S. Miller  <davem@davemloft.net>
67041         With help from Joseph Myers.
67042         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67043         cutoff to 2**-13.
67044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67045         cutoff to 2**-25.
67046         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67047         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67048         small.
67049         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67050         * math/libm-test.inc (y0_test): New tests.
67051         (y1_test): New tests.
67052         * sysdeps/i386/fpu/libm-test-ulps: Update.
67053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67056 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67058         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67059         64-bit targets.
67060         * configure: Regenerated.
67062 2012-11-17  David S. Miller  <davem@davemloft.net>
67064         [BZ #14811]
67065         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67066         nonzero exponents with absolute value below 0x1p-128 to +/-
67067         0x1p-128.
67069 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67071         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67073         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67075         * posix/getconf-speclist.c: New file.
67076         * posix/posix-envs.def: Likewise.
67077         * posix/confstr.c (START_ENV_GROUP): New macro.
67078         (END_ENV_GROUP): Likewise.
67079         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67080         (KNOWN_PRESENT_ENV_STRING): Likewise.
67081         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67082         (UNKNOWN_ENVIRONMENT): Likewise.
67083         (confstr): Include posix-envs.def instead of handling
67084         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67085         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67086         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67087         (END_ENV_GROUP): Likewise.
67088         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67089         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67090         (UNKNOWN_ENVIRONMENT): Likewise.
67091         (__sysconf): Include posix-envs.def instead of handling associated
67092         cases directly here.
67093         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67094         preprocessing getconf-speclist.c rather than running getconf or
67095         generating empty file.
67097 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67099         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67101 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67103         [BZ #14672]
67104         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67106 2012-11-16  David S. Miller  <davem@davemloft.net>
67108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67109         smaller than LDBL_EPSILON/2.0L, just return xm1.
67111 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67113         * elf/tst-array1.c (init): Set constructor priority to 1000.
67114         (fini): Set destructor priority to 1000.
67115         * elf/tst-array2dep.c: Likewise.
67117 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67119         [BZ #11741]
67120         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67121         (_IO_new_file_xsputn): Also return EOF if none of the input
67122         data was written when overflow failed.
67123         * libio/iopadn.c (_IO_padn): Likewise.
67124         * libio/iowpadn.c (_IO_wpadn): Likewise.
67125         * stdio-common/tst-put-error.c: Add copyright notice.
67126         (do_test): Add case for printing padded string.
67127         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67128         _IO_padn returned error.
67129         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67130         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67131         return EOF.
67133 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67135         * libio/libioP.h: Add comment note that the references to C++
67136         bits are now obsolete.
67138 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67140         * math/libm-test.inc (check_complex): Use asprintf.
67142 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67144         * debug/pcprofiledump.c (print_version): Update copyright year.
67145         * malloc/memusagestat.c (print_version): Likewise.
67147 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67149         [BZ #14831]
67150         * elf/Makefile (tests): Add tst-audit8.
67151         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67152         ($(objpfx)tst-audit8.out): New target.
67153         (tst-audit8-ENV): New variable.
67154         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67155         audit if l_reloc_result is NULL.
67156         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67157         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67158         * elf/tst-audit8.c: New file.
67160 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67162         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67163         * misc/Makefile (CFLAGS-select.c): Define.
67164         * posix/Makefile (CFLAGS-pause.c): Define.
67166 2012-11-13  David S. Miller  <davem@davemloft.net>
67168         * crypt/Makefile: Move test targets after toplevel Rules
67169         inclusion.  Grab any necessary sysdep routines when linking.
67170         * crypt/md5.c (md5_process_block): Remove define, we will always
67171         name it __md5_process_block.
67172         (md5_finish_ctx): Update md5_process_block call.
67173         (md5_stream): Likewise.
67174         (md5_process_bytes): Likewise.
67175         (md5_process_block): Rename to __md5_process_block and move to ...
67176         * crypt/md5-block.c: ... here.
67177         * crypt/sha256.c (sha256_process_block): Move to ...
67178         * crypt/sha256-block.c: ... here.
67179         * crypt/sha512.c (sha512_process_block): Move to ...
67180         * crypt/sha512-block.c: ... here.
67181         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67182         path.
67183         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67184         * sysdeps/sparc/sparc64/multiarch/Makefile
67185         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67186         crypt subdir.
67187         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67188         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67189         multiarch changes.
67190         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67191         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67192         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67193         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67194         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67195         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67196         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67197         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67198         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67199         file.
67200         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67201         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67202         file.
67203         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67205 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67207         * timezone/tzselect.ksh: Update from tzcode git revision
67208         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67209         * timezone/zdump.c: Likewise.
67210         * timezone/zic.c: Likewise.
67211         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67212         in TZVERSION setting, not $(PKGVERSION).
67213         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67214         REPORT_BUGS_TO settings.
67216         [BZ #14838]
67217         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67218         macro.
67220 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67222         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67223         detection to immediately after _FP_ROUND().
67224         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67225         bits are 0.
67227 2012-11-11  David S. Miller  <davem@davemloft.net>
67229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67230         inttypes.h
67231         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67232         __close rather than their public counterparts.
67234 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67236         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67237         file.
67238         [UNIX98] (sem_timedwait): Do not expect.
67239         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67240         [XPG4 || UNIX98] (sockatmark): Do not expect.
67241         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67242         (clock_getcpuclockid): Do not expect.
67243         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67244         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67245         Do not expect.
67246         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67247         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67248         [UNIX98] (vwscanf): Likewise.
67249         [UNIX98] (vswscanf): Likewise.
67251 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67253         * timezone/version.h: Remove file.
67254         * timezone/README: Do not refer to version.h.
67255         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67256         $(objpfx)version.h.
67257         ($(objpfx)zdump.o): Likewise.
67258         ($(objpfx)version.h): New target.
67260         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67261         2012i.
67262         * timezone/README: Don't mention modification to tzselect.ksh.
67263         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67264         work on unmodified tzselect.ksh.  Substitute version numbers in
67265         tzselect.ksh.
67267         * Makefile (format-me): Remove.
67268         (INSTALL): Adjust indentation.  Use commands directly instead of
67269         using $(format-me).
67271         * aclocal.m4 (ACX_PKGVERSION): New macro.
67272         (ACX_BUGURL): Likewise.
67273         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67274         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67275         (REPORT_BUGS_TO): Likewise.
67276         * configure: Regenerated.
67277         * config.h.in (PKGVERSION): New macro.
67278         (REPORT_BUGS_TO): Likewise.
67279         * config.make.in (PKGVERSION): New variable.
67280         (PKGVERSION_TEXI): Likewise.
67281         (REPORT_BUGS_TO): Likewise.
67282         (REPORT_BUGS_TEXI): Likewise.
67283         * Makefile (format-me): Use -I$(common-objpfx)manual.
67284         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67285         ($(common-objpfx)manual/%): New target.
67286         (manual/%): Remove target.
67287         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67288         (print_version): Use PKGVERSION.
67289         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67290         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67291         and REPORT_BUGS_TO.
67292         ($(objpfx)xtrace): Likewise.
67293         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67294         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67295         (print_version): Use PKGVERSION.
67296         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67297         (do_version): Use PKGVERSION.
67298         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67299         REPORT_BUGS_TO.
67300         (common-ldd-rewrite): Likewise.
67301         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67302         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67303         (print_version): Use PKGVERSION.
67304         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67305         * elf/pldd.c (argp_program_bug_address): Remove variable.
67306         (more_help): New function.
67307         (argp): Use more_help.
67308         (print_version): Use PKGVERSION.
67309         * elf/sln.c (main): Use PKGVERSION.
67310         (usage): Use REPORT_BUGS_TO.
67311         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67312         (top level): Use PKGVERSION.
67313         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67314         (print_version): Use PKGVERSION.
67315         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67316         (print_version): Use PKGVERSION.
67317         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67318         (print_version): Use PKGVERSION.
67319         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67320         (print_version): Use PKGVERSION.
67321         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67322         (print_version): Use PKGVERSION.
67323         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67324         (print_version): Use PKGVERSION.
67325         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67326         and BUGURL.
67327         ($(objpfx)memusage): Likewise.
67328         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67329         (do_version): Use PKGVERSION.
67330         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67331         (print_version): Use PKGVERSION.
67332         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67333         ($PKGVERSION): New variable.
67334         ($REPORT_BUGS_TO): Likewise.
67335         (usage): Use $REPORT_BUGS_TO.
67336         (top level): Use $PKGVERSION.
67337         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67338         ($(objpfx)pkgvers.texi): New rule.
67339         ($(objpfx)stamp-pkgvers): Likewise.
67340         * manual/install.texi: Include pkgvers.texi.
67341         (--with-pkgversion): Document new configure option.
67342         (--with-bugurl): Likewise.
67343         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67344         than necessarily for this particular distribution.  Use
67345         REPORT_BUGS_TO for where to report bugs.
67346         * INSTALL: Regenerated.
67347         * manual/libc.texinfo: Include pkgvers.texi.
67348         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67349         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67350         (print_version): Use PKGVERSION.
67351         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67352         (print_version): Use PKGVERSION.
67353         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67354         (print_version): Use PKGVERSION.
67355         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67356         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67357         macro.
67358         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67359         (print_version): Use PKGVERSION.
67360         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67361         (print_version): Use PKGVERSION.
67362         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67363         and PKGVERSION.
67365         * timezone/checktab.awk: Update from tzcode 2012i.
67366         * timezone/ialloc.c: Likewise.
67367         * timezone/private.h: Likewise.
67368         * timezone/scheck.c: Likewise.
67369         * timezone/tzfile.h: Likewise.
67370         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67371         (TZVERSION): Hardcode tzcode version number.
67372         * timezone/zdump.c: Update from tzcode 2012i.
67373         * timezone/zic.c: Likewise.
67374         * timezone/version.h: New file.
67375         * timezone/README: Describe version.h.  Update upstream location.
67377         [BZ #14824]
67378         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67379         (mktemp): Enable declaration.
67380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67381         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67383         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67384         Likewise.
67385         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67386         Likewise.
67387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67388         Likewise.
67389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67390         Likewise.
67391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67392         Likewise.
67393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67394         Likewise.
67396         [BZ #14821]
67397         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67398         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67399         for copies of such integer values.
67400         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67401         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67403 2012-11-09  Andreas Jaeger  <aj@suse.de>
67405         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67406         definitions and declarations that are provided by
67407         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67409 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67411         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67412         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67413         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67414         definition.
67416 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67418         * elf/elf.h: Update comment before AArch64 relocations.
67420 2012-11-07  David S. Miller  <davem@davemloft.net>
67422         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67423         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67424         (__start_context): Declare.
67425         (__makecontext_ret): Delete.
67426         (__makecontext): Hook up __start_context instead of
67427         __makecontext_ret.
67428         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67429         (sysdep_routines): Add __start_context when in stdlib.
67431 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67433         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67434         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67435         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67436         hardcoded "nm".
67437         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67438         (READELF): New variable.  Use it instead of hardcoded "readelf".
67440 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67442         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67443         * sysdeps/x86/Makefile: Here.
67444         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67445         * sysdeps/x86/tst-xmmymm.sh: This.
67447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67449         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67450         expectations.
67451         [UNIX98] (pthread_barrier_t): Do not expect.
67452         [UNIX98] (pthread_barrierattr_t): Likewise.
67453         [UNIX98] (pthread_spinlock_t): Likewise.
67454         [UNIX98] (pthread_barrier_destroy): Likewise.
67455         [UNIX98] (pthread_barrier_init): Likewise.
67456         [UNIX98] (pthread_barrier_wait): Likewise.
67457         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67458         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67459         [UNIX98] (pthread_barrierattr_init): Likewise.
67460         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67461         [UNIX98] (pthread_getcpuclockid): Likewise.
67462         [UNIX98] (pthread_mutex_timedlock): Likewise.
67463         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67464         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67465         [UNIX98] (pthread_sigmask): Likewise.
67466         [UNIX98] (pthread_spin_destroy): Likewise.
67467         [UNIX98] (pthread_spin_init): Likewise.
67468         [UNIX98] (pthread_spin_lock): Likewise.
67469         [UNIX98] (pthread_spin_trylock): Likewise.
67470         [UNIX98] (pthread_spin_unlock): Likewise.
67471         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67472         Do not expect.
67473         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67474         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67475         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67476         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67477         [XPG3 || XPG4] (pthread_key_t): Likewise.
67478         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67479         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67480         [XPG3 || XPG4] (pthread_once_t): Likewise.
67481         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67482         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67483         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67484         [XPG3 || XPG4] (pthread_t): Likewise.
67486         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67487         not expect.
67488         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67490         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67491         Change function return type to int.
67493         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67494         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67495         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67496         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67497         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67498         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67499         [!POSIX] (posix_madvise): Likewise.
67500         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67501         && !UNIX98].
67502         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67503         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67504         (mode_t): Likewise.
67505         (posix_mem_offset): Likewise.
67506         (posix_typed_mem_get_info): Likewise.
67507         (posix_typed_mem_open): Likewise.
67509         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67510         Change condition to [XOPEN2K8].
67512         * conform/conformtest.pl: Preprocess allow-header data with -x c
67513         instead of from stdin.
67514         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67515         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67516         [C99-based standards] (cerfc): Likewise.
67517         [C99-based standards] (cexp2): Likewise.
67518         [C99-based standards] (cexpm1): Likewise.
67519         [C99-based standards] (clog10): Likewise.
67520         [C99-based standards] (clog1p): Likewise.
67521         [C99-based standards] (clog2): Likewise.
67522         [C99-based standards] (clgamma): Likewise.
67523         [C99-based standards] (ctgamma): Likewise.
67524         [C99-based standards] (cerff): Likewise.
67525         [C99-based standards] (cerfcf): Likewise.
67526         [C99-based standards] (cexp2f): Likewise.
67527         [C99-based standards] (cexpm1f): Likewise.
67528         [C99-based standards] (clog10f): Likewise.
67529         [C99-based standards] (clog1pf): Likewise.
67530         [C99-based standards] (clog2f): Likewise.
67531         [C99-based standards] (clgammaf): Likewise.
67532         [C99-based standards] (ctgammaf): Likewise.
67533         [C99-based standards] (cerfl): Likewise.
67534         [C99-based standards] (cerfcl): Likewise.
67535         [C99-based standards] (cexp2l): Likewise.
67536         [C99-based standards] (cexpm1l): Likewise.
67537         [C99-based standards] (clog10l): Likewise.
67538         [C99-based standards] (clog1pl): Likewise.
67539         [C99-based standards] (clog2l): Likewise.
67540         [C99-based standards] (clgammal): Likewise.
67541         [C99-based standards] (ctgammal): Likewise.
67542         * conform/data/inttypes.h-data [C99-based standards]: Include
67543         stdint.h-data.  Remove all expectations for stdint.h contents.
67544         [C99-based standards] (PRI*): Do not allow.
67545         [C99-based standards] (SCN*): Likewise.
67546         [C99-based standards] (*_t): Likewise.
67547         [C99-based-standards] (PRId8): Expect macro.
67548         [C99-based-standards] (PRIi8): Likewise.
67549         [C99-based-standards] (PRIo8): Likewise.
67550         [C99-based-standards] (PRIu8): Likewise.
67551         [C99-based-standards] (PRIx8): Likewise.
67552         [C99-based-standards] (PRIX8): Likewise.
67553         [C99-based-standards] (SCNd8): Likewise.
67554         [C99-based-standards] (SCNi8): Likewise.
67555         [C99-based-standards] (SCNo8): Likewise.
67556         [C99-based-standards] (SCNu8): Likewise.
67557         [C99-based-standards] (SCNx8): Likewise.
67558         [C99-based-standards] (PRIdLEAST8): Likewise.
67559         [C99-based-standards] (PRIiLEAST8): Likewise.
67560         [C99-based-standards] (PRIoLEAST8): Likewise.
67561         [C99-based-standards] (PRIuLEAST8): Likewise.
67562         [C99-based-standards] (PRIxLEAST8): Likewise.
67563         [C99-based-standards] (PRIXLEAST8): Likewise.
67564         [C99-based-standards] (SCNdLEAST8): Likewise.
67565         [C99-based-standards] (SCNiLEAST8): Likewise.
67566         [C99-based-standards] (SCNoLEAST8): Likewise.
67567         [C99-based-standards] (SCNuLEAST8): Likewise.
67568         [C99-based-standards] (SCNxLEAST8): Likewise.
67569         [C99-based-standards] (PRIdFAST8): Likewise.
67570         [C99-based-standards] (PRIiFAST8): Likewise.
67571         [C99-based-standards] (PRIoFAST8): Likewise.
67572         [C99-based-standards] (PRIuFAST8): Likewise.
67573         [C99-based-standards] (PRIxFAST8): Likewise.
67574         [C99-based-standards] (PRIXFAST8): Likewise.
67575         [C99-based-standards] (SCNdFAST8): Likewise.
67576         [C99-based-standards] (SCNiFAST8): Likewise.
67577         [C99-based-standards] (SCNoFAST8): Likewise.
67578         [C99-based-standards] (SCNuFAST8): Likewise.
67579         [C99-based-standards] (SCNxFAST8): Likewise.
67580         [C99-based-standards] (PRId16): Likewise.
67581         [C99-based-standards] (PRIi16): Likewise.
67582         [C99-based-standards] (PRIo16): Likewise.
67583         [C99-based-standards] (PRIu16): Likewise.
67584         [C99-based-standards] (PRIx16): Likewise.
67585         [C99-based-standards] (PRIX16): Likewise.
67586         [C99-based-standards] (SCNd16): Likewise.
67587         [C99-based-standards] (SCNi16): Likewise.
67588         [C99-based-standards] (SCNo16): Likewise.
67589         [C99-based-standards] (SCNu16): Likewise.
67590         [C99-based-standards] (SCNx16): Likewise.
67591         [C99-based-standards] (PRIdLEAST16): Likewise.
67592         [C99-based-standards] (PRIiLEAST16): Likewise.
67593         [C99-based-standards] (PRIoLEAST16): Likewise.
67594         [C99-based-standards] (PRIuLEAST16): Likewise.
67595         [C99-based-standards] (PRIxLEAST16): Likewise.
67596         [C99-based-standards] (PRIXLEAST16): Likewise.
67597         [C99-based-standards] (SCNdLEAST16): Likewise.
67598         [C99-based-standards] (SCNiLEAST16): Likewise.
67599         [C99-based-standards] (SCNoLEAST16): Likewise.
67600         [C99-based-standards] (SCNuLEAST16): Likewise.
67601         [C99-based-standards] (SCNxLEAST16): Likewise.
67602         [C99-based-standards] (PRIdFAST16): Likewise.
67603         [C99-based-standards] (PRIiFAST16): Likewise.
67604         [C99-based-standards] (PRIoFAST16): Likewise.
67605         [C99-based-standards] (PRIuFAST16): Likewise.
67606         [C99-based-standards] (PRIxFAST16): Likewise.
67607         [C99-based-standards] (PRIXFAST16): Likewise.
67608         [C99-based-standards] (SCNdFAST16): Likewise.
67609         [C99-based-standards] (SCNiFAST16): Likewise.
67610         [C99-based-standards] (SCNoFAST16): Likewise.
67611         [C99-based-standards] (SCNuFAST16): Likewise.
67612         [C99-based-standards] (SCNxFAST16): Likewise.
67613         [C99-based-standards] (PRId32): Likewise.
67614         [C99-based-standards] (PRIi32): Likewise.
67615         [C99-based-standards] (PRIo32): Likewise.
67616         [C99-based-standards] (PRIu32): Likewise.
67617         [C99-based-standards] (PRIx32): Likewise.
67618         [C99-based-standards] (PRIX32): Likewise.
67619         [C99-based-standards] (SCNd32): Likewise.
67620         [C99-based-standards] (SCNi32): Likewise.
67621         [C99-based-standards] (SCNo32): Likewise.
67622         [C99-based-standards] (SCNu32): Likewise.
67623         [C99-based-standards] (SCNx32): Likewise.
67624         [C99-based-standards] (PRIdLEAST32): Likewise.
67625         [C99-based-standards] (PRIiLEAST32): Likewise.
67626         [C99-based-standards] (PRIoLEAST32): Likewise.
67627         [C99-based-standards] (PRIuLEAST32): Likewise.
67628         [C99-based-standards] (PRIxLEAST32): Likewise.
67629         [C99-based-standards] (PRIXLEAST32): Likewise.
67630         [C99-based-standards] (SCNdLEAST32): Likewise.
67631         [C99-based-standards] (SCNiLEAST32): Likewise.
67632         [C99-based-standards] (SCNoLEAST32): Likewise.
67633         [C99-based-standards] (SCNuLEAST32): Likewise.
67634         [C99-based-standards] (SCNxLEAST32): Likewise.
67635         [C99-based-standards] (PRIdFAST32): Likewise.
67636         [C99-based-standards] (PRIiFAST32): Likewise.
67637         [C99-based-standards] (PRIoFAST32): Likewise.
67638         [C99-based-standards] (PRIuFAST32): Likewise.
67639         [C99-based-standards] (PRIxFAST32): Likewise.
67640         [C99-based-standards] (PRIXFAST32): Likewise.
67641         [C99-based-standards] (SCNdFAST32): Likewise.
67642         [C99-based-standards] (SCNiFAST32): Likewise.
67643         [C99-based-standards] (SCNoFAST32): Likewise.
67644         [C99-based-standards] (SCNuFAST32): Likewise.
67645         [C99-based-standards] (SCNxFAST32): Likewise.
67646         [C99-based-standards] (PRId64): Likewise.
67647         [C99-based-standards] (PRIi64): Likewise.
67648         [C99-based-standards] (PRIo64): Likewise.
67649         [C99-based-standards] (PRIu64): Likewise.
67650         [C99-based-standards] (PRIx64): Likewise.
67651         [C99-based-standards] (PRIX64): Likewise.
67652         [C99-based-standards] (SCNd64): Likewise.
67653         [C99-based-standards] (SCNi64): Likewise.
67654         [C99-based-standards] (SCNo64): Likewise.
67655         [C99-based-standards] (SCNu64): Likewise.
67656         [C99-based-standards] (SCNx64): Likewise.
67657         [C99-based-standards] (PRIdLEAST64): Likewise.
67658         [C99-based-standards] (PRIiLEAST64): Likewise.
67659         [C99-based-standards] (PRIoLEAST64): Likewise.
67660         [C99-based-standards] (PRIuLEAST64): Likewise.
67661         [C99-based-standards] (PRIxLEAST64): Likewise.
67662         [C99-based-standards] (PRIXLEAST64): Likewise.
67663         [C99-based-standards] (SCNdLEAST64): Likewise.
67664         [C99-based-standards] (SCNiLEAST64): Likewise.
67665         [C99-based-standards] (SCNoLEAST64): Likewise.
67666         [C99-based-standards] (SCNuLEAST64): Likewise.
67667         [C99-based-standards] (SCNxLEAST64): Likewise.
67668         [C99-based-standards] (PRIdFAST64): Likewise.
67669         [C99-based-standards] (PRIiFAST64): Likewise.
67670         [C99-based-standards] (PRIoFAST64): Likewise.
67671         [C99-based-standards] (PRIuFAST64): Likewise.
67672         [C99-based-standards] (PRIxFAST64): Likewise.
67673         [C99-based-standards] (PRIXFAST64): Likewise.
67674         [C99-based-standards] (SCNdFAST64): Likewise.
67675         [C99-based-standards] (SCNiFAST64): Likewise.
67676         [C99-based-standards] (SCNoFAST64): Likewise.
67677         [C99-based-standards] (SCNuFAST64): Likewise.
67678         [C99-based-standards] (SCNxFAST64): Likewise.
67679         [C99-based-standards] (PRIdMAX): Likewise.
67680         [C99-based-standards] (PRIiMAX): Likewise.
67681         [C99-based-standards] (PRIoMAX): Likewise.
67682         [C99-based-standards] (PRIuMAX): Likewise.
67683         [C99-based-standards] (PRIxMAX): Likewise.
67684         [C99-based-standards] (PRIXMAX): Likewise.
67685         [C99-based-standards] (SCNdMAX): Likewise.
67686         [C99-based-standards] (SCNiMAX): Likewise.
67687         [C99-based-standards] (SCNoMAX): Likewise.
67688         [C99-based-standards] (SCNuMAX): Likewise.
67689         [C99-based-standards] (SCNxMAX): Likewise.
67690         [C99-based-standards] (PRIdPTR): Likewise.
67691         [C99-based-standards] (PRIiPTR): Likewise.
67692         [C99-based-standards] (PRIoPTR): Likewise.
67693         [C99-based-standards] (PRIuPTR): Likewise.
67694         [C99-based-standards] (PRIxPTR): Likewise.
67695         [C99-based-standards] (PRIXPTR): Likewise.
67696         [C99-based-standards] (SCNdPTR): Likewise.
67697         [C99-based-standards] (SCNiPTR): Likewise.
67698         [C99-based-standards] (SCNoPTR): Likewise.
67699         [C99-based-standards] (SCNuPTR): Likewise.
67700         [C99-based-standards] (SCNxPTR): Likewise.
67701         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67702         allow.
67703         * conform/data/stdint.h-data: Update comments to clarify
67704         requirements.
67705         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67706         type.
67707         [C99-based standards] (INT8_MAX): Likewise.
67708         [C99-based standards] (INT16_MIN): Likewise.
67709         [C99-based standards] (INT16_MAX): Likewise.
67710         [C99-based standards] (INT32_MIN): Likewise.
67711         [C99-based standards] (INT32_MAX): Likewise.
67712         [C99-based standards] (INT64_MIN): Likewise.
67713         [C99-based standards] (INT64_MAX): Likewise.
67714         [C99-based standards] (UINT8_MAX): Likewise.
67715         [C99-based standards] (UINT16_MAX): Likewise.
67716         [C99-based standards] (UINT32_MAX): Likewise.
67717         [C99-based standards] (UINT64_MAX): Likewise.
67718         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67719         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67720         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67721         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67722         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67723         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67724         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67725         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67726         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67727         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67728         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67729         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67730         [C99-based standards] (INT_FAST8_MIN): Likewise.
67731         [C99-based standards] (INT_FAST8_MAX): Likewise.
67732         [C99-based standards] (INT_FAST16_MIN): Likewise.
67733         [C99-based standards] (INT_FAST16_MAX): Likewise.
67734         [C99-based standards] (INT_FAST32_MIN): Likewise.
67735         [C99-based standards] (INT_FAST32_MAX): Likewise.
67736         [C99-based standards] (INT_FAST64_MIN): Likewise.
67737         [C99-based standards] (INT_FAST64_MAX): Likewise.
67738         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67739         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67740         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67741         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67742         [C99-based standards] (INTPTR_MIN): Likewise.
67743         [C99-based standards] (INTPTR_MAX): Likewise.
67744         [C99-based standards] (UINTPTR_MAX): Likewise.
67745         [C99-based standards] (INTMAX_MIN): Likewise.
67746         [C99-based standards] (INTMAX_MAX): Likewise.
67747         [C99-based standards] (UINTMAX_MAX): Likewise.
67748         [C99-based standards] (PTRDIFF_MIN): Likewise.
67749         [C99-based standards] (PTRDIFF_MAX): Likewise.
67750         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67751         [C99-based standards] (SIZE_MAX): Likewise.
67752         [C99-based standards] (WCHAR_MAX): Likewise.
67753         [C99-based standards] (WINT_MAX): Likewise.
67754         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67755         constraint on value.
67756         [C99-based standards] (WCHAR_MIN): Likewise.
67757         [C99-based standards] (WINT_MIN): Likewise.
67758         [C99-based standards] (*_t): Allow.
67759         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67760         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67761         Include math.h-data and complex.h-data.  Remove all expectations
67762         of math.h and complex.h contents.
67763         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67764         at end of line.
67765         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67766         (struct tm): Expect tag.
67767         [C99-based-standards] (wcstof): Expect function.
67768         [C99-based-standards] (wcstold): Likewise.
67769         [C99-based-standards] (wcstoll): Likewise.
67770         [C99-based-standards] (wcstoull): Likewise.
67771         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67772         macro-int-constant.  Specify type.
67773         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67774         constraint on value.
67775         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67776         Specify type.
67777         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67778         Specify value.
67779         [ISO C standards]: Do not allow headers.
67780         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67781         wcs[abcdefghijklmnopqrstuvwxyz]*.
67782         [ISO C standards] (*_t): Do not allow.
67783         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67784         Expect function.
67785         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67786         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67787         Specify type.
67788         [ISO C standards]: Do not allow headers.
67789         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67790         is[abcdefghijklmnopqrstuvwxyz]*.
67791         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67792         to[abcdefghijklmnopqrstuvwxyz]*.
67793         [ISO C standards] (*_t): Do not allow.
67794         * conform/data/stdalign.h-data: New file.
67795         * conform/data/stdbool.h-data: Likewise.
67796         * conform/data/stdnoreturn.h-data: Likewise.
67798 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67800         [BZ #14815]
67801         * manual/filesys.texi (Directory Entries): Typo fix.
67802         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67804 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67806         * elf/elf.h (EM_AARCH64): New macro.
67807         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67808         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67809         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67810         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67811         (R_AARCH64_TLSDESC): Likewise.
67812         (NT_ARM_TLS): Likewise.
67813         (NT_ARM_HW_BREAK): Likewise.
67814         (NT_ARM_HW_WATCH): Likewise.
67816 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67818         [BZ #14811]
67819         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67820         (__ieee754_powl): Saturate nonzero exponents with absolute value
67821         below 0x1p-79 to +/- 0x1p-79.
67822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67823         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67824         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67825         nonzero exponents with absolute value below 0x1p-32 to +/-
67826         0x1p-32.
67827         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67828         (__ieee754_powl): Saturate nonzero exponents with absolute value
67829         below 0x1p-79 to +/- 0x1p-79.
67830         * math/libm-test.inc (pow_test): Add more tests.
67832 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67834         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67835         _dl_s390_cap_flags with kernel. Increase string length.
67836         (_dl_s390_platforms): Add z196 and zEC12.
67838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67840         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67841         Change XOPEN21K to XOPEN2K.
67843 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67845         * string/memmove.c: Use memcpy when possible.
67847 2012-11-06  Andreas Jaeger  <aj@suse.de>
67849         * po/eo.po: Update from translation team.
67851 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67853         [BZ #14793]
67854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67855         exponent and small x and y exponents, scale x or y up.  Increase
67856         by 2 the exponent used in scaling up.
67857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67859         * math/libm-test.inc (fma_test): Add more tests.
67860         (fma_test_towardzero): Likewise.
67861         (fma_test_downward): Likewise.
67862         (fma_test_upward): Likewise.
67864 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67866         [BZ #14805]
67867         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67868         fenv_t *.
67870         [BZ #14801]
67871         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67872         namespace for names of struct fields.
67873         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67874         fenv_t fields.
67875         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67876         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67878 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67880         [BZ #3665]
67881         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67883 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67885         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67886         PTR_DEMANGLE.
67888         [BZ #5246]
67889         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67890         PTR_DEMANGLE.
67892 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67894         [BZ #14797]
67895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67896         definitely overflow as x * y not x * y + z.
67897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67899         * math/libm-test.inc (fma_test): Add more tests.
67900         (fma_test_towardzero): Likewise.
67901         (fma_test_downward): Likewise.
67902         (fma_test_upward): Likewise.
67904 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67906         [BZ #157]
67908         * include/stub-tag.h: Remove file.
67909         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67910         '#include' of it.
67911         * manual/maint.texi (Porting): Don't reference it.
67912         * Makerules ($(objpfx)stubs): Likewise.
67913         * dirent/closedir.c: Don't include <stub-tag.h>.
67914         * dirent/dirfd.c: Likewise.
67915         * dirent/fdopendir.c: Likewise.
67916         * dirent/getdents.c: Likewise.
67917         * dirent/getdents64.c: Likewise.
67918         * dirent/opendir.c: Likewise.
67919         * dirent/readdir.c: Likewise.
67920         * dirent/readdir64.c: Likewise.
67921         * dirent/readdir64_r.c: Likewise.
67922         * dirent/readdir_r.c: Likewise.
67923         * dirent/rewinddir.c: Likewise.
67924         * dirent/seekdir.c: Likewise.
67925         * dirent/telldir.c: Likewise.
67926         * gmon/profil.c: Likewise.
67927         * grp/setgroups.c: Likewise.
67928         * inet/if_index.c: Likewise.
67929         * io/access.c: Likewise.
67930         * io/chdir.c: Likewise.
67931         * io/chmod.c: Likewise.
67932         * io/chown.c: Likewise.
67933         * io/close.c: Likewise.
67934         * io/dup.c: Likewise.
67935         * io/dup2.c: Likewise.
67936         * io/dup3.c: Likewise.
67937         * io/euidaccess.c: Likewise.
67938         * io/faccessat.c: Likewise.
67939         * io/fchdir.c: Likewise.
67940         * io/fchmod.c: Likewise.
67941         * io/fchmodat.c: Likewise.
67942         * io/fchown.c: Likewise.
67943         * io/fchownat.c: Likewise.
67944         * io/fcntl.c: Likewise.
67945         * io/flock.c: Likewise.
67946         * io/fstatfs.c: Likewise.
67947         * io/fstatfs64.c: Likewise.
67948         * io/fstatvfs.c: Likewise.
67949         * io/fstatvfs64.c: Likewise.
67950         * io/futimens.c: Likewise.
67951         * io/fxstat.c: Likewise.
67952         * io/fxstat64.c: Likewise.
67953         * io/fxstatat.c: Likewise.
67954         * io/fxstatat64.c: Likewise.
67955         * io/getcwd.c: Likewise.
67956         * io/isatty.c: Likewise.
67957         * io/lchmod.c: Likewise.
67958         * io/lchown.c: Likewise.
67959         * io/link.c: Likewise.
67960         * io/linkat.c: Likewise.
67961         * io/lseek.c: Likewise.
67962         * io/lseek64.c: Likewise.
67963         * io/lxstat64.c: Likewise.
67964         * io/mkdir.c: Likewise.
67965         * io/mkdirat.c: Likewise.
67966         * io/mkfifo.c: Likewise.
67967         * io/mkfifoat.c: Likewise.
67968         * io/open.c: Likewise.
67969         * io/open64.c: Likewise.
67970         * io/openat.c: Likewise.
67971         * io/openat64.c: Likewise.
67972         * io/pipe.c: Likewise.
67973         * io/pipe2.c: Likewise.
67974         * io/poll.c: Likewise.
67975         * io/posix_fadvise.c: Likewise.
67976         * io/posix_fadvise64.c: Likewise.
67977         * io/posix_fallocate.c: Likewise.
67978         * io/posix_fallocate64.c: Likewise.
67979         * io/read.c: Likewise.
67980         * io/readlink.c: Likewise.
67981         * io/readlinkat.c: Likewise.
67982         * io/rmdir.c: Likewise.
67983         * io/sendfile.c: Likewise.
67984         * io/sendfile64.c: Likewise.
67985         * io/statfs.c: Likewise.
67986         * io/statfs64.c: Likewise.
67987         * io/statvfs.c: Likewise.
67988         * io/statvfs64.c: Likewise.
67989         * io/symlink.c: Likewise.
67990         * io/symlinkat.c: Likewise.
67991         * io/ttyname.c: Likewise.
67992         * io/ttyname_r.c: Likewise.
67993         * io/umask.c: Likewise.
67994         * io/unlink.c: Likewise.
67995         * io/unlinkat.c: Likewise.
67996         * io/utime.c: Likewise.
67997         * io/utimensat.c: Likewise.
67998         * io/write.c: Likewise.
67999         * io/xmknod.c: Likewise.
68000         * io/xmknodat.c: Likewise.
68001         * io/xstat.c: Likewise.
68002         * io/xstat64.c: Likewise.
68003         * login/getpt.c: Likewise.
68004         * login/grantpt.c: Likewise.
68005         * login/unlockpt.c: Likewise.
68006         * math/e_acoshl.c: Likewise.
68007         * math/e_acosl.c: Likewise.
68008         * math/e_asinl.c: Likewise.
68009         * math/e_atan2l.c: Likewise.
68010         * math/e_atanhl.c: Likewise.
68011         * math/e_coshl.c: Likewise.
68012         * math/e_expl.c: Likewise.
68013         * math/e_fmodl.c: Likewise.
68014         * math/e_gammal_r.c: Likewise.
68015         * math/e_hypotl.c: Likewise.
68016         * math/e_j0l.c: Likewise.
68017         * math/e_j1l.c: Likewise.
68018         * math/e_jnl.c: Likewise.
68019         * math/e_lgammal_r.c: Likewise.
68020         * math/e_log10l.c: Likewise.
68021         * math/e_log2l.c: Likewise.
68022         * math/e_logl.c: Likewise.
68023         * math/e_powl.c: Likewise.
68024         * math/e_rem_pio2l.c: Likewise.
68025         * math/e_sinhl.c: Likewise.
68026         * math/e_sqrtl.c: Likewise.
68027         * math/fclrexcpt.c: Likewise.
68028         * math/fedisblxcpt.c: Likewise.
68029         * math/feenablxcpt.c: Likewise.
68030         * math/fegetenv.c: Likewise.
68031         * math/fegetexcept.c: Likewise.
68032         * math/fegetround.c: Likewise.
68033         * math/feholdexcpt.c: Likewise.
68034         * math/fesetenv.c: Likewise.
68035         * math/fesetround.c: Likewise.
68036         * math/feupdateenv.c: Likewise.
68037         * math/fgetexcptflg.c: Likewise.
68038         * math/fraiseexcpt.c: Likewise.
68039         * math/fsetexcptflg.c: Likewise.
68040         * math/ftestexcept.c: Likewise.
68041         * math/k_cosl.c: Likewise.
68042         * math/k_rem_pio2l.c: Likewise.
68043         * math/k_sinl.c: Likewise.
68044         * math/k_tanl.c: Likewise.
68045         * math/s_asinhl.c: Likewise.
68046         * math/s_atanl.c: Likewise.
68047         * math/s_cbrtl.c: Likewise.
68048         * math/s_erfl.c: Likewise.
68049         * math/s_expm1l.c: Likewise.
68050         * math/s_log1pl.c: Likewise.
68051         * math/s_tanhl.c: Likewise.
68052         * misc/acct.c: Likewise.
68053         * misc/brk.c: Likewise.
68054         * misc/chflags.c: Likewise.
68055         * misc/chroot.c: Likewise.
68056         * misc/fchflags.c: Likewise.
68057         * misc/fgetxattr.c: Likewise.
68058         * misc/flistxattr.c: Likewise.
68059         * misc/fremovexattr.c: Likewise.
68060         * misc/fsetxattr.c: Likewise.
68061         * misc/fsync.c: Likewise.
68062         * misc/ftruncate.c: Likewise.
68063         * misc/futimes.c: Likewise.
68064         * misc/futimesat.c: Likewise.
68065         * misc/getdomain.c: Likewise.
68066         * misc/getdtsz.c: Likewise.
68067         * misc/gethostid.c: Likewise.
68068         * misc/gethostname.c: Likewise.
68069         * misc/getloadavg.c: Likewise.
68070         * misc/getpagesize.c: Likewise.
68071         * misc/getsysstats.c: Likewise.
68072         * misc/getxattr.c: Likewise.
68073         * misc/gtty.c: Likewise.
68074         * misc/ioctl.c: Likewise.
68075         * misc/lgetxattr.c: Likewise.
68076         * misc/listxattr.c: Likewise.
68077         * misc/llistxattr.c: Likewise.
68078         * misc/lremovexattr.c: Likewise.
68079         * misc/lsetxattr.c: Likewise.
68080         * misc/lutimes.c: Likewise.
68081         * misc/madvise.c: Likewise.
68082         * misc/mincore.c: Likewise.
68083         * misc/mlock.c: Likewise.
68084         * misc/mlockall.c: Likewise.
68085         * misc/mmap.c: Likewise.
68086         * misc/mprotect.c: Likewise.
68087         * misc/msync.c: Likewise.
68088         * misc/munlock.c: Likewise.
68089         * misc/munlockall.c: Likewise.
68090         * misc/munmap.c: Likewise.
68091         * misc/preadv.c: Likewise.
68092         * misc/preadv64.c: Likewise.
68093         * misc/ptrace.c: Likewise.
68094         * misc/pwritev.c: Likewise.
68095         * misc/pwritev64.c: Likewise.
68096         * misc/readv.c: Likewise.
68097         * misc/reboot.c: Likewise.
68098         * misc/remap_file_pages.c: Likewise.
68099         * misc/removexattr.c: Likewise.
68100         * misc/revoke.c: Likewise.
68101         * misc/select.c: Likewise.
68102         * misc/setdomain.c: Likewise.
68103         * misc/setegid.c: Likewise.
68104         * misc/seteuid.c: Likewise.
68105         * misc/sethostid.c: Likewise.
68106         * misc/sethostname.c: Likewise.
68107         * misc/setregid.c: Likewise.
68108         * misc/setreuid.c: Likewise.
68109         * misc/setxattr.c: Likewise.
68110         * misc/sstk.c: Likewise.
68111         * misc/stty.c: Likewise.
68112         * misc/swapoff.c: Likewise.
68113         * misc/swapon.c: Likewise.
68114         * misc/sync.c: Likewise.
68115         * misc/syncfs.c: Likewise.
68116         * misc/syscall.c: Likewise.
68117         * misc/truncate.c: Likewise.
68118         * misc/ualarm.c: Likewise.
68119         * misc/usleep.c: Likewise.
68120         * misc/ustat.c: Likewise.
68121         * misc/utimes.c: Likewise.
68122         * misc/vhangup.c: Likewise.
68123         * misc/writev.c: Likewise.
68124         * posix/_exit.c: Likewise.
68125         * posix/alarm.c: Likewise.
68126         * posix/execve.c: Likewise.
68127         * posix/fexecve.c: Likewise.
68128         * posix/fork.c: Likewise.
68129         * posix/fpathconf.c: Likewise.
68130         * posix/getaddrinfo.c: Likewise.
68131         * posix/getegid.c: Likewise.
68132         * posix/geteuid.c: Likewise.
68133         * posix/getgid.c: Likewise.
68134         * posix/getgroups.c: Likewise.
68135         * posix/getlogin.c: Likewise.
68136         * posix/getlogin_r.c: Likewise.
68137         * posix/getpgid.c: Likewise.
68138         * posix/getpid.c: Likewise.
68139         * posix/getppid.c: Likewise.
68140         * posix/getresgid.c: Likewise.
68141         * posix/getresuid.c: Likewise.
68142         * posix/getsid.c: Likewise.
68143         * posix/getuid.c: Likewise.
68144         * posix/glob64.c: Likewise.
68145         * posix/nanosleep.c: Likewise.
68146         * posix/pathconf.c: Likewise.
68147         * posix/pause.c: Likewise.
68148         * posix/posix_madvise.c: Likewise.
68149         * posix/pread.c: Likewise.
68150         * posix/pread64.c: Likewise.
68151         * posix/pwrite.c: Likewise.
68152         * posix/pwrite64.c: Likewise.
68153         * posix/sched_getaffinity.c: Likewise.
68154         * posix/sched_getp.c: Likewise.
68155         * posix/sched_gets.c: Likewise.
68156         * posix/sched_primax.c: Likewise.
68157         * posix/sched_primin.c: Likewise.
68158         * posix/sched_rr_gi.c: Likewise.
68159         * posix/sched_setaffinity.c: Likewise.
68160         * posix/sched_setp.c: Likewise.
68161         * posix/sched_sets.c: Likewise.
68162         * posix/sched_yield.c: Likewise.
68163         * posix/setgid.c: Likewise.
68164         * posix/setlogin.c: Likewise.
68165         * posix/setpgid.c: Likewise.
68166         * posix/setresgid.c: Likewise.
68167         * posix/setresuid.c: Likewise.
68168         * posix/setsid.c: Likewise.
68169         * posix/setuid.c: Likewise.
68170         * posix/sleep.c: Likewise.
68171         * posix/spawni.c: Likewise.
68172         * posix/sysconf.c: Likewise.
68173         * posix/times.c: Likewise.
68174         * posix/wait.c: Likewise.
68175         * posix/wait3.c: Likewise.
68176         * posix/wait4.c: Likewise.
68177         * posix/waitpid.c: Likewise.
68178         * resolv/gai_sigqueue.c: Likewise.
68179         * resource/getpriority.c: Likewise.
68180         * resource/getrlimit.c: Likewise.
68181         * resource/getrusage.c: Likewise.
68182         * resource/nice.c: Likewise.
68183         * resource/setpriority.c: Likewise.
68184         * resource/setrlimit.c: Likewise.
68185         * resource/ulimit.c: Likewise.
68186         * rt/aio_cancel.c: Likewise.
68187         * rt/aio_fsync.c: Likewise.
68188         * rt/aio_read.c: Likewise.
68189         * rt/aio_sigqueue.c: Likewise.
68190         * rt/aio_suspend.c: Likewise.
68191         * rt/aio_write.c: Likewise.
68192         * rt/clock_getres.c: Likewise.
68193         * rt/clock_gettime.c: Likewise.
68194         * rt/clock_nanosleep.c: Likewise.
68195         * rt/clock_settime.c: Likewise.
68196         * rt/lio_listio.c: Likewise.
68197         * rt/mq_close.c: Likewise.
68198         * rt/mq_getattr.c: Likewise.
68199         * rt/mq_notify.c: Likewise.
68200         * rt/mq_open.c: Likewise.
68201         * rt/mq_receive.c: Likewise.
68202         * rt/mq_send.c: Likewise.
68203         * rt/mq_setattr.c: Likewise.
68204         * rt/mq_timedreceive.c: Likewise.
68205         * rt/mq_timedsend.c: Likewise.
68206         * rt/mq_unlink.c: Likewise.
68207         * rt/shm_open.c: Likewise.
68208         * rt/shm_unlink.c: Likewise.
68209         * rt/timer_create.c: Likewise.
68210         * rt/timer_delete.c: Likewise.
68211         * rt/timer_getoverr.c: Likewise.
68212         * rt/timer_gettime.c: Likewise.
68213         * rt/timer_settime.c: Likewise.
68214         * setjmp/__longjmp.c: Likewise.
68215         * setjmp/setjmp.c: Likewise.
68216         * signal/kill.c: Likewise.
68217         * signal/killpg.c: Likewise.
68218         * signal/raise.c: Likewise.
68219         * signal/sigaction.c: Likewise.
68220         * signal/sigaltstack.c: Likewise.
68221         * signal/sigblock.c: Likewise.
68222         * signal/sigignore.c: Likewise.
68223         * signal/sigintr.c: Likewise.
68224         * signal/signal.c: Likewise.
68225         * signal/sigpause.c: Likewise.
68226         * signal/sigpending.c: Likewise.
68227         * signal/sigqueue.c: Likewise.
68228         * signal/sigreturn.c: Likewise.
68229         * signal/sigset.c: Likewise.
68230         * signal/sigsetmask.c: Likewise.
68231         * signal/sigstack.c: Likewise.
68232         * signal/sigsuspend.c: Likewise.
68233         * signal/sigtimedwait.c: Likewise.
68234         * signal/sigvec.c: Likewise.
68235         * signal/sigwait.c: Likewise.
68236         * signal/sigwaitinfo.c: Likewise.
68237         * signal/sysv_signal.c: Likewise.
68238         * socket/accept.c: Likewise.
68239         * socket/accept4.c: Likewise.
68240         * socket/bind.c: Likewise.
68241         * socket/connect.c: Likewise.
68242         * socket/getpeername.c: Likewise.
68243         * socket/getsockname.c: Likewise.
68244         * socket/getsockopt.c: Likewise.
68245         * socket/isfdtype.c: Likewise.
68246         * socket/listen.c: Likewise.
68247         * socket/recv.c: Likewise.
68248         * socket/recvfrom.c: Likewise.
68249         * socket/recvmsg.c: Likewise.
68250         * socket/send.c: Likewise.
68251         * socket/sendmsg.c: Likewise.
68252         * socket/sendto.c: Likewise.
68253         * socket/setsockopt.c: Likewise.
68254         * socket/shutdown.c: Likewise.
68255         * socket/sockatmark.c: Likewise.
68256         * socket/socket.c: Likewise.
68257         * socket/socketpair.c: Likewise.
68258         * stdio-common/ctermid.c: Likewise.
68259         * stdio-common/cuserid.c: Likewise.
68260         * stdio-common/remove.c: Likewise.
68261         * stdio-common/rename.c: Likewise.
68262         * stdio-common/renameat.c: Likewise.
68263         * stdio-common/tempname.c: Likewise.
68264         * stdlib/getcontext.c: Likewise.
68265         * stdlib/makecontext.c: Likewise.
68266         * stdlib/setcontext.c: Likewise.
68267         * stdlib/swapcontext.c: Likewise.
68268         * stdlib/system.c: Likewise.
68269         * streams/fattach.c: Likewise.
68270         * streams/fdetach.c: Likewise.
68271         * streams/getmsg.c: Likewise.
68272         * streams/getpmsg.c: Likewise.
68273         * streams/putmsg.c: Likewise.
68274         * streams/putpmsg.c: Likewise.
68275         * sysdeps/unix/bsd/getpt.c: Likewise.
68276         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68277         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68278         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68280         Likewise.
68281         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68282         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68283         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68284         * sysvipc/msgctl.c: Likewise.
68285         * sysvipc/msgget.c: Likewise.
68286         * sysvipc/msgrcv.c: Likewise.
68287         * sysvipc/msgsnd.c: Likewise.
68288         * sysvipc/semctl.c: Likewise.
68289         * sysvipc/semget.c: Likewise.
68290         * sysvipc/semop.c: Likewise.
68291         * sysvipc/semtimedop.c: Likewise.
68292         * sysvipc/shmat.c: Likewise.
68293         * sysvipc/shmctl.c: Likewise.
68294         * sysvipc/shmdt.c: Likewise.
68295         * sysvipc/shmget.c: Likewise.
68296         * termios/tcdrain.c: Likewise.
68297         * termios/tcflow.c: Likewise.
68298         * termios/tcflush.c: Likewise.
68299         * termios/tcgetattr.c: Likewise.
68300         * termios/tcgetpgrp.c: Likewise.
68301         * termios/tcsendbrk.c: Likewise.
68302         * termios/tcsetattr.c: Likewise.
68303         * termios/tcsetpgrp.c: Likewise.
68304         * time/adjtime.c: Likewise.
68305         * time/clock.c: Likewise.
68306         * time/getitimer.c: Likewise.
68307         * time/gettimeofday.c: Likewise.
68308         * time/setitimer.c: Likewise.
68309         * time/settimeofday.c: Likewise.
68310         * time/stime.c: Likewise.
68311         * time/time.c: Likewise.
68313 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68315         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68316         /usr/old/bin.
68318         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68319         instead of spaces.
68320         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68322 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68324         [BZ #14796]
68325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68326         FE_TONEAREST before applying Dekker multiplication and Knuth
68327         addition.  Clear inexact exceptions and check for exact zero
68328         results afterwards.
68329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68331         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68332         * math/libm-test.inc (fma_test): Add more tests.
68333         (fma_test_towardzero): Likewise.
68334         (fma_test_downward): Likewise.
68335         (fma_test_upward): Likewise.
68336         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68337         function.
68338         (libc_fesetround): New macro.
68339         (libc_fesetroundf): Likewise.
68340         (libc_fesetroundl): Likewise.
68341         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68342         function.
68343         (libc_fesetround_387): Likewise.
68344         (libc_fesetroundf): New macro.
68345         (libc_fesetround): Likewise.
68346         (libc_fesetroundl): Likewise.
68347         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68348         function.
68349         (libc_fesetroundf): New macro.
68350         (libc_fesetround): Likewise.
68351         (libc_fesetroundl): Likewise.
68352         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68353         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68354         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68355         libm_hidden_ver.
68356         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68357         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68358         libm_hidden_def.
68359         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68360         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68361         libm_hidden_ver.
68362         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68363         libm_hidden_def.
68365         [BZ #3439]
68366         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68367         integer constant usable in #if and use that to give value to enum
68368         constant.
68369         (FE_DIVBYZERO): Likewise.
68370         (FE_UNDERFLOW): Likewise.
68371         (FE_OVERFLOW): Likewise.
68372         (FE_INVALID): Likewise.
68373         (FE_INVALID_SNAN): Likewise.
68374         (FE_INVALID_ISI): Likewise.
68375         (FE_INVALID_IDI): Likewise.
68376         (FE_INVALID_ZDZ): Likewise.
68377         (FE_INVALID_IMZ): Likewise.
68378         (FE_INVALID_COMPARE): Likewise.
68379         (FE_INVALID_SOFTWARE): Likewise.
68380         (FE_INVALID_SQRT): Likewise.
68381         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68382         (FE_TONEAREST): Likewise.
68383         (FE_TOWARDZERO): Likewise.
68384         (FE_UPWARD): Likewise.
68385         (FE_DOWNWARD): Likewise.
68386         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68387         (FE_DIVBYZERO): Likewise.
68388         (FE_OVERFLOW): Likewise.
68389         (FE_UNDERFLOW): Likewise.
68390         (FE_INEXACT): Likewise.
68391         (FE_TONEAREST): Likewise.
68392         (FE_DOWNWARD): Likewise.
68393         (FE_UPWARD): Likewise.
68394         (FE_TOWARDZERO): Likewise.
68395         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68396         (FE_UNDERFLOW): Likewise.
68397         (FE_OVERFLOW): Likewise.
68398         (FE_DIVBYZERO): Likewise.
68399         (FE_INVALID): Likewise.
68400         (FE_TONEAREST): Likewise.
68401         (FE_TOWARDZERO): Likewise.
68402         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68403         (FE_OVERFLOW): Likewise.
68404         (FE_UNDERFLOW): Likewise.
68405         (FE_DIVBYZERO): Likewise.
68406         (FE_INEXACT): Likewise.
68407         (FE_TONEAREST): Likewise.
68408         (FE_TOWARDZERO): Likewise.
68409         (FE_UPWARD): Likewise.
68410         (FE_DOWNWARD): Likewise.
68411         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68412         (FE_DIVBYZERO): Likewise.
68413         (FE_OVERFLOW): Likewise.
68414         (FE_UNDERFLOW): Likewise.
68415         (FE_INEXACT): Likewise.
68416         (FE_TONEAREST): Likewise.
68417         (FE_DOWNWARD): Likewise.
68418         (FE_UPWARD): Likewise.
68419         (FE_TOWARDZERO): Likewise.
68421 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68423         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68425 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68427         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68428         commands.  Quote $PWD.
68429         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68430         -x" by "export".
68431         (remove_newlines): Remove.
68433 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68435         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68436         * stdlib/stdlib.h (atof): Moved to ...
68437         * include/bits/stdlib-float.h: Here.  New file.
68438         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68439         * stdlib/bits/stdlib-float.h: New file.
68440         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68441         -mno-sse -mno-mmx.
68442         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68443         <xmmintrin.h>.
68445 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68447         * conform/conformtest.pl (@headers): Add fenv.h.
68448         * conform/data/fenv.h-data: New file.
68449         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68450         include of <math/fenv.h>.
68452         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68453         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68454         && !UNIX98].  Enables tests for XOPEN2K8.
68455         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68456         POSIX2008]: Likewise.
68458         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68459         (struct rusage): Do not expect type or its members.
68461         [BZ #3439]
68462         * math/math.h (FP_NAN): Define macro to integer constant usable in
68463         #if and use that to give value to enum constant.
68464         (FP_INFINITE): Likewise.
68465         (FP_ZERO): Likewise.
68466         (FP_SUBNORMAL): Likewise.
68467         (FP_NORMAL): Likewise.
68469 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68471         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68472         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68473         arguments.
68475 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68477         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68478         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68479         autoconf-time if not.
68480         * configure.in: Remove AC_PREREQ.
68482 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68484         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68485         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68486         of the internal implementation.
68488 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68490         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68491         except include of <misc/sys/syslog.h>.
68493 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68496         function returns with a NULL context exit with zero.
68498 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68500         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68502 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68504         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68505         (run_program_cmd): This.
68506         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68507         (tst_langinfo): New variable.  Use it.
68509 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68511         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68512         floating point opcodes.
68514 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68516         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68517         variable.
68519         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68521         * sysdeps/mach/hurd/powerpc: Remove directory.
68522         * sysdeps/mach/powerpc: Likewise.
68524 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68526         * scripts/check-local-headers.sh: Ignore c++ headers.
68528 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68530         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68531         __libc_cleanup_region_start argument.
68533 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68535         [BZ #14784]
68536         [BZ #14785]
68537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68538         x * y using scaling, not as x * y + z.
68539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68541         * math/libm-test.inc (fma_test): Add more tests.
68542         (fma_test_towardzero): Likewise.
68543         (fma_test_downward): Likewise.
68544         (fma_test_upward): Likewise.
68546 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68548         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68550 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68552         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68553         New variable.
68555 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68557         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68559 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68562         Fix sort order.
68563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68564         Likewise.
68566 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68569         Fix the order of the list for glibc 2.17.
68570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68571         Likewise.
68573 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68577 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68579         [BZ #14610]
68580         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68581         for low part of x being zero before using __atanl (y).
68582         * math/libm-test.inc (atan2_test): Add another test.
68584         * manual/install.texi (Configuring and compiling): Document
68585         general use of test-wrapper and test-wrapper-env.
68586         * INSTALL: Regenerated.
68588         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68589         (__fma): Do not extract and scale down low bits on after-rounding
68590         systems when result rounded to normal precision would have normal
68591         exponent.
68592         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68593         (__fmal): Do not extract and scale down low bits on after-rounding
68594         systems when result rounded to normal precision would have normal
68595         exponent.
68596         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68597         (__fmal): Do not extract and scale down low bits on after-rounding
68598         systems when result rounded to normal precision would have normal
68599         exponent.
68600         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68601         macro.
68602         (fma_test): Add more tests.
68603         (fma_test_towardzero): Likewise.
68604         (fma_test_downward): Likewise.
68605         (fma_test_upward): Likewise.
68607 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68609         * sysdeps/i386/tininess.h: Renamed to ...
68610         * sysdeps/x86/tininess.h: This.
68611         * sysdeps/x86_64/tininess.h: Removed.
68613 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68615         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68616         input.  Use $(build-program-cmd).
68617         ($(objpfx)tst-array1-static.out): Likewise.
68618         ($(objpfx)tst-array2.out): Likewise.
68619         ($(objpfx)tst-array3.out): Likewise.
68620         ($(objpfx)tst-array4.out): Likewise.
68621         ($(objpfx)tst-array5.out): Likewise.
68622         ($(objpfx)tst-array5-static.out): Likewise.
68624 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68626         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68627         if defined.
68629         * nss/nsswitch.h (nss_interface_function): Provide new
68630         macro for use with NSS functions.
68631         * grp/initgroups.c: Use new macro.
68632         * nss/getXXbyYY.c: Likewise.
68633         * nss/getXXbyYY_r.c: Likewise.
68634         * nss/getXXent.c: Likewise.
68635         * nss/getXXent_r.c: Likewise.
68636         * sysdeps/posix/getaddrinfo.c: Likewise.
68638 2012-10-30  Andreas Jaeger  <aj@suse.de>
68640         * po/ru.po: Update Russion translation from translation project.
68642 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68644         [BZ #14152]
68645         [BZ #14783]
68646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68647         result and shift together with sticky bit instead of replicating
68648         round-to-nearest rounding.
68649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68651         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68652         missing underflow exceptions.
68653         (fma_test_towardzero): Add more tests.
68654         (fma_test_downward): Likewise.
68655         (fma_test_upward): Likewise.
68657         [BZ #14047]
68658         * sysdeps/generic/tininess.h: New file.
68659         * sysdeps/i386/tininess.h: Likewise.
68660         * sysdeps/sh/tininess.h: Likewise.
68661         * sysdeps/x86_64/tininess.h: Likewise.
68662         * stdlib/tst-strtod-underflow.c: Likewise.
68663         * stdlib/tst-tininess.c: Likewise.
68664         * stdlib/strtod_l.c: Include <tininess.h>.
68665         (round_and_return): Do not set errno for exact underflow cases.
68666         Force an underflow exception when setting errno for underflow.
68667         Determine underflow based on rounding to normal precision if
68668         TININESS_AFTER_ROUNDING.
68669         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68670         ERANGE for exact underflow cases.
68671         * stdlib/Makefile (tests): Add tst-tininess and
68672         tst-strtod-underflow.
68673         ($(objpfx)tst-tininess): Use $(link-libm).
68674         ($(objpfx)tst-strtod-underflow): Likewise.
68676 2012-10-30  Andreas Jaeger  <aj@suse.de>
68678         [BZ #14767]
68679         * elf/Makefile (tests): Remove conditional for have-initfini-array
68680         since this is now always required and the variable does not exist
68681         anymore.
68682         (tests-static): Likewise.
68683         (modules-names): Likewise.
68685         * po/eo.po: Add Esperanto translation from translation project.
68687         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68688         merged with constructor/destructor.
68689         (init_array): Likewise.
68690         * elf/tst-array2dep.c (fini_array): Likewise.
68691         (init_array): Likewise.
68693 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68695         * manual/message.texi: Delete @cartouche tags.
68697 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68699         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68700         EOPNOTSUPP.
68701         * sysdeps/mach/hurd/fsync.c: Likewise.
68703         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68704         [_POSIX_REALTIME_SIGNALS]: Change condition to
68705         [_POSIX_REALTIME_SIGNALS > 0].
68707 2012-10-27  Andreas Jaeger  <aj@suse.de>
68709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68710         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68712         [__WORDSIZE != 64]: Likewise.
68714 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68716         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68717         *  iconvdata/tst-tables.sh: Likewise.
68719 2012-10-25  David S. Miller  <davem@davemloft.net>
68721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68722         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68723         of strtoull.
68725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68726         ifunc-impl-list.c
68727         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68728         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68729         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68730         file.
68732 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68735         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68736         __getdirentries.
68738 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68739             Jim Blandy  <jimb@codesourcery.com>
68741         * scripts/cross-test-ssh.sh: New file.
68742         * manual/install.texi (Configuring and compiling): Document use of
68743         cross-test-ssh.sh.
68744         * INSTALL: Regenerated.
68746 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68748         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68749         EOPNOTSUPP.
68751 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68753         * Makeconfig (run-program-prefix): Fix comment.
68755 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68756             Jim Blandy  <jimb@codesourcery.com>
68758         * Makeconfig (test-wrapper): New variable,
68759         (test-wrapper-env): Likewise.
68760         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68761         (run-built-tests): Define to yes.
68762         (run-program-prefix): Use $(test-wrapper).
68763         (built-program-cmd): Likewise.
68764         * Rules (make-test-out): Use $(test-wrapper-env) and
68765         $(host-built-program-cmd).
68766         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68767         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68768         tst-pathopt.sh.
68769         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68770         $(test-wrapper-env) to tst-rtld-load-self.sh.
68771         ($(objpfx)order2.out): Use $(test-wrapper).
68772         ($(objpfx)tst-initorder.out): Likewise.
68773         ($(objpfx)tst-initorder2.out): Likewise.
68774         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68775         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68776         (test_wrapper_env): New variable.  Use it to run ld.so.
68777         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68778         Use it to run ld.so.
68779         (test_wrapper_env): Likewise.
68780         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68781         $(test-wrapper) to run-iconv-test.sh.
68782         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68783         (ICONV): Use $test_wrapper.
68784         * posix/Makefile ($(objpfx)globtest.out): Pass
68785         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68786         globtest.sh, not $(run-program-prefix).
68787         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68788         (test_wrapper): Likewise.
68789         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68790         set together with run_via_rtld_prefix.
68791         (run_program_prefix): Define in terms of test_wrapper and
68792         run_via_rtld_prefix.
68794 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68796         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68797         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68798         Targets removed.
68800         [BZ #14743]
68801         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68802         Declare __clock_getres, __clock_gettime, __clock_settime,
68803         __clock_nanosleep, and __clock_getcpuclockid.
68804         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68805         Remove librt_hidden_def (clock_gettime).
68806         * sysdeps/unix/clock_gettime.c: Likewise.
68807         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68809         * rt/clock_getres.c: Define __clock_getres as an alias.
68810         * sysdeps/posix/clock_getres.c: Likewise.
68811         * rt/clock_settime.c: Define __clock_settime as an alias.
68812         * sysdeps/unix/clock_settime.c: Likewise.
68813         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68814         * sysdeps/unix/clock_nanosleep.c: Likewise.
68815         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68816         * rt/clock-compat.c: New file.
68817         * rt/Makefile (librt-routines): Add clock-compat and move
68818         $(clock-routines) to ...
68819         (routines): ... here, new variable.
68820         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68821         Don't add get_clockfreq here.
68822         * rt/Versions (libc: GLIBC_2.17): New version set.
68823         Add clock_* symbols here.
68824         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68825         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68826         (GLIBC_2.17): Add clock_* symbols.
68827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68831         Likewise.
68832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68833         Likewise.
68834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68838         * NEWS: Mention the move.
68840         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68841         Use __open, __read, __close rather than their public counterparts.
68842         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68843         (__get_clockfreq_via_cpuinfo): Likewise.
68844         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68845         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68847         * config.h.in (HAVE_IFUNC): New #undef.
68848         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68849         was successful.
68850         * configure: Regenerated.
68852 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68854         * configure.in: Move READELF check to start of file.
68855         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68856         libc_cv_asm_gnu_indirect_function in the process.
68857         * configure: Regenerated.
68859 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68861         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68862         send the output to /dev/null.
68863         (libc_cv_cc_with_libunwind): Likewise.
68864         (libc_cv_as_noexecstack): Likewise.
68865         * configure: Regenerate.
68867 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68869         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68871         * posix/globtest.sh (TMPDIR): Do not set.
68872         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68873         (testout): Likewise.
68875 2012-10-24  Andreas Jaeger  <aj@suse.de>
68877         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68878         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68879         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68880         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68881         posix_fadvise64, posix_fallocate64.
68883         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68884         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68885         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68886         Likewise.
68887         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68888         Likewise.
68889         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68892         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68893         <bits/fcntl-linux.h>.
68894         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68897         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68898         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68899         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68900         [__WORDSIZE != 64]: Likewise.
68902 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68904         * Makeconfig (run-built-tests): New variable.
68905         * Rules [$(cross-compiling) = yes]: Change condition to
68906         [$(run-built-tests) = no].
68907         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68908         to [$(run-built-tests) = yes].
68909         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68910         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68911         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68912         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68913         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68914         * io/Makefile [$(cross-compiling) = no]: Likewise.
68915         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68916         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68917         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68918         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68919         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68920         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68921         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68922         * string/Makefile [$(cross-compiling) = no]: Likewise.
68924         * posix/Makefile ($(objpfx)globtest.out): Pass
68925         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68926         $(rtld-installed-name).
68927         * posix/globtest.sh (elf_objpfx): Remove variable.
68928         (rtld_installed_name): Likewise.
68929         (library_path): Likewise.
68930         (run_program_prefix): New variable.  Use for running globtest
68931         binary.
68933 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68934             Joseph Myers  <joseph@codesourcery.com>
68936         * Makeconfig (host-built-program-cmd): New variable.
68937         * elf/Makefile (tst-stackguard1-ARGS): Use
68938         $(host-built-program-cmd).
68939         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68940         (tst-spawn-ARGS): Likewise.
68941         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68943 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68944             Jim Blandy  <jimb@codesourcery.com>
68946         * Makeconfig (run-via-rtld-prefix): New variable.
68947         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68948         (built-program-cmd): Likewise.
68950 2012-10-22  Andreas Jaeger  <aj@suse.de>
68952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68953         __O_RSYNC if it exists, otherwise to O_SYNC.
68955 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68956             Joseph Myers  <joseph@codesourcery.com>
68958         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68959         /dev/null.
68960         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68961         from /dev/null
68962         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68963         /dev/null.
68965 2012-10-22  Andreas Jaeger  <aj@suse.de>
68967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68968         Define always.
68969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68972         bits/fcntl-linux.h.
68974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68975         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68978         to __O_LARGEFILE.
68979         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68980         to __O_LARGEFILE.
68982 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68983             Joseph Myers  <joseph@codesourcery.com>
68985         * config.make.in (NM): New variable.
68987 2012-10-21  Andreas Jaeger  <aj@suse.de>
68989         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68990         definitions and declarations that are provided by
68991         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68993 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68995         [BZ #14683]
68996         * elf/Makefile (tests-static): Add tst-leaks1-static.
68997         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68998         ($(objpfx)tst-leaks1-static): New rule.
68999         ($(objpfx)tst-leaks1-static-mem): Likewise.
69000         (tst-leaks1-static-ENV): New macro.
69001         * elf/dl-open.c (dl_open_worker): Check the main application
69002         only if SHARED is defined.
69003         * elf/tst-leaks1-static.c: New file.
69005 2012-10-20  Andreas Jaeger  <aj@suse.de>
69007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69008         generic values for Linux.
69009         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69010         and declarations that are provided by <bits/fcntl-linux.h> and
69011         include <bits/fcntl-linux.h>.
69012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69015 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69017         * io/fcntl.h: Move include of <bits/types.h> to the top and
69018         include it unconditionally.
69020 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69022         * wcsmbs/Makefile (tests-ifunc): New variable.
69023         (tests): Add $(tests-ifunc).
69024         * wcsmbs/test-wcschr-ifunc.c: New file.
69025         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69026         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69027         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69028         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69029         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69031         * string/Makefile (tests-ifunc): New variable.
69032         (tests): Add $(tests-ifunc).
69033         * string/test-memccpy.c (TEST_NAME): New macro.
69034         * string/test-memchr.c (TEST_NAME): Likewise.
69035         * string/test-memcmp.c (TEST_NAME): Likewise.
69036         * string/test-memcpy.c (TEST_NAME): Likewise.
69037         * string/test-memmem.c (TEST_NAME): Likewise.
69038         * string/test-memmove.c (TEST_NAME): Likewise.
69039         * string/test-memset.c (TEST_NAME): Likewise.
69040         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69041         * string/test-stpcpy.c (TEST_NAME): Likewise.
69042         * string/test-stpncpy.c (TEST_NAME): Likewise.
69043         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69044         * string/test-strcasestr.c (TEST_NAME): Likewise.
69045         * string/test-strcat.c (TEST_NAME): Likewise.
69046         * string/test-strchr.c (TEST_NAME): Likewise.
69047         * string/test-strcmp.c(TEST_NAME): Likewise.
69048         * string/test-strcpy.c (TEST_NAME): Likewise.
69049         * string/test-strcspn.c (TEST_NAME): Likewise.
69050         * string/test-strlen.c (TEST_NAME): Likewise.
69051         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69052         * string/test-strncmp.c (TEST_NAME): Likewise.
69053         * string/test-strncpy.c (TEST_NAME): Likewise.
69054         * string/test-strnlen.c (TEST_NAME): Likewise.
69055         * string/test-strpbrk.c (TEST_NAME): Likewise.
69056         * string/test-strrchr.c (TEST_NAME): Likewise.
69057         * string/test-strspn.c (TEST_NAME): Likewise.
69058         * string/test-strstr.c (TEST_NAME): Likewise.
69059         * string/test-bcopy-ifunc.c: New file.
69060         * string/test-bzero-ifunc.c: Likewise.
69061         * string/test-memccpy-ifunc.c: Likewise.
69062         * string/test-memchr-ifunc.c: Likewise.
69063         * string/test-memcmp-ifunc.c: Likewise.
69064         * string/test-memcpy-ifunc.c: Likewise.
69065         * string/test-memmem-ifunc.c: Likewise.
69066         * string/test-memmove-ifunc.c: Likewise.
69067         * string/test-mempcpy-ifunc.c: Likewise.
69068         * string/test-memset-ifunc.c: Likewise.
69069         * string/test-rawmemchr-ifunc.c: Likewise.
69070         * string/test-stpcpy-ifunc.c: Likewise.
69071         * string/test-stpncpy-ifunc.c: Likewise.
69072         * string/test-strcasecmp-ifunc.c: Likewise.
69073         * string/test-strcasestr-ifunc.c: Likewise.
69074         * string/test-strcat-ifunc.c: Likewise.
69075         * string/test-strchr-ifunc.c: Likewise.
69076         * string/test-strchrnul-ifunc.c: Likewise.
69077         * string/test-strcmp-ifunc.c: Likewise.
69078         * string/test-strcpy-ifunc.c: Likewise.
69079         * string/test-strcspn-ifunc.c: Likewise.
69080         * string/test-strlen-ifunc.c: Likewise.
69081         * string/test-strncasecmp-ifunc.c: Likewise.
69082         * string/test-strncat-ifunc.c: Likewise.
69083         * string/test-strncmp-ifunc.c: Likewise.
69084         * string/test-strncpy-ifunc.c: Likewise.
69085         * string/test-strnlen-ifunc.c: Likewise.
69086         * string/test-strpbrk-ifunc.c: Likewise.
69087         * string/test-strrchr-ifunc.c: Likewise.
69088         * string/test-strspn-ifunc.c: Likewise.
69089         * string/test-strstr-ifunc.c: Likewise.
69091         * debug/Makefile (tests-ifunc): New variable.
69092         (tests): Add $(tests-ifunc).
69093         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69094         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69095         * debug/test-stpcpy_chk-ifunc.c: New file.
69096         * debug/test-strcpy_chk-ifunc.c: Likewise.
69098 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69100         [BZ #13601]
69101         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69102         header is not read in.
69104 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69106         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69107         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69108         directly.  Pass built executable to script as
69109         $(built-program-cmd).
69110         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69111         $testprogram without using LD_LIBRARY_PATH and $ldso.
69113         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69114         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69115         $(rtld-installed-name).
69116         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69117         (rtld_installed_name): Likewise.
69118         (library_path): Likewise.
69119         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69120         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69121         $(run-program-prefix) to tst-tables.sh.
69122         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69123         it to run tst-table-from and tst-table-to.
69124         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69125         Pass it to tst-table.sh.
69126         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69127         $(run-program-prefix) to tst-gettext.sh.
69128         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69129         tst-translit.sh.
69130         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69131         tst-gettext2.sh.
69132         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69133         to run tst-gettext.
69134         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69135         to run tst-gettext2.
69136         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69137         to run tst-translit.
69138         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69139         $(run-program-prefix) to tst-mtrace.sh.
69140         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69141         to run tst-mtrace.
69142         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69143         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69144         $(rtld-installed-name).
69145         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69146         (rtld_installed_name): Likewise.
69147         (run_program_prefix): New variable.  Use it to run wordexp-test.
69149         * Makeconfig (ARCH): Remove all definitions.
69150         (machine): Likewise.
69151         [ARCH]: Remove conditional code.
69152         [!objdir]: Give error.
69153         [!objdir] (objpfx): Remove.
69154         [!objdir] (common-objpfx): Likewise.
69155         [!objdir] (common-objdir): Likewise.
69156         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69157         AC_CONFIG_FILES call.
69158         * configure: Regenerated.
69160         [BZ #13888]
69161         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69162         or TMPDIR.
69163         (testout): Likewise.
69165         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69166         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69167         $(rtld-installed-name).
69168         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69169         (rtld_installed_name): Likewise.
69170         (runit): Remove function.
69171         (run_getconf): New variable,  Use it for running getconf binary.
69173 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69175         [BZ #14716]
69176         * string/test-memmem.c (check_result): New function.
69177         (do_one_test): Use it.
69178         (check1): New function.
69179         (test_main): Use it.
69181 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69183         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69185 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69187         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69188         (_G_LSEEK64): Likewise.
69189         (_G_MMAP64): Likewise.
69190         (_G_FSTAT64): Likewise.
69191         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69192         (_G_LSEEK64): Likewise.
69193         (_G_MMAP64): Likewise.
69194         (_G_FSTAT64): Likewise.
69195         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69196         unconditional.  Call __mmap64 directly.
69197         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69198         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69199         __lseek64 directly.
69200         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69201         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69202         __mmap64 directly.
69203         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69204         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69205         __lseek64 directly.
69206         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69207         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69208         __lseek64 directly.
69209         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69210         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69211         __lseek64 directly.
69212         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69213         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69214         __fxstat64 directly.
69215         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69216         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69217         unconditional.
69218         (freopen64) [!_G_OPEN64]: Remove conditional code.
69219         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69220         unconditional.
69221         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69222         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69223         unconditional.
69224         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69225         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69226         unconditional.
69227         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69228         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69229         unconditional.
69230         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69231         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69232         unconditional.
69233         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69234         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69235         unconditional.
69236         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69237         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69238         unconditional.
69239         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69241 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69243         [BZ #12140]
69244         * manual/memory.texi (Malloc Tunable Parameters): Add note
69245         about free list pointers overwriting some perturb bytes.
69246         Wording suggested by Roland McGrath.
69248 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69250         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69251         (lgamma_test): Likewise.
69252         (tgamma_test): Likewise.
69254 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69256         [BZ #14700]
69257         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69258         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69260 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69262         * NEWS: Mention BZ #14716.
69263         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69264         when removing AVAILABLE1_USES_J macro.
69266 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69268         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69269         (__bswap_64): __uint64_t for unsigned 64-bit int.
69271 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69273         * include/string.h (memmem): Declare libc hidden alias.
69274         * string/memmem.c (memmem): Define libc hidden alias.
69275         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69276         __read, __close instead of open, read, close.
69278 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69281         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69282         global and hidden.
69283         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69284         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69285         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69286         Likewise.
69287         (__rawmemchr_sse2): Likewise.
69288         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69289         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69290         (__strchr_sse2): Likewise.
69291         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69292         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69293         (__strcasecmp_sse2): Likewise.
69294         (__strncasecmp_sse2): Likewise.
69295         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69296         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69297         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69298         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69299         (__strrchr_sse2): Likewise.
69300         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69301         ifunc-impl-list.c.
69302         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69303         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69304         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69305         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69306         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69307         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69308         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69309         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69310         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69311         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69312         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69313         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69314         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69315         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69316         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69317         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69318         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69319         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69320         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69321         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69322         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69323         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69324         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69325         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69326         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69328         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69329         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69330         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69331         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69333         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69334         global and hidden.
69335         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69336         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69337         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69338         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69339         Likewise.
69340         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69341         Likewise.
69342         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69343         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69344         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69345         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69346         ifunc-impl-list.c.
69347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69348         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69349         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69350         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69351         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69352         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69353         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69354         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69355         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69356         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69357         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69358         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69359         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69360         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69361         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69362         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69363         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69364         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69366         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69367         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69368         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69369         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69370         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69371         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69372         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69373         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69374         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69375         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69376         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69377         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69378         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69379         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69380         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69381         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69382         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69383         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69384         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69385         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69386         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69387         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69389         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69390         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69391         * include/ifunc-impl-list.h: New file.
69392         * misc/ifunc-impl-list.c: Likewise.
69393         * misc/Makefile (routines): Add ifunc-impl-list.
69394         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69395         * string/test-string.h: Include <ifunc-impl-list.h>.
69396         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69397         TEST_NAME]: New variables.
69398         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69399         are defined.
69400         (test_init): Call __libc_ifunc_impl_list to initialize
69401         func_list if TEST_IFUNC and TEST_NAME are defined.
69403         * string/Makefile (strop-tests): Add bcopy and bzero.
69404         * string/test-bcopy.c: New file.
69405         * string/test-bzero.c: Likewise.
69406         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69407         defined.
69408         * string/test-memset.c: Support bzero test if TEST_BZERO is
69409         defined.
69410         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69411         __libc_memmove.
69412         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69413         __libc_memset.
69414         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69415         of memset.
69417 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69419         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69420         * configure: Regenerated.
69422         * Makeconfig (+link-static-before-libc): Don't include
69423         $(link-static-libc).
69425         * libio/libio.h (_IO_pos_t): Remove.
69427 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69429         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69430         McGrath.
69432 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69434         * crypt/crypt-entry.c: Include fips-private.h.
69435         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69436         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69437         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69438         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69440 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69442         * crypt/crypt-private.h: Include stdbool.h.
69443         (_ufc_setup_salt_r): Return bool.
69444         * crypt/crypt-entry.c: Include errno.h.
69445         (__crypt_r): Return NULL with EINVAL for bad salt.
69446         * crypt/crypt_util.c (bad_for_salt): New.
69447         (_ufc_setup_salt_r): Check that salt is long enough and within
69448         the specified alphabet.
69449         * crypt/badsalttest.c: New file.
69450         * crypt/Makefile (tests): Add it.
69451         ($(objpfx)badsalttest): New.
69453 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69455         * NEWS: Add entry for BZ #14602.
69457 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69459         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69460         type-generic.
69461         * math/libm-test.inc: Update comment listing what functions and
69462         macros are tested.
69463         (isgreater_test): New function.
69464         (isgreaterequal_test): Likewise.
69465         (isless_test): Likewise.
69466         (islessequal_test): Likewise.
69467         (islessgreater_test): Likewise.
69468         (isunordered_test): Likewise.
69469         (main): Call the new functions.
69471 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69473         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69474         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69475         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69476         * sysdeps/i386/configure: Regenerated.
69477         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69478         * sysdeps/mach/configure: Regenerated.
69479         * sysdeps/mach/hurd/configure: Regenerated.
69480         * sysdeps/powerpc/configure: Regenerated.
69481         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69482         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69483         * sysdeps/s390/s390-32/configure: Regenerated.
69484         * sysdeps/s390/s390-64/configure: Regenerated.
69485         * sysdeps/sh/configure: Regenerated.
69486         * sysdeps/sparc/configure: Regenerated.
69487         * sysdeps/unix/sysv/linux/configure: Regenerated.
69488         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69489         * sysdeps/x86_64/configure: Regenerated.
69491         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69492         defined.  Don't check if MAP is NULL.
69494 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69496         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69497         (_G_stat64): Likewise.
69498         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69499         (_G_stat64): Likewise.
69500         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69501         instead of struct _G_stat64.
69502         * libio/fileops.c (mmap_remap_check): Likewise.
69503         (decide_maybe_mmap): Likewise.
69504         (_IO_new_file_seekoff): Likewise.
69505         (_IO_file_stat): Likewise.
69506         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69507         _G_off64_t.
69508         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69509         instead of struct _G_stat64.
69510         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69512 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69514         [BZ #14602]
69515         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69516         Replace with ...
69517         (CHECK_EOL): New macro.
69518         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69519         CHECK_EOL.
69520         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69521         Replace with CHECK_EOL.
69522         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69523         Replace with CHECK_EOL.
69525 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69527         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69528         type-generic.
69529         * math/libm-test.inc: Update comment listing what functions and
69530         macros are tested.
69531         (finite_test): New function.
69532         (isinf_test): Likewise.
69533         (isnan_test): Likewise.
69534         (fpclassify_test): Test subnormal input.
69535         (isfinite_test): Likewise.
69536         (isnormal_test): Likewise.
69537         (main): Call the new functions.
69539 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69541         [BZ #14660]
69542         * Makerules (%.dynsym): Force C locale when running
69543         $(OBJDUMP) --dynamic-syms.
69545 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69547         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69548         <stdint.h>.
69550 2012-10-06  David S. Miller  <davem@davemloft.net>
69552         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69553         upper 32-bits of the length value in %o2 since we use branch-on-register
69554         tests which consider the entire 64-bit register.
69556 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69558         * string/test-strstr.c (check2): Add a test for page boundary.
69560 2012-10-05  David S. Miller  <davem@davemloft.net>
69562         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69563         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69564         file.
69565         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69566         sysdep_routines.
69567         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69568         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69569         and bzero when HWCAP_SPARC_CRYPTO is present.
69571 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69573         [BZ #14602]
69574         * string/test-strstr.c (check2): New function.
69575         (test_main): Call check2.
69577         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69578         and bug-strchr1.
69579         * string/bug-strcasestr1.c (do_test): Moved to ...
69580         * string/test-strcasestr.c (check1): Here.  New function.
69581         (do_one_test): Break out result checking code into ...
69582         (check_result): This.  New function.
69583         (do_one_test): Call check_result.
69584         (test_main): Call check1.
69585         * string/bug-strchr1.c (do_test): Moved to ...
69586         * string/test-strchr.c (check1): Here.  New function.
69587         (do_one_test): Break out result checking code into ...
69588         (check_result): This.  New function.
69589         (do_one_test): Call check_result.
69590         (test_main): Call check1.
69591         * string/bug-strstr1.c (main): Moved to ...
69592         * string/test-strstr.c (check1): Here.  New function.
69593         (do_one_test): Break out result checking code into ...
69594         (check_result): This.  New function.
69595         (do_one_test): Call check_result.
69596         (test_main): Call check1.
69597         * string/bug-strcasestr1.c: Removed.
69598         * string/bug-strchr1.c: Likewise.
69599         * string/bug-strstr1.c: Likewise.
69601         * elf/Makefile (dl-routines): Add hwcaps.
69602         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69603         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69604         (_dl_important_hwcaps): Moved to ...
69605         * elf/dl-hwcaps.c: Here.  New file.
69606         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69608         [BZ #14557]
69609         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69610         if IS_IN_rtld isn't defined.
69612         * elf/dl-support.c (_dl_sysinfo_map): New.
69613         Include "get-dynamic-info.h" and "setup-vdso.h".
69614         (_dl_non_dynamic_init): Call setup_vdso.
69615         * elf/dynamic-link.h: Don't include <assert.h>.
69616         (elf_get_dynamic_info): Moved to ...
69617         * elf/get-dynamic-info.h: Here.  New file.
69618         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69619         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69620         * elf/setup-vdso.h: Here.  New file.
69621         * elf/rtld.c: Include "setup-vdso.h".
69622         (dl_main): Call setup_vdso.
69624 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69626         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69627         creal in comment listing functions tested.  List finite, isinf,
69628         isnan, isless, islessequal, isgreater, isgreaterequal,
69629         islessgreater, isunordered, lgamma_r and pow10 as functions and
69630         macros not tested.  Mention which functions not tested are aliases
69631         for other functions.  Fix typo.  Note that signs of NaNs are not
69632         tested.
69634         * scripts/config.guess: Update from config.git.
69635         * scripts/config.sub: Likewise.
69637 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69639         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69640         * misc/madvise.c (madvise): Renamed to __madvise.
69641         Make madvise a weak alias.
69642         * include/sys/mman.h: Declare __madvise.
69643         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69644         * sysdeps/unix/syscalls.list
69645         (madvise): Make __madvise the strong name, and madvise a weak alias.
69646         * sysdeps/unix/sysv/linux/syscalls.list
69647         (madvise, mmap): Remove redundant entries.
69648         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69649         * malloc/malloc.c (mtrim): Likewise.
69650         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69652 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69654         * sysdeps/mach/hurd/dl-cache.c: File removed.
69655         * config.h.in (USE_LDCONFIG): New #undef.
69656         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69657         * configure: Regenerated.
69658         * elf/Makefile (dl-routines): Add dl-cache only under
69659         [$(use-ldconfig) = yes].
69660         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69661         cache on [USE_LDCONFIG].
69662         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69663         [USE_LDCONFIG].
69664         * elf/rtld.c (dl_main): Likewise.
69666 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69668         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69669         _SC_LEVEL4_CACHE_LINESIZE.
69671 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69673         * sysdeps/unix/bsd/confstr.h: File removed.
69675 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69677         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69678         sys/sdt-config.h.
69680 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69682         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69683         Make 'mapoff' field ElfW(Off) rather than off_t.
69685 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69687         * nscd/Makefile: Remove nscd-cflags and all its users.
69688         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69689         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69691         [BZ #10631]
69692         * malloc.c (malloc_printerr): Clarify error message.
69694 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69696         [BZ #14648]
69697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69698         Set bit_FMA_Usable if FMA is supported.
69699         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69700         macro.
69701         (bit_FMA4_Usable): Updated.
69702         (index_FMA_Usable): New macro.
69703         (CPUID_FMA): Likewise.
69704         (HAS_FMA): Defined with bit_FMA_Usable.
69706 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69708         * bits/types.h (__swblk_t): Type removed.
69709         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69710         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69711         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69712         (__SWBLK_T_TYPE): Likewise.
69713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69714         (__SWBLK_T_TYPE): Likewise.
69715         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69716         (__SWBLK_T_TYPE): Likewise.
69717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69718         (__SWBLK_T_TYPE): Likewise.
69720 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69721             Honza Horak <hhorak@redhat.com>
69723         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69724         (xdr_mapname): Use YPMAXMAP as maxsize.
69725         (xdr_peername): Use YPMAXPEER as maxsize.
69726         (xdr_keydat): Use YPAXRECORD as maxsize.
69727         (xdr_valdat): Use YPMAXRECORD as maxsize.
69729 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69731         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69733         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69734         * csu/init-first.c: ... here.
69735         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69736         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69737         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69738         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69739         * sysdeps/i386/init-first.c: File removed.
69740         * sysdeps/sh/init-first.c: File removed.
69742 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69744         [BZ #14645]
69745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69746         if x * y might underflow to zero and z is zero.
69747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69749         * math/libm-test.inc (min_subnorm_value): New variable.
69750         (fma_test): Add more tests.
69751         (fma_test_towardzero): Likewise.
69752         (fma_test_downward): Likewise.
69753         (fma_test_upward): Likewise.
69754         (initialize): Set min_subnorm_value.
69756 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69758         [BZ #14638]
69759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69760         0 + 0.
69761         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69762         mode for addition resulting in exact zero.
69763         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69765         exact 0 + 0.
69766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69768         * math/libm-test.inc (fma_test): Add more tests.
69769         (fma_test_towardzero): New function.
69770         (fma_test_downward): Likewise.
69771         (fma_test_upward): Likewise.
69772         (main): Call the new functions.
69774 2012-09-28  David S. Miller  <davem@davemloft.net>
69776         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69778 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69780         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69781         instead of SIGALRM.
69783         * sysdeps/gnu/_G_config.h: Moved to ...
69784         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69785         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69786         * sysdeps/generic/_G_config.h: ... here.
69788         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69790         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69792         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69793         Conditionalize target on [libnss_test1.so-version].
69795         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69797         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69798         (elfobjdir): Move out of conditionals.
69800         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69801         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69802         (__nss_lookup_function): Conditionalize label remove_from_tree on
69803         [!DO_STATIC_NSS || SHARED], matching its only use.
69805 2012-09-28  David S. Miller  <davem@davemloft.net>
69807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69808         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69809         file.
69810         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69811         sysdep_routines.
69812         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69814         when HWCAP_SPARC_CRYPTO is present.
69816 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69818         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69820 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69822         [BZ #6530]
69823         * stdio-common/vfprintf.c (process_string_arg): Revert
69824         2000-07-22 change.
69826 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69828         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69829         for testcase.
69830         * stdio-common/tst-sprintf.c: Include <locale.h>
69831         (main): Test sprintf's handling of incomplete multibyte
69832         characters.
69834 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69836         * elf/dl-runtime.c (VERSYMIDX): Removed.
69837         * elf/dl-version.c (VERSYMIDX): Likewise.
69838         * elf/do-rel.h (VERSYMIDX): Likewise.
69839         (VALIDX): Likewise.
69840         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69841         * elf/rtld.c (VALIDX): Likewise.
69842         (ADDRIDX): Likewise.
69843         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69844         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69845         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69846         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69847         (VALIDX): Likewise.
69848         (ADDRIDX): Likewise.
69850 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69852         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69854 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69856         [BZ #11438]
69857         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69858         to global scope.
69859         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69860         addresses are in the same scope as 192.0.2/24.
69861         * posix/gai.conf: Document new scope table defaults.
69863 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69865         [BZ #5298]
69866         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69867         for ftell.  Compute offsets from write pointers instead.
69868         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69870 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69872         [BZ #14543]
69873         * libio/Makefile (tests): New test case tst-fseek.
69874         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69875         combination works in wide mode.
69876         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69877         state when the external buffer state changes.
69879 2012-09-27  David S. Miller  <davem@davemloft.net>
69881         [BZ #14376]
69882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69883         pass reloc->r_addend in as the 'high' argument to
69884         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69888 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69890         * rt/tst-aio2.c: Include <pthread.h>.
69891         * rt/tst-aio3.c: Likewise.
69893 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69895         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69897 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69899         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69900         contents on [SHARED].
69902 2012-09-26  Marek Polacek  <polacek@redhat.com>
69904         [BZ #14530]
69905         [BZ #13741]
69906         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69907         for C++ and GCC <4.3 as well as for non GCC compilers.
69909 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69913 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69915         * Makefile.in (all, install): Declare with .PHONY.
69916         Reported by Michael Hope <michael.hope@linaro.org>.
69918 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69920         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69921         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69922         system header.
69923         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69924         Likewise.
69925         (sydep_routines): Add the new and the internal functions.
69926         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69927         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69929         (GLIBC_2.17): Add the new function.
69930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69931         (GLIBC_2.17): Likewise.
69932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69933         (GLIBC_2.17): Likewise.
69934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69935         (GLIBC_2.17): Likewise.
69936         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69938 2012-09-25  Alan Modra  <amodra@gmail.com>
69940         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69941         Add release barrier before setting once_control to say
69942         initialisation is done.  Add hints on lwarx.  Use macro in
69943         place of isync.
69944         (clear_once_control): Add release barrier.
69946 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69948         [BZ #13629]
69949         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69950         specially.
69951         * math/s_clog10.c (__clog10): Likewise.
69952         * math/s_clog10f.c (__clog10f): Likewise.
69953         * math/s_clog10l.c (__clog10l): Likewise.
69954         * math/s_clogf.c (__clogf): Likewise.
69955         * math/s_clogl.c (__clogl): Likewise.
69956         * math/Makefile (libm-calls): Add x2y2m1.
69957         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69958         (__x2y2m1): Likewise.
69959         (__x2y2m1l): Likewise.
69960         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69961         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69962         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69963         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69964         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69965         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69966         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69967         * sysdeps/i386/fpu/libm-test-ulps: Update.
69968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69970         [BZ #14621]
69971         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69972         int as type of variable DEPTH.
69973         (glob): Use size_t instead of int as type of variables NEWCOUNT
69974         and OLD_PATHC.
69976 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69978         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69979         Add s_sincosf-sse2.
69980         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69981         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69982         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69983         macros for using routine as __sincosf_ia32.
69984         Use macro for function declaration and weak_alias.
69985         * sysdeps/i386/fpu/libm-test-ulps: Update.
69987         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69990         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69991         subnormal argument.
69992         * math/s_cexpf.c (__cexpf): Likewise.
69993         * math/s_csinf.c (__csinf): Likewise.
69994         * math/s_csinhf.c (__csinhf): Likewise.
69995         * math/s_ctanf.c (__ctanf): Likewise.
69996         * math/s_ctanhf.c (__ctanhf): Likewise.
69997         * math/s_ccosh.c (__ccoshf): Likewise.
69998         * math/s_cexp.c (__cexpl): Likewise.
69999         * math/s_csin.c (__csin): Likewise.
70000         * math/s_csinh.c (__csinh): Likewise.
70001         * math/s_ctan.c (__ctan): Likewise.
70002         * math/s_ctanh.c (ctanh): Likewise.
70003         * math/s_ccoshl.c (__ccoshl): Likewise.
70004         * math/s_cexpl.c (__cexpl): Likewise.
70005         * math/s_csinl.c (__csinl): Likewise.
70006         * math/s_csinhl.c (__csinhl): Likewise.
70007         * math/s_ctanl.c (__ctanl): Likewise.
70008         * math/s_ctanhl.c (__ctanhl): Likewise.
70010 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70012         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70013         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70014         (_IO_off_t): Define to __off_t, not _G_off_t.
70015         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70016         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70017         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70018         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70019         type of __dummy and __dummy2 fields.
70020         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70021         (_G_ssize_t): Likewise.
70022         (_G_off_t): Likewise.
70023         (_G_pid_t): Likewise.
70024         (_G_uid_t): Likewise.
70025         (_G_wchar_t): Likewise.
70026         (_G_wint_t): Likewise.
70027         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70028         (_G_ssize_t): Likewise.
70029         (_G_off_t): Likewise.
70030         (_G_pid_t): Likewise.
70031         (_G_uid_t): Likewise.
70032         (_G_wchar_t): Likewise.
70033         (_G_wint_t): Likewise.
70034         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70035         (_G_ssize_t): Likewise.
70036         (_G_off_t): Likewise.
70037         (_G_pid_t): Likewise.
70038         (_G_uid_t): Likewise.
70039         (_G_wchar_t): Likewise.
70040         (_G_wint_t): Likewise.
70042 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70044         * malloc/arena.c: Include malloc-sysdep.h.
70045         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70046         is sufficient to shrink the heap or an unmap is needed.
70047         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70048         new function check_may_shrink_heap.
70049         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70050         new function check_may_shrink_heap.
70052 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70054         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70055         comments.
70057 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70059         * catgets/test-gencat.sh: Add "set -e".
70060         * elf/tst-pathopt.sh: Likewise.
70061         * grp/tst_fgetgrent.sh: Likewise.
70062         * iconvdata/run-iconv-test.sh: Likewise.
70063         * intl/tst-gettext.sh: Likewise.
70064         * intl/tst-gettext2.sh: Likewise.
70065         * intl/tst-gettext4.sh: Likewise.
70066         * intl/tst-gettext6.sh: Likewise.
70067         * intl/tst-translit.sh: Likewise.
70068         * io/ftwtest-sh: Likewise.
70069         * libio/test-freopen.sh: Likewise.
70070         * malloc/tst-mtrace.sh: Likewise.
70071         * posix/globtest.sh: Likewise.
70072         * posix/tst-getconf.sh: Likewise.
70073         * posix/wordexp-tst.sh: Likewise.
70074         * stdio-common/tst-printf.sh: Likewise.
70075         * stdio-common/tst-unbputc.sh: Likewise.
70076         * stdlib/tst-fmtmsg.sh: Likewise.
70077         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70078         * catgets/Makefile: Do not specify -e option when running
70079         testsuite shell scripts.
70080         * elf/Makefile: Likewise.
70081         * grp/Makefile: Likewise.
70082         * iconvdata/Makefile: Likewise.
70083         * intl/Makefile: Likewise.
70084         * io/Makefile: Likewise.
70085         * libio/Makefile: Likewise.
70086         * malloc/Makefile: Likewise.
70087         * posix/Makefile: Likewise.
70088         * stdio-common/Makefile: Likewise.
70089         * stdlib/Makefile: Likewise.
70090         * sysdeps/x86_64/Makefile: Likewise.
70092         * io/ftwtest-sh: Add copyright header.
70093         * posix/globtest.sh: Likewise.
70094         * posix/tst-getconf.sh: Likewise.
70095         * posix/wordexp-tst.sh: Likewise.
70096         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70098 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70100         [BZ #13679]
70101         * Makeconfig (+link): Defined as $(+link-static) if
70102         $(build-shared) isn't yes.
70103         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70104         isn't yes.
70105         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70107         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70109         [BZ #14562]
70110         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70111         new chunk size with MALLOC_ALIGN_MASK.
70113 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70115         [BZ #5044]
70116         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70117         <rounding-mode.h>.
70118         (__printf_fphex): Determine rounding using get_rounding_mode and
70119         round_away.
70120         * stdio-common/tst-printf-round.c (struct hex_test): New
70121         structure.
70122         (hex_tests): New variable.
70123         (test_hex_in_one_mode): New function.
70124         (do_test): Also run tests for hex float output.
70126 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70128         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70129         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70130         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70131         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70132         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70133         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70134         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70135         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70137 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70139         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70140         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70141         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70142         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70144 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70146         [BZ #14579]
70147         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70148         mode only.
70149         * elf/tst-rtld-load-self.sh: New test.
70150         * elf/Makefile: Run it.
70152 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70154         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70155         (tst-writev-ENV): Remove.
70156         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70158 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70160         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70162 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70164         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70165         unconditional.
70166         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70167         Likewise.
70168         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70169         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70170         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70171         Likewise.
70173 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70175         [BZ #14587]
70176         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70177         * config.make.in (have-cpp-asm-debuginfo): Removed.
70178         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70179         * configure: Regenerated.
70181 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70183         [BZ #5044]
70184         * stdio-common/printf_fp.c: Include <stdbool.h> and
70185         <rounding-mode.h>.
70186         (___printf_fp): Determine rounding using get_rounding_mode and
70187         round_away.
70188         * stdio-common/tst-printf-round.c: New file.
70189         * stdio-common/Makefile (tests): Add tst-printf-round.
70190         (link-libm): New variable.
70191         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70193 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70195         [BZ #14576]
70196         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70197         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70198         Likewise.
70199         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70200         Likewise.
70202 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70204         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70205         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70206         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70207         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70209 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70211         [BZ #14518]
70212         * include/rounding-mode.h: New file.
70213         * sysdeps/generic/get-rounding-mode.h: Likewise.
70214         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70215         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70216         (MAX_VALUE): New macro.
70217         (MIN_VALUE): Likewise.
70218         (overflow_value): New function.
70219         (underflow_value): Likewise.
70220         (round_and_return): Use overflow_value and underflow_value to
70221         determine return values in overflow and underflow cases.  Use
70222         round_away to determine rounding depending on rounding mode.
70223         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70224         determine return values in overflow and underflow cases.
70225         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70226         (struct test_results): New structure.
70227         (struct test): Use struct test_results to store expected results
70228         for all rounding modes.
70229         (TEST): Include expected results for all rounding modes.
70230         (test_in_one_mode): New function.
70231         (do_test): Use test_in_one_mode to compute and check results.
70232         Check results for all rounding modes.
70233         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70234         $(link-libm).
70236 2012-12-09  Allan McRae  <allan@archlinux.org>
70238         * sysdeps/i386/fpu/libm-test-ulps: Update
70240 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70242         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70243         (_G_int32_t): Likewise.
70244         (_G_uint16_t): Likewise.
70245         (_G_uint32_t): Likewise.
70246         (_G_HAVE_BOOL): Likewise.
70247         (_G_HAVE_ATEXIT): Likewise.
70248         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70249         (_G_HAVE_IO_FILE_OPEN): Likewise.
70250         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70251         (_G_int32_t): Likewise.
70252         (_G_uint16_t): Likewise.
70253         (_G_uint32_t): Likewise.
70254         (_G_HAVE_BOOL): Likewise.
70255         (_G_HAVE_ATEXIT): Likewise.
70256         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70257         (_G_HAVE_IO_FILE_OPEN): Likewise.
70258         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70259         (_G_int32_t): Likewise.
70260         (_G_uint16_t): Likewise.
70261         (_G_uint32_t): Likewise.
70262         (_G_HAVE_BOOL): Likewise.
70263         (_G_HAVE_ATEXIT): Likewise.
70264         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70265         (_G_HAVE_IO_FILE_OPEN): Likewise.
70267 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70269         * csu/libc-tls.c: Update copyright years.
70271 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70273         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70274         [!_G_USING_THUNKS]: Remove conditional code.
70275         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70276         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70278         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70279         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70280         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70281         (_G_VTABLE_LABEL_PREFIX): Likewise.
70282         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70283         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70284         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70285         (_G_VTABLE_LABEL_PREFIX): Likewise.
70286         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70287         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70288         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70289         (_G_VTABLE_LABEL_PREFIX): Likewise.
70290         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70292 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70294         * libio/Makefile: Include ../Makeconfig before tests.
70295         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70296         only if $(build-shared) is yes.
70298         * iconv/gconv_db.c: Update copyright years.
70300 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70302         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70303         unwind info if defined PIC. Fix special cases description.
70304         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70306         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70307         DP_HI_MASK entry.
70308         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70310 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70312         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70314         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70315         is NULL.
70317         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70318         (LDLIBS-tst-chk4): This.
70319         (LDFLAGS-tst-chk5): Renamed to ...
70320         (LDLIBS-tst-chk5): This.
70321         (LDFLAGS-tst-chk6): Renamed to ...
70322         (LDLIBS-tst-chk6): This.
70323         (LDFLAGS-tst-lfschk4): Renamed to ...
70324         (LDLIBS-tst-lfschk4): This.
70325         (LDFLAGS-tst-lfschk5): Renamed to ...
70326         (LDLIBS-tst-lfschk5): This.
70327         (LDFLAGS-tst-lfschk6): Renamed to ...
70328         (LDLIBS-tst-lfschk6): This.
70330         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70331         on $(common-objpfx)soversions.mk.
70333 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70335         [BZ #10014]
70336         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70337         example host name.
70339 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70341         * malloc/arena.c (arena_get_retry): New function that gets
70342         another arena for the caller to try its request on.
70343         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70344         current arena cannot fulfill the request.
70345         (__libc_memalign): Likewise.
70346         (__libc_memalign): Likewise.
70347         (__libc_pvalloc): Likewise.
70348         (__libc_calloc): Likewise.
70350 2012-09-05  John Tobey  <john.tobey@gmail.com>
70352         [BZ #13542]
70353         * manual/arith.texi (Operations on Complex): Fix description
70354         of carg branch cut.
70356 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70358         [BZ #10014]
70359         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70360         host name.
70362         [BZ #10038]
70363         * manual/memory.texi (Memory): Make order of menu items match
70364         order of sections.
70366 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70368         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70369         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70370         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70372 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70374         * csu/libc-tls.c (static_dtv): Renamed to ...
70375         (_dl_static_dtv): This.  Make it global.
70376         (_dl_initial_dtv): Removed.
70377         (__libc_setup_tls): Updated.
70378         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70379         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70380         DL_INITIAL_DTV.
70382 2012-09-06  Petr Machata  <pmachata@redhat.com>
70384         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70385         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70386         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70387         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70389 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70391         [BZ #14545]
70392         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70393         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70394         freeing dtv[-1].
70396 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70398         [BZ #14544]
70399         * Makeconfig (link-static-before-libc): Replace $(+prector)
70400         with $(+prectorT).
70401         (link-static-after-libc): Replace $(+postctor) with
70402         $(+postctorT).
70403         (link-bounded): Replace $(+prector)/$(+postctor) with
70404         $(+prectorT)/$(+postctorT).
70405         (+prectorT): New macro.
70406         (+postctorT): Likewise.
70408 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70410         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70411         (round_str): Handle values above the maximum for IBM long double
70412         as inexact.
70413         * stdlib/tst-strtod-round.c (tests): Regenerated.
70415 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70417         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70418         assembler flag.
70419         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70420         zarch_nohighgprs around the zarch optimized routines.
70421         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70422         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70424         for zarch.
70426 2012-09-05  David S. Miller  <davem@davemloft.net>
70428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70430         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70431         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70432         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70433         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70434         entries.
70436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70438         * malloc/arena.c: Fold copyright years.
70439         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70441 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70443         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70445 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70447         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70449 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70451         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70452         change internal state upon failure.
70454 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70456         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70457         * malloc/memusage.c (mmap): Likewise.
70458         (mmap64, mremap): Likewise.  Adjust name in comment.
70460 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70462         * libio/fileops.c: Fix typos in comments.
70463         * libio/oldfileops.c: Likewise.
70464         * libio/wfileops.c: Likewise.
70466 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70468         [BZ #1349]
70469         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70470         (tst-malloc-usable-ENV): Set environment for test case.
70471         * malloc/hooks.c (malloc_check_get_size): New function to get
70472         requested size.
70473         * malloc/malloc.c (musable): Use malloc_check_get_size.
70474         * malloc/tst-malloc-usable.c: New test case.
70476 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70478         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70480 2012-09-05  Allan McRae  <allan@archlinux.org>
70482         [BZ #13966]
70483         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70484         determine header location.
70485         * configure: Regenerated.
70487 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70489         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70490         float format.
70491         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70492         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70493         format.
70494         (test): Regenerate.
70496 2012-09-04  David S. Miller  <davem@davemloft.net>
70498         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70499         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70500         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70502 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70504         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70505         failures.
70507         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70509 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70511         [BZ #9914]
70512         * libio/iogetdelim.c: Include <limits.h>.
70513         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70514         + len + 1 would overflow.
70516 2012-09-03  Andreas Jaeger  <aj@suse.de>
70518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70519         * sysdeps/i386/fpu/libm-test-ulps: Update.
70521 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70523         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70524         Add s_sinf-sse2, s_conf-sse2.
70526         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70527         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70528         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70529         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70531         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70532         for using routine as __sinf_ia32.
70533         Use macro for function declaration and weak_alias.
70534         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70535         for using routine as __cosf_ia32.
70536         Use macro for function declaration and weak_alias.
70538         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70539         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70541         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70542         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70545         * math/libm-test.inc (cos_test): Add more test cases.
70546         (sin_test): Likewise.
70547         (sincos_test): Likewise.
70549 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70552         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70553         hidden.
70554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70556 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70558         [BZ #14538]
70559         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70560         first element of the GOT.
70561         (elf_machine_load_address): Return the difference between
70562         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70564 2012-09-01  Allan McRae  <allan@archlinux.org>
70566         [BZ #13412]
70567         * configure.in (AWK): Require gawk version 3.0 or later.
70568         * configure: Regenerated.
70570 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70572         * sysdeps/unix/sysv/linux/kernel-features.h
70573         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70574         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70575         [__NR_clock_getres]: Make code unconditional.
70576         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70577         (clock_getcpuclockid): Remove code left unreachable by removal of
70578         conditionals.
70579         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70580         code unconditional.
70581         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70582         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70583         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70584         Make code unconditional.
70585         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70586         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70587         * sysdeps/unix/sysv/linux/clock_settime.c
70588         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70589         conditional code.
70590         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70591         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70593 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70595         [BZ #14476]
70596         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70597         scripts/test-installation.pl.
70599         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70600         and $ld_so_version if it is set.
70602 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70604         [BZ #14516]
70605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70606         failure if reading from procfs failed.
70607         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70609 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70611         * sysdeps/unix/sysv/linux/kernel-features.h
70612         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70613         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70614         Remove conditional code.
70615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70616         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70617         Remove conditional code.
70618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70619         * sysdeps/unix/sysv/linux/i386/fxstat.c
70620         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70622         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70623         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70625         * sysdeps/unix/sysv/linux/i386/lxstat.c
70626         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70627         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70628         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70629         Remove conditional code.
70630         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70631         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70632         Remove conditional code.
70633         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70634         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70635         <kernel-features.h>.
70636         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70637         Remove.
70638         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70639         Remove conditional code.
70640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70641         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70642         Remove conditional.
70644 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70646         [BZ #5400]
70647         * NEWS: Add fixed bug number.
70649 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70651         [BZ #14519]
70652         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70653         underflowing exponent in case of negative sign.
70654         * stdlib/tst-strtod-round-data: Add more tests.
70655         * stdlib/tst-strtod-round.c (tests): Regenerated.
70657         [BZ #3479]
70658         * stdlib/strtod_l.c (NDIG): Remove.
70659         (HEXNDIG): Likewise.
70660         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70661         smallest representable value.
70662         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70663         lie within an exact representation of 1/2 ulp of the result.
70664         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70665         unconditionally.
70666         (TENS_P9_IDX): Define unconditionally.
70667         (TENS_P9_SIZE): Likewise.
70668         (TENS_P10_IDX): Likewise.
70669         (TENS_P10_SIZE): Likewise.
70670         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70671         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70672         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70673         entries for 10^2^13 and 10^2^14.
70674         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70675         (TENS_P13_IDX): Define.
70676         (TENS_P13_SIZE): Likewise.
70677         (TENS_P14_IDX): Likewise.
70678         (TENS_P14_SIZE): Likewise.
70679         (_fpioconst_pow10): Change array size to
70680         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70681         unconditional.
70682         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70683         1024]: Add entries for 10^2^13 and 10^2^14.
70684         [LAST_POW10 > _LAST_POW10]: Remove #error.
70685         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70686         (_fpioconst_pow10): Change array size to
70687         FPIOCONST_POW10_ARRAY_SIZE.
70688         * stdlib/gen-fpioconst.c: New file.
70689         * stdlib/gen-tst-strtod-round.c: Likewise.
70690         * stdlib/tst-strtod-round-data: Likewise.
70691         * stdlib/tst-strtod-round.c: Likewise.
70692         * stdlib/Makefile (tests): Add tst-strtod-round.
70694         [BZ #14459]
70695         * stdlib/strtod_l.c: Include <stdint.h>.
70696         (NDEBUG): Do not define.
70697         (round_and_return): Change EXPONENT parameter to type intmax_t.
70698         Rearrange calculations to avoid internal overflow possibilities.
70699         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70700         Rearrange calculations to avoid internal overflow possibilities.
70701         Assert that number fits inside MPNSIZE limbs.
70702         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70703         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70704         calculations and add assertions to avoid internal overflow
70705         possibilities.  Add casts to avoid signed/unsigned operations.
70706         * stdlib/tst-strtod-overflow.c: New file.
70707         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70709 2012-08-25  Marek Polacek  <polacek@redhat.com>
70711         * time/time.h: Fix some typos in comments.
70713 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70715         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70716         * posix/tst-rfc3484-2.c: Likewise.
70717         * posix/tst-rfc3484-3.c: Likewise.
70719 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70721         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70722         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70724 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70726         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70727         #include of fxstatat64.c.
70729 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70731         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70732         * shadow/getspent_r.c: Likewise.
70733         * shadow/getspnam.c: Likewise.
70734         * shadow/getspnam_r.c: Likewise.
70735         * gshadow/getsgent.c: Likewise.
70736         * gshadow/getsgent_r.c: Likewise.
70737         * gshadow/getsgnam.c: Likewise.
70738         * gshadow/getsgnam_r.c: Likewise.
70739         * inet/getnetbyad.c: Likewise.
70740         * inet/getnetbyad_r.c: Likewise.
70741         * inet/getnetbynm.c: Likewise.
70742         * inet/getnetbynm_r.c: Likewise.
70743         * inet/getnetent.c: Likewise.
70744         * inet/getnetent_r.c: Likewise.
70745         * inet/getproto.c: Likewise.
70746         * inet/getproto_r.c: Likewise.
70747         * inet/getprtent.c: Likewise.
70748         * inet/getprtent_r.c: Likewise.
70749         * inet/getprtname.c: Likewise.
70750         * inet/getprtname_r.c: Likewise.
70751         * inet/getrpcbyname.c: Likewise.
70752         * inet/getrpcbyname_r.c: Likewise.
70753         * inet/getrpcbynumber.c: Likewise.
70754         * inet/getrpcbynumber_r.c: Likewise.
70755         * inet/getrpcent.c: Likewise.
70756         * inet/getrpcent_r.c: Likewise.
70757         * inet/getaliasent.c: Likewise.
70758         * inet/getaliasent_r.c: Likewise.
70759         * inet/getaliasname.c: Likewise.
70760         * inet/getaliasname_r.c: Likewise.
70761         * nscd/getgrgid_r.c: Likewise.
70762         * nscd/getgrnam_r.c: Likewise.
70763         * nscd/gethstbyad_r.c: Likewise.
70764         * nscd/gethstbynm3_r.c: Likewise.
70765         * nscd/getpwnam_r.c: Likewise.
70766         * nscd/getpwuid_r.c: Likewise.
70767         * nscd/getsrvbynm_r.c: Likewise.
70768         * nscd/getsrvbypt_r.c: Likewise.
70769         * nscd/gai.c: Likewise.
70771         * configure.in (build_nscd): New substituted variable, set
70772         by --disable-build-nscd and defaults to $use_nscd.
70773         * configure: Regenerated.
70774         * config.make.in (build-nscd): New substituted variable.
70775         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70776         Change conditional to require [$(build-nscd) = yes] as well.
70777         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70779         [BZ #13696]
70780         * configure.in (use_nscd): New substituted variable, set by
70781         --disable-nscd.  If enabled, define USE_NSCD.
70782         * configure: Regenerated.
70783         * config.h.in: Add USE_NSCD.
70784         * config.make.in (use-nscd): New substituted variable.
70785         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70786         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70787         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70788         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70789         (CFLAGS-getgrnam_r.c): Likewise.
70790         (CFLAGS-initgroups.c): Likewise.
70791         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70792         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70793         Variables removed.
70794         * inet/getnetgrent_r.c
70795         (nscd_setnetgrent): New function, broken out of ...
70796         (setnetgrent): ... here.  Call it.
70797         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70798         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70799         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70800         * nscd/Makefile (routines, aux): Move definitions after include of
70801         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70802         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70803         Conditionalize on [USE_NSCD].
70804         (is_nscd, nscd_init_cb): Likewise.
70805         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70806         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70807         * nss/nss_db/db-init.c: Likewise.
70808         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70809         [USE_NSCD].
70810         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70811         (make_request): Use it.
70812         (cache_valid_p): New function.
70813         (__check_pf): Use it.
70814         * NEWS: Add item for --disable-nscd.
70816 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70818         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70819         to support sed >= 4.2.1-20-ga9bf076.
70820         * configure: Regenerated.
70822 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70824         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70825         Conditionalize whole body on [IREL].
70827 2012-08-22  Jeff Law <law@redhat.com>
70829         [BZ #14505]
70830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70831         if the family is PF_UNSPEC.
70833 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70835         * Makerules (lib-version): Rename from V.
70836         (install-lib-nosubdir): Change V to lib-version.
70838 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70840         [BZ #14252]
70841         * powerpc32/power6/wcschr.c: New file.
70842         * powerpc32/power6/wcscpy.c: New file.
70843         * powerpc32/power6/wcsrchr.c: New file.
70844         * powerpc64/power6/wcschr.c: New file.
70845         * powerpc64/power6/wcscpy.c: New file.
70846         * powerpc64/power6/wcsrchr.c: New file.
70848 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70850         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70851         (two_way_short_needle): Use it.
70852         * string/strstr.c (AVAILABLE1_USES_J): Define.
70853         * string/strcasestr.c: Likewise.
70855         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70856         array references.
70857         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70859         [BZ #11607]
70860         * NEWS: Add an entry.
70861         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70862         define their defaults.
70863         (two_way_short_needle): Detect end-of-string on-the-fly.
70864         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70865         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70866         * string/bug-strcasestr1.c: New test.
70867         * string/Makefile: Run it.
70869 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70871         [BZ #11607]
70872         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70873         the first character.
70875 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70877         * csu/elf-init.c (__libc_csu_irel): Function removed.
70878         * csu/libc-start.c (apply_irel): New function.
70879         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70881 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70883         * sysdeps/unix/sysv/linux/kernel-features.h
70884         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70885         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70886         <kernel-features.h>.
70887         [__NR_fadvise64_64]: Make code unconditional.
70888         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70889         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70890         !__NR_fadvise64_64)]: Likewise.
70891         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70892         !__NR_fadvise64_64))]: Likewise.
70893         [__NR_fadvise64]: Make code unconditional.
70894         [!__NR_fadvise64]: Remove conditional code.
70895         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70896         <kernel-features.h>.
70897         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70898         unconditional.
70899         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70900         conditional code.
70901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70902         not include <kernel-features.h>.
70903         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70904         unconditional.
70905         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70906         conditional code.
70907         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70908         include <kernel-features.h>.
70909         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70910         unconditional.
70911         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70912         conditional code.
70914 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70917         slight instruction rearrangements per scrollpipe analysis.
70918         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70920 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70922         * manual/syslog.texi (syslog; vsyslog, closelog):
70923         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70924         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70926         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70927         DSOCAPS to match condition on defining it.
70929 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70931         * sysdeps/unix/sysv/linux/kernel-features.h
70932         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70934         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70935         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70937         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70938         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70940         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70941         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70943         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70944         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70946         * sysdeps/unix/sysv/linux/kernel-features.h
70947         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70948         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70949         unconditional.
70950         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70951         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70952         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70953         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70954         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70955         Make code unconditional.
70956         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70957         (__mmap64) [!__NR_mmap2]: Likewise.
70958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70959         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70960         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70961         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70962         [__NR_mmap2]: Make code unconditional.
70963         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70964         (__mmap64) [!__NR_mmap2]: Likewise.
70966 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70968         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70970 2012-08-18  Andreas Jaeger  <aj@suse.de>
70972         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70974 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70976         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70977         * include/unistd.h (__have_sock_cloexec): Likewise.
70978         (__have_pipe2): Likewise.
70979         (__have_dup3): Likewise.
70981 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70983         [BZ #9685]
70984         * include/unistd.h (__have_pipe2): Change define into an extern int.
70985         (__have_dup3): Likewise.
70986         * socket/have_sock_cloexec.c: Include fcntl.h.
70987         (__have_pipe2): New variable.
70988         (__have_dup3): Likewise.
70990 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70992         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70994 2012-08-17  Marek Polacek  <polacek@redhat.com>
70996         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70997         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70999 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71001         * configure.in: Add AC_SUBST for sysheaders.
71002         * configure: Regenerated.
71003         * config.make.in (sysheaders): New substituted variable.
71005         * sysdeps/unix/mkfifo.c: Moved ...
71006         * sysdeps/posix/mkfifo.c: ... here.
71007         * sysdeps/unix/mkfifoat.c: Moved ...
71008         * sysdeps/posix/mkfifoat.c: ... here.
71010         * sysdeps/unix/utime.c: Moved ...
71011         * sysdeps/posix/utime.c: ... here.
71013         * sysdeps/unix/time.c: Moved ...
71014         * sysdeps/posix/time.c: ... here.
71015         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71016         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71018         * sysdeps/unix/nice.c: Moved ...
71019         * sysdeps/posix/nice.c: ... here.
71021         * sysdeps/unix/alarm.c: Moved ...
71022         * sysdeps/posix/alarm.c: ... here.
71024         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71026 2012-08-17  Jeff Law <law@redhat.com>
71028         * intl/Makefile (codeset_mo): New variable.
71029         ($(codeset_mo)): New target.
71030         (tst-codeset.out): Depend on that.  Remove explicit rule.
71031         (tst-gettext3.out, tst-gettext5.out): Likewise.
71032         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71033         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71034         * intl/tst-codeset.sh: Remove.
71035         * intl/tst-gettext3.sh: Likewise.
71036         * intl/tst-gettext5.sh: Likewise.
71038 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71040         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71041         * sysdeps/unix/syscalls.list: ... here.
71043         * sysdeps/posix/getaddrinfo.c
71044         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71045         (gaiconf_init, gaiconf_reload): Use them.
71046         [!_STATBUF_ST_NSEC]
71047         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71048         Define using time_t rather than struct timespec.
71050         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71051         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71052         Macros removed.
71053         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71054         [!NO_THREADS].
71055         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71056         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71057         Likewise.
71059         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71060         __libc_cleanup_push argument.
71062         * bits/param.h: New file.
71063         * misc/sys/param.h: New file.
71064         * include/sys/param.h: New file.
71065         * misc/Makefile (headers): Add bits/param.h.
71066         * sysdeps/generic/sys/param.h: File removed.
71067         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71068         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71069         * sysdeps/mach/hurd/bits/param.h: New file.
71070         * sysdeps/mach/hurd/sys/param.h: File removed.
71072         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71073         last change.
71075         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71076         [_IO_MTSAFE_IO].
71077         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71078         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71079         New macros.
71081         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71082         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71083         rather than -D_IO_MTSAFE_IO conditionally.
71084         * stdio-common/Makefile (CPPFLAGS): Likewise.
71085         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71086         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71087         Use $(libio-mtsafe).
71088         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71089         of -D_IO_MTSAFE_IO.
71090         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71091         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71092         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71093         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71094         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71095         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71096         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71097         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71098         (CFLAGS-fread_u_chk.c): Likewise.
71099         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71100         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71101         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71102         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71103         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71104         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71105         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71106         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71107         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71109         * libio/Makefile: Test [$(libc-reentrant) = yes]
71110         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71112         * Makeconfig
71113         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71114         * sysdeps/pthread/configure: File removed.
71115         * sysdeps/pthread/Makeconfig: New file.
71116         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71117         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71119 2012-08-16  Gary Benson  <gbenson@redhat.com>
71121         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71122         unmapping the first object in a namespace.
71124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71126         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71127         (__internal_setnetgrent): ... this.  Add internal_function to
71128         definition.  Add libc_hidden_def.
71129         (setnetgrent): Update caller.
71130         (internal_endnetgrent): Renamed to ...
71131         (__internal_endnetgrent): ... this.  Add internal_function to
71132         definition.  Add libc_hidden_def.
71133         (endnetgrent): Update caller.
71134         (internal_getnetgrent_r): Renamed to ...
71135         (__internal_getnetgrent_r): ... this.  Add internal_function to
71136         definition.  Add libc_hidden_def.
71137         (__getnetgrent_r): Update caller.
71138         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71140 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71142         * stdlib/longlong.h: Update from GCC.
71144 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71146         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71147         on _QL, which is set by umul_ppmm but never used.
71148         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71149         variables, which are set by GMP macros but never used.
71150         * stdio-common/_itowa.c (_itowa): Likewise.
71151         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71152         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71154 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71156         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71157         struct La_sh_regs is not constant.
71158         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71159         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71160         and struct La_sparc64_regs are not constant.
71162 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71164         * sysdeps/unix/sysv/linux/kernel-features.h
71165         (__ASSUME_POSIX_TIMERS): Remove.
71166         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71167         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71168         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71169         Make code unconditional.
71170         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71171         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71172         Make code unconditional.
71173         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71174         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71175         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71176         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71177         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71178         Make code unconditional.
71179         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71180         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71181         (__libc_missing_posix_timers): Remove.
71183 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71185         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71186         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71188         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71190         * elf/dl-sym.c: Include <stdlib.h>.
71192         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71193         constants, which avoids warnings in 32-bit builds.
71195         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71196         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71198         * misc/lseek.c: File moved to ...
71199         * io/lseek.c: ... here.
71201         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71203         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71204         shifting LEN more than 31 bits at once.
71206 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71208         [BZ #14195]
71209         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71210         segmentation fault for a case of two empty input strings.
71211         * string/test-strncasecmp.c (check1): Renamed to...
71212         (bz12205): ...this.
71213         (bz14195): Add new testcase for two empty input strings and N > 0.
71214         (test_main): Call new testcase, adapt for renamed function.
71216 2012-08-15  Andreas Jaeger  <aj@suse.de>
71218         [BZ #14090]
71219         * crypt/md5test2.c: New test, based on test supplied by Serge
71220         Belyshev <belyshev@depni.sinp.msu.ru>.
71221         * crypt/Makefile (xtests): Add md5test-giant..
71222         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71224 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71226         [BZ #14090]
71227         * crypt/md5.c (md5_process_block): Don't assume the buffer
71228         length is less than 2**32.
71229         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71230         length is less than 2**64.
71232 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71234         * string/str-two-way.h: Include <sys/param.h>.
71235         (MAX): Macro removed.
71237         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71238         Move #define and #undef of memmove to just before and after
71239         including <string.h>.
71241         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71242         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71243         and after including <string.h>.  Move declarations of
71244         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71245         to before #include "string/memmove.c".
71247         * include/dirent.h: Declare __getdirentries.
71249         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71250         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71252 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71254         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71255         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71256         * sysdeps/i386/configure: Regenerated.
71257         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71258         STABS_CURRENT_FILE, and STABS_FUN.
71259         (END): Remove call to STABS_FUN_END.
71260         (STABS_CURRENT_FILE1): Delete.
71261         (STABS_CURRENT_FILE): Likewise.
71262         (STABS_FUN): Likewise.
71263         (STABS_FUN_END): Likewise.
71264         (STABS_FUN2): Likewise.
71265         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71266         * sysdeps/x86_64/configure: Regenerated.
71268 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71270         * elf/dl-open.c: Include <atomic.h>.
71271         * elf/dl-lookup.c: Likewise.
71273 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71275         * sysdeps/unix/sysv/linux/kernel-features.h
71276         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71277         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71278         unconditionally.
71279         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71280         unconditionally.
71281         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71282         condition on __ASSUME_CLONE_THREAD_FLAGS.
71284 2012-08-14  Andreas Jaeger  <aj@suse.de>
71286         * sysdeps/i386/fpu/libm-test-ulps: Update.
71288 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71290         * include/atomic.h (atomic_exchange_and_add): Split into ...
71291         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71292         New atomic macros.
71294 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71298 2012-08-13  Jeff Law <law@redhat.com>
71300         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71301         null byte in the output string.
71303 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71305         * sysdeps/unix/sysv/linux/kernel-features.h
71306         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71307         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71308         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71309         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71310         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71311         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71312         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71314 2012-08-09  Jeff Law <law@redhat.com>
71316         [BZ #13939]
71317         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71318         When avoid_arena is set, don't retry in the that arena.  Pick the
71319         next one, whatever it might be.
71320         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71321         (arena_lock): Pass in new parameter to arena_get2.
71322         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71323         arena_get2.
71324         (__libc_malloc): Unify retrying after main arena failure with
71325         __libc_memalign version.
71326         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71328 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71330         [BZ #14166]
71331         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71332         to __redirect_strstr.
71333         (__strstr_sse42): Use typeof __redirect_strstr.
71334         (__strstr_ia32): Likewise.
71335         (__libc_strstr): New prototype.
71336         (strstr): Renamed to ...
71337         (__libc_strstr): This.
71338         (strstr): New strong alias of __libc_strstr.
71339         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71340         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71341         __redirect_time.
71342         Include <time.h>.
71343         (__libc_time): New prototype.
71344         (time_ifunc): Replace time with __libc_time.
71345         (time): New strong alias and hidden definition of __libc_time.
71346         (__GI_time): Remove strong alias.
71347         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71348         Include <stddef.h>.
71349         (memmove): Redefined to __redirect_memmove.
71350         (__memmove_sse2): Use typeof __redirect_memmove.
71351         (__memmove_ssse3): Likewise.
71352         (__memmove_ssse3_back): Likewise.
71353         (__libc_memmove): New prototype.
71354         (memmove): Renamed to ...
71355         (__libc_memmove): This.
71356         (memmove): New strong alias of __libc_memmove.
71358 2012-08-08  Mark Salter  <msalter@redhat.com>
71360         * elf/elf.h
71361         (R_MN10300_TLS_GD): Define.
71362         (R_MN10300_TLS_LD): Likewise.
71363         (R_MN10300_TLS_LDO): Likewise.
71364         (R_MN10300_TLS_GOTIE): Likewise.
71365         (R_MN10300_TLS_IE): Likewise.
71366         (R_MN10300_TLS_LE): Likewise.
71367         (R_MN10300_TLS_DTPMOD): Likewise.
71368         (R_MN10300_TLS_DTPOFF): Likewise.
71369         (R_MN10300_TLS_TPOFF): Likewise.
71370         (R_MN10300_SYM_DIFF): Likewise.
71371         (R_MN10300_ALIGN): Likewise.
71372         (R_MN10300_NUM): Update.
71374 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71376         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71377         Remove.
71379 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71381         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71383         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71384         sysdeps/unix -> sysdeps/posix move.
71385         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71387 2012-08-07      Allan McRae     <allan@archlinux.org>
71389         [BZ #14303]
71390         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71391         (SUNOS_CPP): Likewise.
71392         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71393         not found.
71394         (open_input): Call CPP using execvp.
71396 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71398         * sysdeps/unix/sysv/linux/kernel-features.h
71399         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71400         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71401         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71402         (__ASSUME_WAITID_SYSCALL): Likewise.
71403         * sysdeps/unix/sysv/linux/dl-execstack.c
71404         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71405         code unconditional.
71406         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71407         conditional code.
71408         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71409         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71410         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71411         code.
71412         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71413         unconditional.
71414         [__ASSUME_WAITID_SYSCALL]: Likewise.
71415         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71417 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71419         * sysdeps/unix/closedir.c: Renamed to ...
71420         * sysdeps/posix/closedir.c: ... here.
71421         * sysdeps/unix/dirfd.c: Renamed to ...
71422         * sysdeps/posix/dirfd.c: ... here.
71423         * sysdeps/unix/dirstream.h: Renamed to ...
71424         * sysdeps/posix/dirstream.h: ... here.
71425         * sysdeps/unix/fdopendir.c: Renamed to ...
71426         * sysdeps/posix/fdopendir.c: ... here.
71427         * sysdeps/unix/opendir.c: Renamed to ...
71428         * sysdeps/posix/opendir.c: ... here.
71429         * sysdeps/unix/readdir.c: Renamed to ...
71430         * sysdeps/posix/readdir.c: ... here.
71431         * sysdeps/unix/readdir_r.c: Renamed to ...
71432         * sysdeps/posix/readdir_r.c: ... here.
71433         * sysdeps/unix/rewinddir.c: Renamed to ...
71434         * sysdeps/posix/rewinddir.c: ... here.
71435         * sysdeps/unix/seekdir.c: Renamed to ...
71436         * sysdeps/posix/seekdir.c: ... here.
71437         * sysdeps/unix/telldir.c: Renamed to ...
71438         * sysdeps/posix/telldir.c: ... here.
71439         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71440         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71441         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71442         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71444         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71445         * bits/fcntl.h: ... here.
71447         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71448         not 0.
71449         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71450         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71451         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71452         (struct flock): Move l_start, l_len to the beginning.
71453         Use __pid_t for l_pid.
71454         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71455         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71456         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71457         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71458         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71459         [__USE_LARGEFILE64] (struct flock64): New type.
71460         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71462         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71463         * bits/dirent.h: ... here.
71465         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71466         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71468 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71471         Change from 2.6.0 to 2.6.16.
71472         * sysdeps/unix/sysv/linux/configure: Regenerated.
71473         * sysdeps/unix/sysv/linux/kernel-features.h
71474         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71475         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71476         version.
71477         (__ASSUME_UTIMES): Likewise.
71478         (__ASSUME_CLONE_STOPPED): Remove.
71479         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71480         architectures, not kernel version.
71481         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71482         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71483         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71484         (__ASSUME_WAITID_SYSCALL): Likewise.
71485         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71486         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71487         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71488         refer to older versions.
71490 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71492         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71493         Define alphasort64 as an alias.
71494         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71495         Define versionsort64 as an alias.
71496         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71497         Define scandir64 as an alias.
71498         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71499         Define scandirat64 as an alias.
71500         * dirent/alphasort64.c (alphasort64):
71501         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71502         * dirent/versionsort64.c: Likewise.
71503         * dirent/scandir64.c: Likewise.
71504         * dirent/scandirat64.c: Likewise.
71505         * sysdeps/wordsize-64/alphasort.c: File removed.
71506         * sysdeps/wordsize-64/alphasort64.c: File removed.
71507         * sysdeps/wordsize-64/scandir.c: File removed.
71508         * sysdeps/wordsize-64/scandir64.c: File removed.
71509         * sysdeps/wordsize-64/scandirat.c: File removed.
71510         * sysdeps/wordsize-64/scandirat64.c: File removed.
71511         * sysdeps/wordsize-64/versionsort.c: File removed.
71512         * sysdeps/wordsize-64/versionsort64.c: File removed.
71513         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71514         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71515         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71516         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71517         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71518         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71519         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71522         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71524         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71525         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71526         [defined __arch64__ || defined __sparcv9]
71527         (__INO_T_MATCHES_INO64_T): New macro.
71528         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71529         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71530         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71531         * sysdeps/unix/sysv/linux/bits/dirent.h
71532         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71533         (_DIRENT_MATCHES_DIRENT64): New macro.
71535         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71536         Define lockf64 as an alias.
71537         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71538         Define fseeko64 as an alias.
71539         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71540         Define ftello64 as an alias.
71541         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71542         Define _IO_fgetpos64 and fgetpos64 as aliases.
71543         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71544         Define _IO_fsetpos64 and fsetpos64 as aliases.
71545         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71546         Conditionalize body on this.
71547         * libio/fseeko64.c: Likewise.
71548         * libio/ftello64.c: Likewise.
71549         * libio/iofgetpos64.c: Likewise.
71550         * libio/iofsetpos64.c: Likewise.
71551         * sysdeps/wordsize-64/lockf.c: File removed.
71552         * sysdeps/wordsize-64/lockf64.c: File removed.
71553         * sysdeps/wordsize-64/fseeko.c: File removed.
71554         * sysdeps/wordsize-64/fseeko64.c: File removed.
71555         * sysdeps/wordsize-64/ftello.c: File removed.
71556         * sysdeps/wordsize-64/ftello64.c: File removed.
71557         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71558         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71559         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71560         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71561         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71562         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71563         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71564         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71565         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71566         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71567         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71568         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71569         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71570         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71572         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71574         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71576         [defined __arch64__ || defined __sparcv9]
71577         (__OFF_T_MATCHES_OFF64_T): New macro.
71578         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71579         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71581         (__OFF_T_MATCHES_OFF64_T): New macro.
71583 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71585         * stdlib/secure-getenv.c (__secure_getenv): Replace
71586         GLIBC_2_16 with GLIBC_2_17.
71588 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71590         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71591         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71593 2012-08-03  David S. Miller  <davem@davemloft.net>
71595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71597 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71600         Remove.
71601         (__ASSUME_CORRECT_SI_PID): Likewise.
71602         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71603         (__ASSUME_TMPFS_NAME): Likewise.
71604         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71605         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71606         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71607         (HAVE_AUX_SECURE): Make definition unconditional.
71608         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71609         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71611 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71613         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71614         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71615         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71616         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71617         __eloop_threshold instead of SYMLOOP_MAX.
71619         * sysdeps/generic/eloop-threshold.h: New file.
71620         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71621         of MAXSYMLINKS.
71622         * elf/chroot_canon.c (chroot_canon): Likewise.
71624 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71626         [BZ #13717]
71627         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71628         Change to 2.6.0 everywhere.
71629         * sysdeps/unix/sysv/linux/configure: Regenerated.
71630         * sysdeps/unix/sysv/linux/kernel-features.h
71631         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71632         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71633         kernel versions.
71634         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71635         (__ASSUME_FUTEX_REQUEUE): Remove.
71636         (__ASSUME_STATFS64): Define unconditionally.
71637         (__ASSUME_AT_SECURE): Likewise.
71638         (__ASSUME_CORRECT_SI_PID): Likewise.
71639         (__ASSUME_TGKILL): Define without depending on kernel version for
71640         i386.
71641         (__ASSUME_UTIMES): Likewise.
71642         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71643         kernel version.
71644         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71645         (__ASSUME_TMPFS_NAME): Likewise.
71646         * README: Update reference to Linux kernel versions.
71648 2012-08-02  Marek Polacek  <polacek@redhat.com>
71650         [BZ #14150]
71651         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71652         libc_cv_asm_type_prefix with %.
71653         * configure: Regenerated.
71654         * include/libc-symbols.h: Remove comment about
71655         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71656         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71657         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71658         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71659         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71660         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71661         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71662         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71663         * elf/tst-unique2mod1.c: Likewise.
71664         * elf/tst-unique1mod2.c: Likewise.
71665         * elf/tst-unique1mod1.c: Likewise.
71666         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71667         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71668         Replace ASM_TYPE_DIRECTIVE with .type.
71669         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71670         * sysdeps/i386/sysdep.h: Likewise.
71671         * sysdeps/x86_64/sysdep.h: Likewise.
71672         * sysdeps/sh/sysdep.h: Likewise.
71673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71674         Do not define ASM_TYPE_DIRECTIVE.
71675         * sysdeps/powerpc/sysdep.h: Likewise.
71676         * sysdeps/powerpc/powerpc32/sysdep.h:
71677         Replace ASM_TYPE_DIRECTIVE with .type.
71678         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71679         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71680         * sysdeps/i386/fpu/e_powf.S: Likewise.
71681         * sysdeps/i386/fpu/e_expl.S: Likewise.
71682         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71683         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71684         * sysdeps/i386/fpu/e_pow.S: Likewise.
71685         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71686         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71687         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71688         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71689         * sysdeps/i386/fpu/e_log2.S: Likewise.
71690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71691         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71692         * sysdeps/i386/fpu/e_powl.S: Likewise.
71693         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71694         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71695         * sysdeps/i386/fpu/e_logl.S: Likewise.
71696         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71697         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71698         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71699         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71700         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71701         * sysdeps/i386/fpu/e_log.S: Likewise.
71702         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71703         * sysdeps/i386/fpu/e_logf.S: Likewise.
71704         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71705         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71706         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71707         * sysdeps/i386/fpu/e_log10.S: Likewise.
71708         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71709         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71710         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71711         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71712         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71713         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71714         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71715         * sysdeps/i386/i686/strtok.S: Likewise.
71716         * sysdeps/i386/i386-mcount.S: Likewise.
71717         * sysdeps/i386/strtok.S: Likewise.
71718         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71719         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71720         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71721         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71722         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71724         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71725         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71726         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71727         * sysdeps/x86_64/_mcount.S: Likewise.
71728         * sysdeps/x86_64/strtok.S: Likewise.
71729         * sysdeps/sh/_mcount.S: Likewise.
71731 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71733         * libio/iofopen.c: Include <fcntl.h>.
71734         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71735         (_IO_fopen64, fopen64): Define as aliases.
71736         * libio/iofopen64.c: Include <fcntl.h>.
71737         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71738         Conditionalize body on this.
71739         * sysdeps/wordsize-64/iofopen.c: File removed.
71740         * sysdeps/wordsize-64/iofopen64.c: File removed.
71742 2012-08-01  Marek Polacek  <polacek@redhat.com>
71744         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71745         Use dlfcn directly instead of a variable.
71746         (binfmt-subdir): Do not define.
71747         (dlfcn): Likewise.
71749 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71751         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71752         Remove all definitions.
71753         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71754         <kernel-features.h>.
71755         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71756         (miss_F_GETOWN_EX): Remove all definitions.
71757         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71758         macro definition.
71759         [!__ASSUME_FCNTL64]: Remove conditional code.
71760         [__ASSUME_FCNTL64]: Make code unconditional.
71761         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71762         <kernel-features.h>.
71763         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71764         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71765         (lockf64) [__NR_fcntl64]: Make code unconditional.
71766         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71768         * sysdeps/unix/sysv/linux/kernel-features.h
71769         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71770         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71771         Make code unconditional.
71772         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71773         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71775         [__NR_vfork]: Make code unconditional.
71776         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71777         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71779         [__NR_vfork]: Make code unconditional.
71780         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71781         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71783 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71785         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71786         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71788         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71789         Define mkstemp64 as an alias.
71790         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71791         Define mkstemps64 as an alias.
71792         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71793         Define mkostemp64 as an alias.
71794         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71795         Define mkostemps64 as an alias.
71796         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71797         Conditionalize body on this.
71798         * misc/mkostemp64.c: Likewise.
71799         * misc/mkostemps64.c: Likewise.
71800         * misc/mkstemps64.c: Likewise.
71801         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71802         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71803         * sysdeps/wordsize-64/mkostemp.c: File removed.
71804         * sysdeps/wordsize-64/mkstemp.c: File removed.
71805         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71810         [BZ #14138]
71811         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71812         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71813         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71814         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71816         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71817         compat_symbol macros from <shlib-compat.h> rather than the underlying
71818         default_symbol_version and symbol_version macros, so that DEFAULT
71819         lines in shlib-versions are respected.
71820         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71822 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71824         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71825         Declare with warn_unused_result.
71826         (setgid, setregid, setegid, setresgid): Likewise.
71827         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71828         Likewise.
71829         * WUR-REPORT: Remove set*id functions.
71831 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71833         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71835 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71837         [BZ #10191]
71838         * include/sys/socket.h (__libc_accept, __libc_accept4):
71839         Add attribute_hidden.
71840         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71842         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71843         use of PTR_MANGLE.
71844         * inet/getnetgrent_r.c (setup): Likewise.
71846         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71848 2012-07-31  David S. Miller  <davem@davemloft.net>
71850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71852 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71854         [BZ #13629]
71855         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71856         value between 1.0 and 2.0 and smaller part has absolute value less
71857         than 1.0.
71858         * math/s_clog10.c (__clog10): Likewise.
71859         * math/s_clog10f.c (__clog10f): Likewise.
71860         * math/s_clog10l.c (__clog10l): Likewise.
71861         * math/s_clogf.c (__clogf): Likewise.
71862         * math/s_clogl.c (__clogl): Likewise.
71863         * math/libm-test.inc (clog_test): Add more tests.
71864         (clog10_test): Likewise.
71865         * sysdeps/i386/fpu/libm-test-ulps: Update.
71866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71868 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71870         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71871         Exit with zero in case no suitable GID is found, and write a
71872         message to standard error.
71874 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71876         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71877         rather than to 1.
71878         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71879         (MAXPATHLEN): Removed.
71880         (NOGROUP, NODEV): New macros.
71881         (setbit, clrbit, isset, isclr): New macros.
71882         (howmany, roundup, powerof2): New macros.
71883         (DEV_BSIZE): New macro.
71885         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71886         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71888         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71889         definition on [!__NO_LONG_DOUBLE_MATH].
71891         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71892         PTR_MANGLE and PTR_DEMANGLE.
71894         * socket/accept4.c (accept4): Rename to __libc_accept4.
71895         Define accept4 as a weak alias.
71897         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71898         on [_DIRENT_HAVE_D_TYPE].
71899         * io/ftw.c (ftw_dir): Likewise.
71901         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71903         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71905         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71906         Use the BSD numbers rather than the arbitrary ones we had.
71907         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71908         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71909         (SIGXCPU, SIGXFSZ): New macros.
71910         (_NSIG): Now 32.
71912         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71913         initializer on [_LIBC_REENTRANT].
71915         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71916         definitions inside [_POSIX_MAPPED_FILES].
71918         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71920         * dirent/opendir.c: Include <fcntl.h>.
71922         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71923         (__libc_getspecific): Likewise.
71924         (__libc_key_create): Likewise.
71926         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71927         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71928         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71929         (tmpfile64): Define as alias.
71930         * sysdeps/wordsize-64/tmpfile.c: File removed.
71931         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71932         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71933         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71935         * stdio-common/vfscanf.c: Include <stdbool.h>.
71936         * nss/makedb.c: Likewise.
71937         * stdio-common/_i18n_number.h: Likewise.
71938         * argp/argp-help.c: Likewise.
71939         * posix/wordexp.c: Likewise.
71940         * sysdeps/posix/spawni.c: Likewise.
71941         * nss/nss_files/files-initgroups.c: Likewise.
71942         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71943         * nss/nss_files/files-initgroups.c: Likewise.
71944         * nss/nss_db/db-netgrp.c: Likewise.
71945         * nss/nss_db/db-initgroups.c: Likewise.
71946         * io/fchmodat.c: Include <sys/stat.h>.
71948         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71949         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71951         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71952         [HAVE_MMAP].
71954         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71955         Add multiple inclusion protection.
71957 2012-07-27  David S. Miller  <davem@davemloft.net>
71959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71961 2012-07-27  Gary Benson  <gbenson@redhat.com>
71963         [BZ #14298]
71964         * elf/rtld.c: Include <stap-probe.h>.
71965         (dl_main): Added static probes "init_start" and "init_complete".
71966         * elf/dl-load.c: Include <stap-probe.h>.
71967         (lose): Take new parameter "nsid".
71968         Added static probe "map_failed".
71969         (_dl_map_object_from_fd): Pass namespace id to lose.
71970         Added static probe "map_start".
71971         (open_verify): Pass namespace id to lose.
71972         * elf/dl-open.c: Include <stap-probe.h>.
71973         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71974         and "reloc_complete".
71975         * elf/dl-close.c: Include <stap-probe.h>.
71976         (_dl_close_worker): Added static probes "unmap_start" and
71977         "unmap_complete".
71978         * elf/rtld-debugger-interface.txt: New file documenting the above.
71980 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71982         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71983         rather than a string variable.
71984         * sunrpc/rpc_main.c (h_output): Likewise.
71985         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71987 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71989         * inet/check_native.c: New file.
71991 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71993         [BZ #13629]
71994         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71995         if larger part has absolute value 1.0.
71996         * math/s_clog10.c (__clog10): Likewise.
71997         * math/s_clog10f.c (__clog10f): Likewise.
71998         * math/s_clog10l.c (__clog10l): Likewise.
71999         * math/s_clogf.c (__clogf): Likewise.
72000         * math/s_clogl.c (__clogl): Likewise.
72001         * math/libm-test.inc (clog_test): Add more tests.
72002         (clog10_test): Likewise.
72003         * sysdeps/i386/fpu/libm-test-ulps: Update.
72004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72006         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72007         (pltexit): Likewise.
72008         (La_regs): Likewise.
72009         (La_retval): Likewise.
72010         (int_retval): Likewise.
72011         Update #error for removed macros to refer only to definitions in
72012         tst-audit.h.
72013         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72014         macro.
72015         (pltexit): Likewise.
72016         (La_regs): Likewise.
72017         (La_retval): Likewise.
72018         (int_retval): Likewise.
72019         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72020         macro.
72021         (pltexit): Likewise.
72022         (La_regs): Likewise.
72023         (La_retval): Likewise.
72024         (int_retval): Likewise.
72025         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72026         macro.
72027         (pltexit): Likewise.
72028         (La_regs): Likewise.
72029         (La_retval): Likewise.
72030         (int_retval): Likewise.
72031         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72032         macro.
72033         (pltexit): Likewise.
72034         (La_regs): Likewise.
72035         (La_retval): Likewise.
72036         (int_retval): Likewise.
72037         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72038         macro.
72039         (pltexit): Likewise.
72040         (La_regs): Likewise.
72041         (La_retval): Likewise.
72042         (int_retval): Likewise.
72043         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72044         macro.
72045         (pltexit): Likewise.
72046         (La_regs): Likewise.
72047         (La_retval): Likewise.
72048         (int_retval): Likewise.
72049         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72050         macro definitions in tst-audit.h.
72051         * sysdeps/i386/tst-audit.h: New file.
72052         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72053         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72054         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72055         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72056         * sysdeps/sh/tst-audit.h: Likewise.
72057         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72058         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72059         * sysdeps/x86_64/tst-audit.h: Likewise.
72061 2012-07-26  Andreas Jaeger  <aj@suse.de>
72063         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72064         ptrace.
72066         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72067         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72068         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72069         PTRACE_O_MASK.
72070         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72071         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72072         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72074         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72075         value.
72077         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72078         _sigsys.
72079         (si_call_addr, si_syscall, si_arch): Define new macro.
72080         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72081         _sigsys.
72082         (si_call_addr, si_syscall, si_arch): Define new marcro.
72083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72084         _sigsys.
72085         (si_call_addr, si_syscall, si_arch): Define new macro.
72086         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72087         _sigsys.
72088         (si_call_addr, si_syscall, si_arch): Define new macro.
72090 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72092         [BZ #13717]
72093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72094         Change to 2.4.21 where previously 2.4.1.
72095         * sysdeps/unix/sysv/linux/configure: Regenerated.
72096         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72097         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72098         Linux kernel version.
72099         (__ASSUME_STD_AUXV): Remove.
72100         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72101         kernel version.
72102         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72103         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72104         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72105         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72106         (__ASSUME_NETLINK_SUPPORT): Likewise.
72107         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72108         (__no_netlink_support): Remove conditional definition.
72109         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72110         Remove.
72111         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72112         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72113         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72114         (if_nameindex_ioctl): Remove.
72115         (if_nameindex_netlink): Do not handle __no_netlink_support.
72116         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72117         code.
72118         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72119         Remove conditional code.
72120         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72121         code.
72122         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72123         unconditional.
72124         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72125         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72126         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72127         Remove.
72128         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72129         [!__ASSUME_STD_AUXV]: Remove conditional code.
72130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72131         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72132         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72134         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72135         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72136         code.
72137         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72139         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72140         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72141         conditional code.
72142         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72144         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72145         code.
72146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72147         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72148         conditional code.
72149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72150         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72151         code unconditional.
72152         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72153         conditional code.
72154         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72155         unconditional.
72156         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72157         conditional code.
72158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72159         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72160         unconditional.
72161         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72162         conditional code.
72163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72164         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72165         code unconditional.
72166         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72167         conditional code.
72168         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72169         unconditional.
72170         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72171         conditional code.
72172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72173         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72174         code unconditional.
72175         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72176         conditional code.
72177         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72178         unconditional.
72179         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72180         conditional code.
72182 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72184         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72185         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72186         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72187         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72188         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72189         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72190         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72191         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72192         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72193         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72194         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72195         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72196         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72197         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72198         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72199         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72200         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72201         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72202         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72204         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72205         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72206         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72208 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72210         * Versions.def: Add GLIBC_2.17.
72211         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72212         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72213         Introduce __libc_secure_getenv.
72214         * stdlib/Versions (2.17): Add secure_getenv
72215         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72216         * stdlib/secure-getenv.c: Rename __secure_getenv to
72217         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72218         symbol __secure_getenv for GLIBC_2.0.
72219         * stdlib/tst-secure-getenv.c: New.
72220         * stdlib/Makefile (tests): Add testcase.
72221         * manual/startup.texi (Environment Access): Document
72222         secure_getenv.
72223         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72224         __libc_secure_getenv.
72225         * inet/ruserpass.c (ruserpass): Likewise.
72226         * malloc/mtrace.c (mtrace): Likewise.
72227         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72228         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72229         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72230         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72231         HAVE_SECURE_GETENV.
72232         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72233         __secure_getenv to __libc_secure_getenv.
72234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72236         Likewise.
72237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72238         Likewise.
72239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72241         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72247 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72249         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72250         (struct La_i86_retval): Likewise.
72251         (struct La_x86_64_regs): Likewise.
72252         (struct La_x86_64_retval): Likewise.
72253         (struct La_x32_regs): Likewise.
72254         (struct La_x32_retval): Likewise.
72255         (struct La_ppc32_regs): Likewise.
72256         (struct La_ppc32_retval): Likewise.
72257         (struct La_ppc64_regs): Likewise.
72258         (struct La_ppc64_retval): Likewise.
72259         (struct La_sh_regs): Likewise.
72260         (struct La_sh_retval): Likewise.
72261         (struct La_s390_32_regs): Likewise.
72262         (struct La_s390_32_retval): Likewise.
72263         (struct La_s390_64_regs): Likewise.
72264         (struct La_s390_64_retval): Likewise.
72265         (struct La_sparc32_regs): Likewise.
72266         (struct La_sparc32_retval): Likewise.
72267         (struct La_sparc64_regs): Likewise.
72268         (struct La_sparc64_retval): Likewise.
72269         (struct audit_ifaces): Remove architecture-specific pltenter and
72270         pltexit members.
72271         * sysdeps/i386/ldsodefs.h: New file.
72272         * sysdeps/powerpc/ldsodefs.h: Likewise.
72273         * sysdeps/s390/ldsodefs.h: Likewise.
72274         * sysdeps/sh/ldsodefs.h: Likewise.
72275         * sysdeps/sparc/ldsodefs.h: Likewise.
72276         * sysdeps/x86_64/ldsodefs.h: Likewise.
72278 2012-07-25  Marek Polacek  <polacek@redhat.com>
72280         [BZ #6808]
72281         * math/libm-test.inc (yn_test): Add another test.
72282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72283         to ERANGE when the result is +-Inf.
72284         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72285         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72286         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72287         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72289 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72291         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72292         equal to 0.
72293         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72294         clock_t.
72295         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72297 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72299         * configure.in <sysdeps resolving>: Correct printing
72300         Implies_before.
72301         * configure: Regenerate.
72303 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72305         * math/w_ilogb.c: Include <limits.h>.
72306         * math/w_ilogbl.c: Likewise.
72308 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72310         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72311         va_copy.  Document allowing for unavailable va_copy only as
72312         pre-C99 compatibility.
72313         * manual/string.texi (Copying and Concatenation): Use va_copy
72314         instead of __va_copy in concat example.
72316 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72318         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72319         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72320         it if not null.
72322         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72323         with O_NOLINK passed to __file_name_lookup.
72325         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72326         with O_NOLINK passed to __file_name_lookup.
72328         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72329         negative N or less than NGIDS.
72331         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72332         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72333         enough.  Use memcpy instead of strncpy.
72335 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72337         * elf/Makefile (check-data): Remove.
72338         (localplt.data): New vpath directive.
72339         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72340         instead of $(check-data).
72341         * scripts/data/localplt-generic.data: Move to ...
72342         * sysdeps/generic/localplt.data: ... here.
72343         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72344         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72345         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72347         ... here.
72348         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72350         ... here.
72351         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72353         ... here.
72354         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72356         ... here.
72357         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72359         ... here.
72360         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72362         ... here.
72364 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72366         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72367         PPC32 and PPC64 files.
72368         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72369         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72371 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72373         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72374         __makecontext_ret to ...
72375         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72376         ... here and call exit if uc_link is NULL.  New file.
72377         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72378         __makecontext_ret.S.
72379         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72380         __makecontext_ret to ...
72381         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72382         ... here and call exit if uc_link is NULL.  New file.
72383         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72384         __makecontext_ret.S.
72386 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72388         * elf/elf.h (R_390_IRELATIVE): New definition.
72389         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72390         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72391         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72393         (elf_machine_lazy_rel): Likewise.
72394         * sysdeps/s390/dl-irel.h: New file.
72395         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72396         * sysdeps/s390/s390-64/memset.S: New asm code.
72397         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72398         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72400         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72401         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72402         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72404         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72405         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72406         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72407         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72408         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72409         * sysdeps/s390/s390-32/memset.S: New asm code.
72410         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72412 2012-07-17  Marek Polacek  <polacek@redhat.com>
72414         [BZ #14349]
72415         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72416         * sysdeps/s390/s390-64/configure.in: Likewise.
72417         * sysdeps/sparc/configure.in: Likewise.
72418         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72419         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72420         * sysdeps/i386/configure.in: Likewise.
72421         * sysdeps/x86_64/configure.in: Likewise.
72422         * sysdeps/sh/configure.in: Likewise.
72423         * sysdeps/s390/s390-32/configure: Regenerated.
72424         * sysdeps/s390/s390-64/configure: Likewise.
72425         * sysdeps/x86_64/configure: Likewise.
72426         * sysdeps/sh/configure: Likewise.
72427         * sysdeps/powerpc/powerpc64/configure: Likewise.
72428         * sysdeps/powerpc/powerpc32/configure: Likewise.
72429         * sysdeps/sparc/configure: Likewise.
72430         * sysdeps/i386/configure: Likewise.
72432         * elf/dl-open.c: Comment fixes.
72434 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72436         * Makefile [CXX] (check-data): Remove.
72437         [CXX] (c++-types.data): New vpath directive.
72438         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72439         vpath.  Do not allow for C++ type data being missing.
72440         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72441         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72442         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72443         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72444         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72445         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72446         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72448         ... here.
72449         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72451         ... here.
72452         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72454         ... here.
72455         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72457         ... here.
72458         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72460         ... here.
72461         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72463         ... here.
72464         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72466         ... here.
72467         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72470         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72471         definitions to architecture-specific files.
72472         (TLS_IE): Likewise.
72473         (TLS_LD): Likewise.
72474         (TLS_GD): Likewise.
72475         * sysdeps/i386/tls-macros.h: New file.
72476         * sysdeps/powerpc/tls-macros.h: Likewise.
72477         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72478         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72479         * sysdeps/sh/tls-macros.h: Likewise.
72480         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72481         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72482         * sysdeps/x86_64/tls-macros.h: Likewise.
72484 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72486         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72487         zero value for regular exit case.
72489         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72490         (__start_context): Preserve zero value for regular exit case.
72492 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72493             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72495         * manual/setjmp.texi (setcontext): Clarify normal process
72496         termination when uc_link is the null pointer.
72497         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72498         exit call.
72500 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72502         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72503         preprocessor.  Test for each exception mask separately.
72505 2012-07-16  Andreas Jaeger  <aj@suse.de>
72507         * po/ru.po: Update from translation team.
72509 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72511         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72512         equal to 0.
72513         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72514         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72515         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72516         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72517         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72519 2012-07-13  Andreas Jaeger  <aj@suse.de>
72521         * po/fr.po: Update from translation team.
72523 2012-07-12  Marek Polacek  <polacek@redhat.com>
72525         [BZ #14173]
72526         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72527         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72528         loop condition.
72530 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72532         [BZ #13717]
72533         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72534         Change to 2.4.1 where previously 2.4.0.
72535         * sysdeps/unix/sysv/linux/configure: Regenerated.
72536         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72537         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72538         version.
72539         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72540         (__ASSUME_AT_CLKTCK): Remove.
72541         (__ASSUME_AT_PAGESIZE): Likewise.
72542         (__ASSUME_AT_XID): Likewise.
72543         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72544         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72545         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72546         unconditionally.
72547         (HAVE_AUX_PAGESIZE): Likewise.
72548         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72549         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72550         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72552 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72554         [BZ #14307]
72555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72556         the temporary buffer used to invoke __gethostbyname2_r,
72557         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72558         host_data / struct gaih_addrtuple.
72559         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72560         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72561         header file nss/nsswitch.h.
72562         * nss/nsswitch.h (global scope): Add definition of implementation
72563         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72564         resolv/nss_dns/dns-host.c).
72566 2012-07-11  Andreas Jaeger  <aj@suse.de>
72568         * po/fr.po: Update from translation team.
72570         * po/sv.po: Update from translation team
72571         * po/fr.po: Another update from translation team.
72573 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72575         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72576         for subnormals or multiply small sinh result by itself.
72577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72580 2012-07-11  David S. Miller  <davem@davemloft.net>
72582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72584 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72586         [BZ #14347]
72587         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72588         (INTERNAL_MARK): Shift it here.
72590 2012-07-10  Marek Polacek  <polacek@redhat.com>
72592         [BZ #14151]
72593         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72594         libc_cv_asm_global_directive with .globl.
72595         * configure: Regenerated.
72596         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72597         with .globl.
72598         * sysdeps/i386/configure: Regenerated.
72599         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72600         with .globl.
72601         * sysdeps/x86_64/configure: Regenerated.
72602         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72603         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72604         * elf/tst-unique2mod2.c: Likewise.
72605         * elf/tst-unique2mod1.c: Likewise.
72606         * elf/tst-unique1mod2.c: Likewise.
72607         * elf/tst-unique1mod1.c: Likewise.
72608         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72609         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72610         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72611         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72612         * sysdeps/mach/sysdep.h: Likewise.
72613         * sysdeps/i386/sysdep.h: Likewise.
72614         * sysdeps/i386/i386-mcount.S: Likewise.
72615         * sysdeps/x86_64/_mcount.S: Likewise.
72616         * sysdeps/x86_64/sysdep.h: Likewise.
72617         * sysdeps/sh/_mcount.S: Likewise.
72618         * sysdeps/sh/sysdep.h: Likewise.
72619         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72620         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72621         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72622         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72623         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72624         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72625         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72626         * locale/localeinfo.h: Likewise.
72627         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72628         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72630 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72632         [BZ #14336]
72633         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72634         system".
72635         * manual/message.texi (The Uniforum approach): Likewise.
72636         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72637         (glibc iconv Implementation): Likewise.
72639 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72641         [BZ #14337]
72642         * math/s_clog.c (__clog): Avoid scaling a value down where that
72643         could result in underflow.
72644         * math/s_clog10.c (__clog10): Likewise.
72645         * math/s_clog10f.c (__clog10f): Likewise.
72646         * math/s_clog10l.c (__clog10l): Likewise.
72647         * math/s_clogf.c (__clogf): Likewise.
72648         * math/s_clogl.c (__clogl): Likewise.
72649         * math/libm-test.inc (clog_test): Add more tests.
72650         (clog10_test): Likewise.
72651         * sysdeps/i386/fpu/libm-test-ulps: Update.
72652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72654 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72656         [BZ #14283]
72657         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72658         by 7 not 8 to examine high bit of fractional part.
72660         [BZ #14042]
72661         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72662         for call to __mcount_internal.
72663         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72664         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72665         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72667 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72669         [BZ #14154]
72670         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72671         approximation for values within 0x1p-13f of an odd multiple of
72672         pi/4.
72673         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72674         exception.  Add more tests.
72675         * sysdeps/i386/fpu/libm-test-ulps: Update.
72677         [BZ #6778]
72678         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72679         inputs and return -1 for them.  Do not check for +Inf in case not
72680         reachable for +Inf.
72681         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72682         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72683         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72684         and return -1 for them.  Do not check for +Inf in case not
72685         reachable for +Inf.
72686         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72687         define.
72688         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72689         and return -1 for them.  Do not check for +Inf in case not
72690         reachable for +Inf.
72691         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72692         spurious underflow.
72693         * sysdeps/i386/fpu/libm-test-ulps: Update.
72694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72696 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72698         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72700 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72702         [BZ #14157]
72703         [BZ #14331]
72704         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72705         could result in spurious underflow.  Scale down values above
72706         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72707         * math/s_csqrtf.c (__csqrtf): Likewise.
72708         * math/s_csqrtl.c (__csqrtl): Likewise.
72709         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72710         spurious underflow.
72711         * sysdeps/i386/fpu/libm-test-ulps: Update.
72712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72714 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72716         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72717         xopen-msg.sed.
72718         * catgets/xopen-msg.awk: New file.
72719         * catgets/xopen-msg.sed: Removed.
72721         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72722         po2text.sed.
72723         * intl/po2test.awk: New file.
72724         * intl/po2test.sed: Removed.
72726 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72728         [BZ #14328]
72729         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72730         or multiply small sinh result by itself.
72731         * math/s_ctanf.c (__ctanf): Likewise.
72732         * math/s_ctanh.c (__ctanh): Likewise.
72733         * math/s_ctanhf.c (__ctanhf): Likewise.
72734         * math/s_ctanhl.c (__ctanhl): Likewise.
72735         * math/s_ctanl.c (__ctanl): Likewise.
72736         * math/libm-test.inc (ctan_test_tonearest): New function.
72737         (ctan_test_towardzero): Likewise.
72738         (ctan_test_downward): Likewise.
72739         (ctan_test_upward): Likewise.
72740         (ctanh_test_tonearest): Likewise.
72741         (ctanh_test_towardzero): Likewise.
72742         (ctanh_test_downward): Likewise.
72743         (ctanh_test_upward): Likewise.
72744         (main): Call these new functions.
72745         * sysdeps/i386/fpu/libm-test-ulps: Update.
72746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72748 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72750         * .gitignore: Delete /ports entry.
72752 2012-07-03  Andreas Jaeger  <aj@suse.de>
72754         * po/bg.po: Update from translation team.
72755         * po/cs.po: Likewise.
72756         * po/de.po: Likewise.
72757         * po/hr.po: Likewise.
72758         * po/nl.pl: Likewise.
72759         * po/pl.po: Likewise.
72760         * po/vi.po: Likewise.
72762 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72764         * Makeconfig [!+link] (+link-before-libc): New variable.
72765         [!+link] (+link-after-libc): Likewise.
72766         [!+link] (+link-tests): Likewise.
72767         [!+link] (+link): Define in terms of $(+link-before-libc) and
72768         $(+link-after-libc).
72769         [!+link-static] (+link-static-before-libc): New variable.
72770         [!+link-static] (+link-static-after-libc): Likewise.
72771         [!+link-static] (+link-static-tests): Likewise.
72772         [!+link-static] (+link-static): Define in terms of
72773         $(+link-static-before-libc) and $(+link-static-after-libc).
72774         [build-shared] (link-libc-before-gnulib): New variable.
72775         [build-shared] (link-libc-tests): Likewise.
72776         [build-shared] (link-libc): Define in terms of
72777         $(link-libc-before-gnulib).
72778         [!build-shared] (link-libc-tests): New variable.
72779         (link-libc-static-tests): New variable.
72780         [!gnulib] (gnulib-arch): New variable.
72781         [!gnulib] (gnulib-tests): Likewise.
72782         [!gnulib] (static-gnulib-arch): Likewise.
72783         [!gnulib] (static-gnulib-tests): Likewise.
72784         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72785         Define with "=" instead of ":=".
72786         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72787         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72788         * Rules (binaries-all-notests): New variable.
72789         (binaries-all-tests): Likewise.
72790         (binaries-static-notests): Likewise.
72791         (binaries-static-tests): Likewise.
72792         (binaries-all): Define using $(binaries-all-notests) and
72793         $(binaries-all-tests).
72794         (binaries-static): Define using $(binaries-static-notests) and
72795         $(binaries-static-tests).
72796         (binaries-shared-tests): New variable.
72797         (binaries-shared-notests): Likewise.
72798         (binaries-shared): Remove variable.
72799         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72800         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72801         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72802         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72803         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72804         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72805         * elf/Makefile (sln-modules): New variable.
72806         (extra-objs): Add $(sln-modules:=.o).
72807         (ldconfig-modules): Add static-stubs.
72808         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72809         * elf/static-stubs.c: New file.
72811         [BZ #14283]
72812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72813         by 7 not 8 to examine high bit of fractional part.  Use volatile
72814         variables when splitting into final array of floats if
72815         __FLT_EVAL_METHOD__ != 0.
72816         * math/libm-test.inc (cos_test): Add another test.
72817         (sin_test): Likewise.
72818         * sysdeps/i386/fpu/libm-test-ulps: Update.
72820         [BZ #14273]
72821         * math/libm-test.inc (cosh_test): Add more tests.
72823         * version.h (RELEASE): Set to "development".
72824         (VERSION): Set to "2.16.90".
72826 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72828         * NEWS: Update copyright. Remove last-updated date.
72829         Mention math library bug fixes and timezone data changes.
72830         * README: Mention GNU/Hurd, x32, and HPPA support status.
72832 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72834         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72836 2012-06-27  Andreas Jaeger  <aj@suse.de>
72838         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72840 2012-06-25  Andreas Jaeger  <aj@suse.de>
72842         * sysdeps/s390/fpu/libm-test-ulps: Update.
72844 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72845             Thomas Schwinge  <thomas@codesourcery.com>
72847         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72848         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72849         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72850         fanotify_mark.
72852 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72854         * sysdeps/mach/start.c: Remove file.
72855         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72856         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72857         * sysdeps/sh/init-first.c: Likewise.
72859         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72860         registers for frame unwinding purposes, add CFI directives.
72861         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72862         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72863         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72864         Likewise.
72866         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72867         __fortify_fail returning.
72868         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72870         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72871         sysdeps/sh/____longjmp_chk.S.
72872         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72873         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72874         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72875         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72877         * sysdeps/sh/abort-instr.h: New file.
72878         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72879         process in case exit returns.
72881         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72882         initialize the GOT register before use.
72884         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72885         calculation of ARGC > 4.
72887         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72888         meaningful names to some local labels.
72890 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72891             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72893         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72894         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72895         (__arch_compare_and_exchange_val_16_acq): Likewise.
72896         (__arch_compare_and_exchange_val_32_acq): Likewise.
72897         (atomic_exchange_and_add): Fix gUSA sequence.
72898         (atomic_add): Likewise.
72899         (atomic_add_negative): Likewise.
72900         (atomic_add_zero): Likewise.
72901         (atomic_bit_test_set): Likewise.
72903 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72905         [BZ #13579]
72906         * include/link.h (struct link_map): Add l_free_initfini.
72907         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72908         l_initfini.
72909         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72910         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72911         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72912         set.
72914 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72916         * configure.in: Use AC_LANG_SOURCE.
72917         * configure: Regenerate.
72919 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72921         * configure.in (libc_cv_localstatedir): New substituted variable.
72922         * configure: Regenerated.
72923         * config.make.in (localstatedir): New variable, substituted from
72924         libc_cv_localstatedir.
72925         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72926         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72927         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72928         * sysdeps/gnu/configure: Regenerated.
72930 2012-06-21  Jeff Law  <law@redhat.com>
72932         [BZ #14277]
72933         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72934         free.  Simplify list management for _LIBC case.
72936 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72938         [BZ #14273]
72939         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72940         Clear sign bit of 64-bit integer value before comparing against
72941         overflow value.
72943         * sysdeps/mach/configure: Regenerated.
72945 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72947         [BZ #14278]
72948         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72950 2012-06-21  Jeff Law  <law@redhat.com>
72952         [BZ #13882]
72953         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72954         uint16_t for elements in the "seen" array to avoid char overflows.
72955         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72956         * elf/dl-open.c (dl_open_worker): Likewise.
72958 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72960         * scripts/list-sources.sh: Scan PORTS for translations.
72961         * po/libc.pot: Regenerated.
72963 2012-06-21  Andreas Jaeger  <aj@suse.de>
72965         [BZ #12194]
72966         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72967         warning.
72968         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72969         * bits/byteswap-16.h (__bswap_16): Likewise.
72970         * bits/byteswap.h (__bswap_constant_16): Likewise.
72972 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72974         [BZ #14117]
72975         * sysdeps/i386/fpu_control.h: Removed.
72976         * sysdeps/x86_64/fpu_control.h: Moved to ...
72977         * sysdeps/x86/fpu_control.h: Here.
72979         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72980         (_FPU_SETCW): Likewise.
72982 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72984         [BZ #14117]
72985         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72986         * sysdeps/x86/fpu/bits/mathinline.h: This.
72987         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72989         [BZ #14050]
72990         [BZ #14117]
72991         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72992         functions if __x86_64__ is defined.
72994 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72996         * string/endian.h: Add !__ASSEMBLER__ condition for including
72997         conversion interfaces.
72999 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73001         [BZ #14241]
73002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73003         of ABS(x) in calculating zero to negative powers other than odd
73004         integers.
73005         * math/libm-test.inc (pow_test): Add more tests.
73007 2012-06-15  Andreas Jaeger  <aj@suse.de>
73009         * manual/contrib.texi (Contributors): Update entry of Liubov
73010         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73011         Machado Filho.
73013 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73015         * string/string.h: Add __wur to GNU version of strerror_r.
73017 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73019         [BZ #14229]
73020         * string/Makefile (tests): Add tst-strtok_r.
73021         * string/tst-strtok_r.c: New file.
73022         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73023         RAX_LP/RDX_LP on SAVE_PTR.
73025 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73027         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73029 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73031         * libm_test.inc (csqrt_test): Allow more spurious underflow
73032         exceptions.
73033         (j0_test): Likewise.
73034         (j1_test): Likewise.
73035         (y0_test): Likewise.
73036         (y1_test): Likewise.
73038 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73040         * po/Makefile (libc.pot): Use UTF-8 charset.
73042 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73044         [BZ #14210]
73045         Suppress sign-conversion warning from FD_SET.
73046         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73047         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73048         not unsigned long int.
73049         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73051 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73053         [BZ #14050]
73054         [BZ #14117]
73055         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73056         __extern_always_inline instead of __extern_inline.
73057         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73058         (__signbit): Likewise.
73059         (__signbitl): Support C++ namespace.
73060         (lrintf): New inline function.
73061         (lrint): Likewise.
73062         (llrintf): Likewise.
73063         (llrint): Likewise.
73064         (fmaxf): Likewise.
73065         (fmax): Likewise.
73066         (fminf): Likewise.
73067         (fmin): Likewise.
73068         (rint): Likewise.
73069         (rintf): Likewise.
73070         (ceil): Likewise.
73071         (ceilf): Likewise.
73072         (floor): Likewise.
73073         (floorf): Likewise.
73074         (nearbyint): Likewise.
73075         (nearbyintf): Likewise.
73077 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73079         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73080         non-default versions.
73082 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73084         [BZ #14218]
73085         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73087 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73089         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73090         (FE_UPWARD, FE_DOWNWARD): Don't define.
73091         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73092         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73094         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73095         reading it.
73096         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73097         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73099 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73101         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73103         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73104         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73106 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73108         [BZ #14117]
73109         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73110         * sysdeps/i386/fpu/Implies: New file.
73111         * sysdeps/x86_64/fpu/Implies: Likewise.
73112         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73113         * sysdeps/x86/fpu/bits/fenv.h: This.
73115         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73116         __SSE_MATH__.
73118 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73120         [BZ #14134]
73121         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73122         character 0xffff that matches the last element of the
73123         conversion table.
73125 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73127         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73128         fmodl commit.
73130 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73133         values higher than 25.6283.
73135 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73138         subnormal exponent extraction and add some __builtin_expect.
73139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73140         Fix for subnormal mantissa calculation.
73142 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73144         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73145         cpu2 is -1 and errno is not ENOSYS.
73147 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73149         [BZ #14117]
73150         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73151         * sysdeps/x86/bits/string.h: This.
73152         * sysdeps/x86_64/bits/string.h: Removed.
73154         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73155         if not compiling for x86-64, but compiling for >= i486.
73157         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73158         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73160         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73161         New macro from Linux kernel 3.4.0.
73162         (FP_XSTATE_MAGIC2): Likewise.
73163         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73164         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73165         (struct _fpx_sw_bytes): New struct.
73166         (struct _xsave_hdr): Likewise.
73167         (struct _ymmh_state): Likewise.
73168         (struct _xstate): Likewise.
73170         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73171         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73172         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73173         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73174         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73175         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73177         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73179         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73180         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73181         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73182         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73184 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73186         [BZ #13743]
73187         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73188         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73189         (sysdep_headers): Include sys/platform/ppc.h.
73190         * sysdeps/powerpc/test-gettimebase.c: Test for
73191         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73192         * manual/Makefile (appendices): Include platform.texi.
73193         * manual/contrib.texi (Contributors): Update @node pointers.
73194         * manual/maint.texi (Maintenance): Likewise.
73195         (Platform): New node.
73196         * manual/platform.texi: New file.  Document the new features.
73198 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73199             Jakub Jelinek  <jakub@redhat.com>
73201         [BZ #14188]
73202         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73203         where __builtin_expect is unavailable.
73205 2012-06-03  David S. Miller  <davem@davemloft.net>
73207         * stdlib/longlong.h: Updated from GCC.
73209 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73211         [BZ #14042]
73212         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73213         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73214         __mcount_internal.
73215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73216         (GLIBC_2.16): Likewise.
73218 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73220         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73222 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73225         (default-abi): New variable.
73226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73227         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73228         variable.
73229         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73230         Likewise.
73231         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73232         Likewise.
73233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73234         Likewise.
73236         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73237         definition.  Document in comment.
73239 2012-06-01  David S. Miller  <davem@davemloft.net>
73241         * stdlib/longlong.h: Updated from GCC.
73243 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73245         [BZ #14117]
73246         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73247         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73248         sys/debugreg.h sys/io.h here.
73249         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73250         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73251         sys/io.h.
73252         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73253         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73254         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73255         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73256         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73257         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73259         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73260         Define only if __x86_64__ is defined.
73262 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73264         [BZ #14048]
73265         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73266         Use int64_t for variable i.
73267         * math/libm-test.inc (fmod_test): Add more tests.
73269         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73270         z computation is not scheduled after fetestexcept.
73271         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73272         Use math_force_eval instead of asm to ensure calculation scheduled
73273         before exception test.
73274         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73275         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73277 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73280         computation is not scheduled after fetestexcept.
73282 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73284         [BZ #14117]
73285         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73286         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73288 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73290         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73291         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73293 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73295         [BZ #14117]
73296         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73297         <bits/wordsize.h>.
73298         (__WCHAR_MIN): Support __WORDSIZE == 64.
73299         (__WCHAR_MAX): Likewise.
73301         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73302         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73304         [BZ #14183]
73305         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73306         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73308         [BZ #14117]
73309         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73310         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73312         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73313         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73315         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73316         Defined to 1 if __x86_64__ isn't defined.
73317         (_STAT_VER_LINUX_OLD): New.
73318         (st_atime): Remove duplicate.
73319         (st_mtime): Likewise.
73320         (st_ctime): Likewise.
73322 2012-05-31  David S. Miller  <davem@davemloft.net>
73324         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73325         entries.
73327 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73329         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73330         gen-libm-test.pl.
73332         [BZ #14132]
73333         * elf/dl-reloc.c: Include <_itoa.h>.
73334         (_dl_reloc_bad_type): Remove use of INTUSE.
73335         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73336         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73337         * stdio-common/psiginfo.c (psiginfo): Likewise.
73338         * stdio-common/psignal.c (psignal): Likewise.
73339         * string/strsignal.c (strsignal): Likewise.
73340         * include/signal.h (_sys_siglist): Declare hidden proto.
73341         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73342         INTVARDEF with libc_hidden_data_def.
73343         * stdio-common/itoa-udigits.c: Likewise.
73344         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73345         (_itoa_lower_digits_internal): Remove declaration.
73346         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73347         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73348         (_sys_sigabbrev_internal): Remove aliases.
73349         (_sys_siglist): Define hidden alias.
73351 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73354         bits/sysctl.h.
73356 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73358         [BZ #14117]
73359         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73360         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73362         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73363         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73364         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73365         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73366         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73367         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73369         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73370         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73371         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73373         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73374         with __addr.
73375         (insw): Likewise.
73376         (insl): Likewise.
73377         (outsb): Likewise.
73378         (outsw): Likewise.
73379         (outsl): Likewise.
73381         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73382         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73383         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73385         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73386         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73387         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73388         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73389         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73390         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73392         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73393         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73395         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73396         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73398         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73399         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73400         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73402         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73403         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73404         to ...
73405         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73407         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73408         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73409         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73411         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73412         for x86-64.
73413         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73415 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73417         * math/math.h (M_El): Use two more decimal places.
73418         (M_LOG2El): Likewise.
73419         (M_LOG10El): Likewise.
73420         (M_LN2l): Likewise.
73421         (M_LN10l): Likewise.
73422         (M_PIl): Likewise.
73423         (M_PI_2l): Likewise.
73424         (M_PI_4l): Likewise.
73425         (M_1_PIl): Likewise.
73426         (M_2_PIl): Likewise.
73427         (M_2_SQRTPIl): Likewise.
73428         (M_SQRT2l): Likewise.
73429         (M_SQRT1_2l): Likewise.
73431 2012-05-31  David S. Miller  <davem@davemloft.net>
73433         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73434         values between float registers.
73435         * sysdeps/sparc/sparc64/memset.S: Likewise.
73436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73438 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73440         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73441         -D_FORTIFY_SOURCE=1.
73442         (CPPFLAGS-tst-longjmp_chk.c): Define.
73443         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73444         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73445         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73446         CFLAGS-tst-wchar-h.c.
73448 2012-05-31  Marek Polacek  <polacek@redhat.com>
73450         [BZ #14132]
73451         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73452         __endmntent_internal): Remove declaration.
73453         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73454         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73455         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73457 2012-05-30  David S. Miller  <davem@davemloft.net>
73459         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73460         (___Q_simulate_exceptions): Use real FP ops rather than writing
73461         into the %fsr.
73462         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73463         Likewise.
73465 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73467         [BZ #14117]
73468         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73469         * sysdeps/x86/bits/xtitypes.h: This.
73471         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73472         * sysdeps/x86/bits/wordsize.h: This.
73474         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73475         * sysdeps/x86/bits/huge_vall.h: This.
73477         * sysdeps/i386/bits/select.h: Removed.
73478         * sysdeps/x86_64/bits/select.h: Renamed to ...
73479         * sysdeps/x86/bits/select.h: This.
73481         * sysdeps/i386/bits/setjmp.h: Removed.
73482         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73483         * sysdeps/x86/bits/setjmp.h: This.
73485         * sysdeps/i386/bits/mathdef.h: Removed.
73486         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73487         * sysdeps/x86/bits/mathdef.h: This.
73489 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73491         [BZ #14132]
73492         * include/sys/socket.h (__connect_internal)
73493         (__libc_sa_len_internal): Remove declaration.
73494         (__connect, __libc_sa_len): Declare hidden_proto.
73495         (SA_LEN): Remove use of INTUSE.
73496         * socket/connect.c: Add libc_hidden_def.
73497         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73498         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73499         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73500         alias.
73501         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73503         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73504         of adding _internal alias.
73506 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73508         [BZ #14117]
73509         * sysdeps/i386/bits/link.h: Removed.
73510         * sysdeps/i386/bits/linkmap.h: Likewise.
73511         * sysdeps/x86_64/bits/link.h: Renamed to ...
73512         * sysdeps/x86/bits/link.h: This.
73513         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73514         * sysdeps/x86/bits/linkmap.h: This.
73516         * sysdeps/i386/bits/endian.h: Removed.
73517         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73518         * sysdeps/x86/bits/endian.h: This.
73520         * sysdeps/i386/bits/byteswap.h: Removed.
73521         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73522         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73523         * sysdeps/x86/bits/byteswap.h: This.
73524         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73525         * sysdeps/x86/bits/byteswap-16.h: This.
73526         * sysdeps/i386/Implies: Add x86.
73527         * sysdeps/x86_64/Implies: Likewise.
73529 2012-05-30  David S. Miller  <davem@davemloft.net>
73531         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73532         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73533         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73534         (FP_TRAPPING_EXCEPTIONS): Define.
73535         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73536         (FP_TRAPPING_EXCEPTIONS): Define.
73537         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73538         subnormals only when inexact has been signalled or underflow
73539         exceptions are enabled.
73540         (_FP_PACK_CANONICAL): Likewise.
73542 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73544         [BZ #14183]
73545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73546         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73548 2012-05-30  Richard Henderson  <rth@twiddle.net>
73550         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73551         with #ifndef NOT_IN_libc.
73553         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73554         marked to avoid plt entry.
73556 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73558         [BZ #14112]
73559         * Makeconfig (default-abi): New macro.
73560         (abi-includes): Likewise.
73561         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73562         $(abi-$(default-abi)-lib-soname) for soname if defined.
73563         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73564         abi-variants.
73565         * Makefile (installed-stubs): Likewise.
73566         * include/stubs-biarch.h: Removed.
73567         * scripts/lib-names.awk: Only handle one library at a time.
73568         * scripts/soversions.awk: Remove WORDSIZE support.
73569         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73570         entries.
73571         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73572         Removed.
73573         (syscall-list-default-condition): Likewise.
73574         (syscall-list-default-condition): Likewise.
73575         (syscall-list-includes): Likewise.
73576         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73577         syscall-list-* with abi-*.  Handle undefined abi-variants.
73578         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73579         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73580         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73581         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73582         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73583         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73584         Removed.
73585         (syscall-list-32-options): Likewise.
73586         (syscall-list-32-condition): Likewise.
73587         (syscall-list-64-options): Likewise.
73588         (syscall-list-64-condition): Likewise.
73589         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73590         macro.
73591         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73592         Renamed to ...
73593         (abi-*): This.
73594         (abi-64-ld-soname): New macro.
73595         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73596         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73597         Renamed to ...
73598         (abi-*): This.
73599         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73600         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73602 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73604         * sysdeps/unix/sysv/linux/kernel-features.h
73605         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73606         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73607         include <kernel-features.h>.
73608         [!__NR_ftruncate64]: Remove conditional code.
73609         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73610         [__NR_ftruncate64]: Make code unconditional.
73611         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73612         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73613         include <kernel-features.h>.
73614         [!__NR_ftruncate64]: Remove conditional code.
73615         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73616         [__NR_ftruncate64]: Make code unconditional.
73617         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73619         include <kernel-features.h>.
73620         [!__NR_ftruncate64]: Remove conditional code.
73621         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73622         [__NR_ftruncate64]: Make code unconditional.
73623         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73625         include <kernel-features.h>.
73626         [!__NR_ftruncate64]: Remove conditional code.
73627         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73628         [__NR_ftruncate64]: Make code unconditional.
73629         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73631         * configure.in (libc_cv_fpie): Weaken to a compile test using
73632         LIBC_TRY_CC_OPTION.
73633         * configure: Regenerated.
73635 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73641         Refreshed.
73642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73648         Refreshed.
73650 2012-05-27  David S. Miller  <davem@davemloft.net>
73652         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73653         (___Q_zero): New.
73654         (__Q_simulate_exceptions): Return void.  Change to simulate
73655         exceptions by writing into the %fsr.
73656         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73657         (__Qp_handle_exceptions): Likewise.
73658         (numbers): Delete.
73659         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73660         __Qp_handle_exceptions.
73661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73662         __Qp_handle_exceptions.
73663         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73664         as unused and give dummy FP_RND_NEAREST initializer.
73665         (FP_INHIBIT_RESULTS): Define.
73666         (___Q_simulate_exceptions): Update declaration.
73667         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73668         formatting.
73669         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73670         as unused and give dummy FP_RND_NEAREST initializer.
73671         (__Qp_handle_exceptions): Update declaration.
73672         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73673         formatting.
73675 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73677         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73678         the temporary FPU control word.
73679         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73680         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73682         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73683         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73684         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73685         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73686         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73687         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73688         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73689         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73691 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73693         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73694         fields.
73696 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73698         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73699         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73700         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73701         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73702         Likewise.
73703         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73704         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73705         Likewise.
73707 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73709         * po/h.po: Update from translation team.
73711 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73713         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73715         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73716         handling of denormals.
73717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73718         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73719         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73720         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73724         Likewise.
73726 2012-05-26  Marek Polacek  <polacek@redhat.com>
73728         [BZ #14152]
73729         * math/libm-test.inc (fma_test): Don't always expect underflow
73730         exception.
73732 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73734         [BZ #12416]
73735         * elf/tst-execstack.c: Include stackinfo.h.
73736         (do_test): Adjust test case to ensure that pthread_getattr_np
73737         behaviour remains the same after marking stack executable.
73739 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73741         * sysdeps/unix/sysv/linux/kernel-features.h
73742         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73743         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73744         kernel-features.h.
73745         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73746         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73747         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73748         kernel-features.h.
73749         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73750         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73752 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73754         * configure.in: Define the default includes to being none.
73755         * configure: Regenerated.
73757 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73759         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73760         * sysdeps/x86_64/setjmp.S: Likewise.
73761         * sysdeps/i386/bsd-setjmp.S: Likewise.
73762         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73763         * sysdeps/i386/setjmp.S: Likewise.
73764         * sysdeps/i386/__longjmp.S: Likewise.
73765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73766         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73768         * include/stap-probe.h: New file.
73769         * configure.in: Handle --enable-systemtap.
73770         * configure: Regenerated.
73771         * config.h.in (USE_STAP_PROBE): New #undef.
73772         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73773         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73774         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73776 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73778         [BZ #13717]
73779         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73780         to 2.4.0 where earlier.
73781         * sysdeps/unix/sysv/linux/configure: Regenerated.
73782         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73783         <kernel-features.h>.
73784         [__ASSUME_32BITUIDS]: Make code unconditional.
73785         [!__ASSUME_32BITUIDS]: Remove conditional code.
73786         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73787         <kernel-features.h>.
73788         [__ASSUME_32BITUIDS]: Make code unconditional.
73789         [!__ASSUME_32BITUIDS]: Remove conditional code.
73790         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73791         [__ASSUME_32BITUIDS]: Make code unconditional.
73792         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73793         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73794         <kernel-features.h>.
73795         [__ASSUME_32BITUIDS]: Make code unconditional.
73796         [!__ASSUME_32BITUIDS]: Remove conditional code.
73797         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73798         <kernel-features.h>.
73799         [__ASSUME_32BITUIDS]: Make code unconditional.
73800         [!__ASSUME_32BITUIDS]: Remove conditional code.
73801         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73802         <kernel-features.h>.
73803         [__ASSUME_32BITUIDS]: Make code unconditional.
73804         [!__ASSUME_32BITUIDS]: Remove conditional code.
73805         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73806         <kernel-features.h>.
73807         [__ASSUME_32BITUIDS]: Make code unconditional.
73808         [!__ASSUME_32BITUIDS]: Remove conditional code.
73809         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73810         <kernel-features.h>.
73811         [__ASSUME_32BITUIDS]: Make code unconditional.
73812         [!__ASSUME_32BITUIDS]: Remove conditional code.
73813         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73814         <kernel-features.h>.
73815         [__ASSUME_32BITUIDS]: Make code unconditional.
73816         [!__ASSUME_32BITUIDS]: Remove conditional code.
73817         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73818         <kernel-features.h>.
73819         [__ASSUME_32BITUIDS]: Make code unconditional.
73820         [!__ASSUME_32BITUIDS]: Remove conditional code.
73821         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73822         <kernel-features.h>.
73823         [__ASSUME_32BITUIDS]: Make code unconditional.
73824         [!__ASSUME_32BITUIDS]: Remove conditional code.
73825         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73826         <kernel-features.h>.
73827         [__ASSUME_32BITUIDS]: Make code unconditional.
73828         [!__ASSUME_32BITUIDS]: Remove conditional code.
73829         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73830         <kernel-features.h>.
73831         [__ASSUME_32BITUIDS]: Make code unconditional.
73832         [!__ASSUME_32BITUIDS]: Remove conditional code.
73833         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73834         <kernel-features.h>.
73835         [__NR_setresgid] (__setresgid): Do not declare.
73836         [__ASSUME_32BITUIDS]: Make code unconditional.
73837         [!__ASSUME_32BITUIDS]: Remove conditional code.
73838         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73839         <kernel-features.h>.
73840         [__NR_setresuid] (__setresuid): Do not declare.
73841         [__ASSUME_32BITUIDS]: Make code unconditional.
73842         [!__ASSUME_32BITUIDS]: Remove conditional code.
73843         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73844         <kernel-features.h>.
73845         [__ASSUME_32BITUIDS]: Make code unconditional.
73846         [!__ASSUME_32BITUIDS]: Remove conditional code.
73847         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73848         <kernel-features.h>.
73849         [__ASSUME_32BITUIDS]: Make code unconditional.
73850         [!__ASSUME_32BITUIDS]: Remove conditional code.
73851         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73852         <kernel-features.h>.
73853         [__ASSUME_32BITUIDS]: Make code unconditional.
73854         [!__ASSUME_32BITUIDS]: Remove conditional code.
73855         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73856         <kernel-features.h>.
73857         [__ASSUME_32BITUIDS]: Make code unconditional.
73858         [!__ASSUME_32BITUIDS]: Remove conditional code.
73859         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73860         <kernel-features.h>.
73861         [__ASSUME_32BITUIDS]: Make code unconditional.
73862         [!__ASSUME_32BITUIDS]: Remove conditional code.
73863         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73864         <kernel-features.h>.
73865         [__ASSUME_32BITUIDS]: Make code unconditional.
73866         [!__ASSUME_32BITUIDS]: Remove conditional code.
73867         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73868         <kernel-features.h>.
73869         [__ASSUME_32BITUIDS]: Make code unconditional.
73870         [!__ASSUME_32BITUIDS]: Remove conditional code.
73871         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73872         <kernel-features.h>.
73873         [__ASSUME_32BITUIDS]: Make code unconditional.
73874         [!__ASSUME_32BITUIDS]: Remove conditional code.
73875         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73876         <kernel-features.h>.
73877         [__ASSUME_32BITUIDS]: Make code unconditional.
73878         [!__ASSUME_32BITUIDS]: Remove conditional code.
73879         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73880         <kernel-features.h>.
73881         [__ASSUME_32BITUIDS]: Make code unconditional.
73882         [!__ASSUME_32BITUIDS]: Remove conditional code.
73883         * sysdeps/unix/sysv/linux/kernel-features.h
73884         (__ASSUME_SETRESUID_SYSCALL): Remove.
73885         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73886         (__ASSUME_32BITUIDS): Likewise.
73887         (__ASSUME_LDT_WORKS): Likewise.
73888         (__ASSUME_O_DIRECTORY): Likewise.
73889         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73890         architecture but not kernel version.
73891         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73892         (__ASSUME_MMAP2_SYSCALL): Likewise.
73893         (__ASSUME_STAT64_SYSCALL): Likewise.
73894         (__ASSUME_IPC64): Likewise.
73895         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73896         <kernel-features.h>.
73897         [__ASSUME_32BITUIDS]: Make code unconditional.
73898         [!__ASSUME_32BITUIDS]: Remove conditional code.
73899         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73900         <kernel-features.h>.
73901         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73902         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73903         132096]: Remove conditional code.
73904         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73905         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73906         <kernel-features.h>.
73907         [__ASSUME_32BITUIDS]: Make code unconditional.
73908         [!__ASSUME_32BITUIDS]: Remove conditional code.
73909         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73910         <kernel-features.h>.
73911         [__ASSUME_32BITUIDS]: Make code unconditional.
73912         [!__ASSUME_32BITUIDS]: Remove conditional code.
73913         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73914         <kernel-features.h>.
73915         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73916         unconditional.
73917         (__setresgid): Do not declare.
73918         [__ASSUME_32BITUIDS]: Make code unconditional.
73919         [!__ASSUME_32BITUIDS]: Remove conditional code.
73920         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73921         <kernel-features.h>.
73922         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73923         unconditional.
73924         (__setresuid): Do not declare.
73925         [__ASSUME_32BITUIDS]: Make code unconditional.
73926         [!__ASSUME_32BITUIDS]: Remove conditional code.
73927         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73928         <kernel-features.h>.
73929         [__ASSUME_32BITUIDS]: Make code unconditional.
73930         [!__ASSUME_32BITUIDS]: Remove conditional code.
73931         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73932         <kernel-features.h>.
73933         [__ASSUME_32BITUIDS]: Make code unconditional.
73934         [!__ASSUME_32BITUIDS]: Remove conditional code.
73936 2012-05-25  Richard Henderson  <rth@twiddle.net>
73938         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73939         dl_hwcap to ifunc resolver.
73940         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73941         elf_ifunc_invoke.
73942         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73943         dl_hwcap to ifunc resolver.
73944         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73948         [BZ #14153]
73949         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73950         for |x| <= 2**-26, not 2**-57.
73951         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73952         exception.
73954 2012-05-24  Jeff Law  <law@redhat.com>
73956         * stdio-common/Makefile (tests): Add bug25.
73957         * stdio-common/bug25.c: New test.
73959 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73961         [BZ #13576]
73962         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73963         multiple of MALLOC_ALIGNMENT in size.
73964         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73966 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73968         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73969         Require >= 256.
73970         (FILENAME_MAX): Use macro-int-constant.
73971         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73972         (_IOFBF): Use macro-int-constant.
73973         (_IOLBF): Likewise.
73974         (_IONBF): Likewise.
73975         (SEEK_CUR): Likewise.
73976         (SEEK_END): Likewise.
73977         (SEEK_SET): Likewise.
73978         (TMP_MAX): Likewise.
73979         (EOF): Use macro-int-constant.  Require < 0.
73980         (NULL): Use macro-constant.  Require == 0.
73981         (stdin): Require type to be FILE *.
73982         (stdout): Likewise.
73983         (stderr): Likewise.
73984         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73985         macro-int-constant.
73986         (EXIT_SUCCESS): Likewise.
73987         (NULL): Use macro-constant.  Require == 0.
73988         (RAND_MAX): Use macro-int-constant.
73989         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73990         [C99-based standards] (strtof): Require function.
73991         [C99-based standards] (strtold): Likewise.
73992         [C99-based standards] (strtoll): Likewise.
73993         [C99-based standards] (strtoull): Likewise.
73994         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73995         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73996         [ISO || ISO99 || ISO11] (math.h): Likewise.
73997         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73998         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74001 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74003         [BZ #14132]
74004         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74005         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74006         * intl/dgettext.c (DCGETTEXT): Likewise.
74007         * intl/gettext.c (DCGETTEXT): Likewise.
74008         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74009         * posix/regex_internal.h (gettext): Likewise.
74010         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74011         Remove declaration.
74012         * include/argz.h (__argz_count_internal)
74013         (__argz_stringify_internal): Remove declaration.
74014         (__argz_count, __argz_stringify): Declare hidden proto.
74015         * intl/dcgettext.c: Remove use of INTDEF.
74016         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74017         * string/argz-stringify.c: Likewise.
74018         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74019         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74020         Declare hidden proto.
74021         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74022         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74023         Declare hidden proto.
74024         * include/stdio.h (__asprintf_internal): Don't declare.
74025         (__asprintf): Don't define as macro.  Declare hidden proto.
74026         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74027         (__fsetlocking): Declare hidden proto.
74028         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74029         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74030         hidden proto.
74031         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74032         (_IO_setlinebuf): Remove use of INTUSE.
74033         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74034         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74035         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74036         Remove declaration.
74037         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74038         (_IO_do_flush): Remove use of INTUSE.
74039         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74040         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74041         (_IO_adjust_column, _IO_least_wmarker)
74042         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74043         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74044         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74045         (_IO_default_doallocate, _IO_wdefault_doallocate)
74046         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74047         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74048         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74049         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74050         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74051         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74052         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74053         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74054         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74055         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74056         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74057         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74058         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74059         proto.
74060         (_IO_flush_all_internal, _IO_adjust_column_internal)
74061         (_IO_default_uflow_internal, _IO_default_finish_internal)
74062         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74063         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74064         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74065         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74066         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74067         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74068         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74069         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74070         (_IO_file_close_internal, _IO_file_close_it_internal)
74071         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74072         (_IO_file_init_internal, _IO_file_attach_internal)
74073         (_IO_file_fopen_internal, _IO_file_read_internal)
74074         (_IO_file_sync_internal, _IO_file_seek_internal)
74075         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74076         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74077         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74078         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74079         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74080         (_IO_list_all_internal, _IO_link_in_internal)
74081         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74082         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74083         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74084         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74085         (_IO_do_write_internal, _IO_padn_internal)
74086         (_IO_getline_info_internal, _IO_getline_internal)
74087         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74088         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74089         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74090         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74091         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74092         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74093         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74094         with libc_hidden_ver, remove use of INTUSE.
74095         * libio/genops.c: Likewise.
74096         * libio/freopen.c: Likewise.
74097         * libio/freopen64.c: Likewise.
74098         * libio/iofclose.c: Likewise.
74099         * libio/iofdopen.c: Likewise.
74100         * libio/iofflush.c: Likewise.
74101         * libio/iofflush_u.c: Likewise.
74102         * libio/iofgets.c: Likewise.
74103         * libio/iofgets_u.c: Likewise.
74104         * libio/iofopen.c: Likewise.
74105         * libio/iofopncook.c: Likewise.
74106         * libio/iofread.c: Likewise.
74107         * libio/iofread_u.c: Likewise.
74108         * libio/ioftell.c: Likewise.
74109         * libio/iofwrite.c: Likewise.
74110         * libio/iogetline.c: Likewise.
74111         * libio/iogets.c: Likewise.
74112         * libio/iogetwline.c: Likewise.
74113         * libio/iopadn.c: Likewise.
74114         * libio/iopopen.c: Likewise.
74115         * libio/ioseekoff.c: Likewise.
74116         * libio/ioseekpos.c: Likewise.
74117         * libio/iosetbuffer.c: Likewise.
74118         * libio/iosetvbuf.c: Likewise.
74119         * libio/ioungetc.c: Likewise.
74120         * libio/ioungetwc.c: Likewise.
74121         * libio/iovdprintf.c: Likewise.
74122         * libio/iovsprintf.c: Likewise.
74123         * libio/iovsscanf.c: Likewise.
74124         * libio/memstream.c: Likewise.
74125         * libio/obprintf.c: Likewise.
74126         * libio/oldfileops.c: Likewise.
74127         * libio/oldiofclose.c: Likewise.
74128         * libio/oldiofdopen.c: Likewise.
74129         * libio/oldiofopen.c: Likewise.
74130         * libio/oldiopopen.c: Likewise.
74131         * libio/oldstdfiles.c: Likewise.
74132         * libio/putc.c: Likewise.
74133         * libio/setbuf.c: Likewise.
74134         * libio/setlinebuf.c: Likewise.
74135         * libio/stdfiles.c: Likewise.
74136         * libio/strops.c: Likewise.
74137         * libio/vasprintf.c: Likewise.
74138         * libio/vscanf.c: Likewise.
74139         * libio/vsnprintf.c: Likewise.
74140         * libio/vswprintf.c: Likewise.
74141         * libio/wfiledoalloc.c: Likewise.
74142         * libio/wfileops.c: Likewise.
74143         * libio/wgenops.c: Likewise.
74144         * libio/wmemstream.c: Likewise.
74145         * libio/wstrops.c: Likewise.
74146         * libio/__fpurge.c: Likewise.
74147         * libio/__fsetlocking.c: Likewise.
74148         * assert/assert.c: Likewise.
74149         * debug/fgets_chk.c: Likewise.
74150         * debug/fgets_u_chk.c: Likewise.
74151         * debug/fread_chk.c: Likewise.
74152         * debug/fread_u_chk.c: Likewise.
74153         * debug/gets_chk.c: Likewise.
74154         * debug/obprintf_chk.c: Likewise.
74155         * debug/vasprintf_chk.c: Likewise.
74156         * debug/vdprintf_chk.c: Likewise.
74157         * debug/vsnprintf_chk.c: Likewise.
74158         * debug/vsprintf_chk.c: Likewise.
74159         * malloc/mtrace.c: Likewise.
74160         * misc/error.c: Likewise.
74161         * misc/syslog.c: Likewise.
74162         * stdio-common/asprintf.c: Likewise.
74163         * stdio-common/fxprintf.c: Likewise.
74164         * stdio-common/getw.c: Likewise.
74165         * stdio-common/isoc99_fscanf.c: Likewise.
74166         * stdio-common/isoc99_scanf.c: Likewise.
74167         * stdio-common/isoc99_vfscanf.c: Likewise.
74168         * stdio-common/isoc99_vscanf.c: Likewise.
74169         * stdio-common/isoc99_vsscanf.c: Likewise.
74170         * stdio-common/printf-prs.c: Likewise.
74171         * stdio-common/printf_fp.c: Likewise.
74172         * stdio-common/printf_fphex.c: Likewise.
74173         * stdio-common/printf_size.c: Likewise.
74174         * stdio-common/putw.c: Likewise.
74175         * stdio-common/scanf.c: Likewise.
74176         * stdio-common/sprintf.c: Likewise.
74177         * stdio-common/tmpfile.c: Likewise.
74178         * stdio-common/vfprintf.c: Likewise.
74179         * stdio-common/vfscanf.c: Likewise.
74180         * stdlib/strfmon_l.c: Likewise.
74181         * sunrpc/openchild.c: Likewise.
74182         * sunrpc/xdr_stdio.c: Likewise.
74183         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74184         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74186 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74188         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74190         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74191         in the third column, to generate for the shared library an IFUNC
74192         that uses _dl_vdso_vsym.
74193         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74194         * Makeconfig (object-suffixes-noshared): New variable.
74196         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74197         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74198         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74199         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74201         [BZ #14132]
74202         * include/sys/time.h (__gettimeofday): Remove macro.
74203         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74204         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74205         Remove INTDEF.
74206         (__gettimeofday): Add libc_hidden_def.
74207         (gettimeofday): Add libc_hidden_weak.
74208         * sysdeps/mach/gettimeofday.c: Likewise.
74209         * sysdeps/posix/gettimeofday.c: Likewise.
74210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74213         (__gettimeofday_internal): Remove strong_alias.
74214         (__gettimeofday): Add libc_hidden_def.
74215         (gettimeofday): Add libc_hidden_weak.
74216         * sysdeps/unix/syscalls.list (gettimeofday):
74217         Remove __gettimeofday_internal alias.
74219 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74220             H.J. Lu  <hongjiu.lu@intel.com>
74222         [BZ #12495]
74223         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74224         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74225         (largebin_index_32_big): New.
74226         (largebin_index): Use it for 16-byte alignment.
74227         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74228         correction with front_misalign.
74230 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74234         Likewise.
74235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74236         Likewise.
74237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74238         Likewise.
74239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74240         Likewise.
74241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74242         Likewise.
74243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74244         Likewise.
74245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74246         Likewise.
74247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74248         Likewise.
74249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74250         Likewise.
74251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74252         Likewise.
74253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74254         Likewise.
74255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74256         Likewise.
74258         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74259         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74261 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74263         [BZ #10846]
74264         [BZ #14036]
74265         * math/libm-test.inc (exp_test): Add test from bug 14036.
74266         (pow_test): Add test from bug 10846.
74268         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74269         and other flags.
74270         (special_function): Do not include flags in test name.
74271         (parse_args): Likewise.
74272         * sysdeps/i386/fpu/libm-test-ulps: Update.
74273         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74274         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74275         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74278         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74279         exceptions.
74280         * math/libm-test.inc ("Philosophy"): Update comment about
74281         exception testing.
74282         (UNDERFLOW_EXCEPTION): New macro.
74283         (UNDERFLOW_EXCEPTION_OK): Likewise.
74284         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74285         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74286         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74287         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74288         (INVALID_EXCEPTION_OK): Update value.
74289         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74290         (OVERFLOW_EXCEPTION_OK): Likewise.
74291         (IGNORE_ZERO_INF_SIGN): Likewise.
74292         (test_exceptions): Handle underflow exceptions.
74293         (acos_test): Update for underflow exception expectations.
74294         (cexp_test): Likewise.
74295         (clog_test): Likewise.
74296         (clog10_test): Likewise.
74297         (csqrt_test): Likewise.
74298         (ctan_test): Likewise.
74299         (ctanh_test): Likewise.
74300         (exp_test): Likewise.
74301         (exp10_test): Likewise.
74302         (exp2_test): Likewise.
74303         (expm1_test): Likewise.
74304         (fma_test): Likewise.
74305         (j0_test): Likewise.
74306         (jn_test): Likewise.
74307         (nexttoward_test): Likewise.
74308         (pow_test): Likewise.
74309         (scalbn_test): Likewise.
74310         (scalbln_test): Likewise.
74311         (tan_test): Likewise.
74312         (y1_test): Likewise.
74313         * sysdeps/i386/fpu/libm-test-ulps: Update.
74314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74316 2012-05-23  David S. Miller  <davem@davemloft.net>
74318         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74319         (__libc_sigaction): Remove unused local variables.
74321 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74323         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74325 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74327         mktime: avoid signed integer overflow
74328         * time/mktime.c (__mktime_internal): Do not mishandle the case
74329         where diff == INT_MIN.
74331         mktime: simplify computation of average
74332         * time/mktime.c (ranged_convert): Use new time_t_avg function
74333         instead of rolling our own (probably-slower) code.
74335         mktime: do not assume signed right shift propagates sign bit
74336         * time/mktime.c (isdst_differ): New static function.
74337         (__mktime_internal): No need to normalize tm_isdst now.
74338         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74339         tm_isdst values.
74341         mktime: merge another wrapv change from gnulib
74342         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74343         from some compilers.
74345         mktime: remove incorrect attempt at unusual arithmetics
74346         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74347         The code didn't really work on such machines anyway.
74348         (TYPE_MINIMUM): Assume two's complement.
74349         (twos_complement_arithmetic): Verify that long_int and time_t
74350         are two's complement (or unsigned, in the latter case).
74352         mktime: check signed shifts on long_int and time_t, too
74353         * time/mktime.c (SHR): Check that shifts work as desired
74354         on the types long_int and time_t too, as SHR is used on
74355         such types.
74357         mktime: do not assume 'long' is wide enough
74358         * time/mktime.c (verify): Move decl up.
74359         (long_int): New type.
74360         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74361         to remove assumption in the code that 'long' is wide enough to
74362         store year values.  This assumption is not true on x32 and on
74363         some non-glibc platforms.
74365         mktime: merge wrapv change from gnulib
74366         * time/mktime.c (WRAPV): New macro.
74367         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74368         (guess_time_tm, __mktime_internal): Do not assume that signed
74369         integer overflow wraps around; modern compilers generate code
74370         where this assumption is no longer valid.
74372 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74374         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74375         Replace "jmp L(pseudo_end)" with "ret".
74376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74377         Likewise.
74379 2012-05-23  Andreas Jaeger  <aj@suse.de>
74381         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74382         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74384 2012-05-23  Andreas Jaeger  <aj@suse.de>
74385             Maximilian Attems  <max@stro.at>
74387         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74388         New macros.
74390 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74393         code so that pseudo_end is just ret and the stack pointer is
74394         correct also for static library in error case.
74396 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74398         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74399         move to syscalls.list.
74400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74405         * manual/install.texi (Running make install): Do not mention Linux
74406         kernel version for which pt_chown is not needed.
74407         (Linux): Do not mention problems with nscd with 2.0 kernels.
74408         * INSTALL: Regenerated.
74410 2012-05-23  Andreas Jaeger  <aj@suse.de>
74412         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74413         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74414         macro.
74415         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74416         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74417         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74418         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74419         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74420         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74421         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74422         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74423         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74425         * sysdeps/unix/sysv/linux/bits/in.h
74426         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74428 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74430         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74431         (PREPARE_VERSION): Just use assert instead, it will be elided
74432         under [NDEBUG] anyway.
74434 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74436         * sysdeps/unix/sysv/linux/Makefile: Include
74437         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74438         (sysdep_routines): Remove sysctl.
74439         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74440         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74441         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74442         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74443         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74445 2012-05-22  Andreas Jaeger  <aj@suse.de>
74447         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74448         that pseudo_end is just ret and the stack pointer is correct also
74449         for static library in error case.
74451 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74453         [BZ #14122]
74454         * nss/nsswitch.c (defconfig_entries): New variable.
74455         (__nss_database_lookup): Don't leak defconfig entries.
74456         (nss_parse_service_list): Don't leak on error paths.
74457         (free_database_entries): New function.
74458         (free_defconfig): New function.
74459         (free_mem): Move common code to free_database_entries.
74461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74463         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74464         Add arch_prctl.
74465         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74467         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74468         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74470         New macro.
74471         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74472         (INTERNAL_SYSCALL_TYPES): Likewise.
74473         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74474         (LOAD_REGS_TYPES_[1-6]): Likewise.
74475         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74476         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74478 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74480         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74481         copysignl for GLIBC_2_0.
74482         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74483         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74485         logbl for GLIBC_2_0.
74486         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74487         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74489 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74491         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74492         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74494         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74495         Use "neg %eax".
74497         * time/mktime.c: Update copyright years.
74499 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74501         mktime: merge comment-quoting-style change from gnulib
74502         * time/mktime.c: Quote 'like this' in comments.
74503         The GNU coding standards suggest that we no longer quote `like this',
74504         as "`" and "'" are typically rendered asymmetrically nowadays.
74505         The typical gnulib style is to quote 'like this' when quoting
74506         code, and "like this" when quoting English.
74508         * time/mktime.c (compile-command): Add "-I.".
74510         mktime: merge mktime-internal.h change from gnulib
74511         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74513         mktime: merge time_r change from gnulib
74514         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74516         mktime: merge DEBUG change from gnulib
74517         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74518         case system <time.h> has a #define.
74520         mktime: merge <sys/types.h> change from gnulib
74521         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74522         since <time.t> is now guaranteed to define time_t.
74524         mktime: merge HAVE_CONFIG_H change from gnulib
74525         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74527 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74530         Use "neg %eax".
74532         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74533         __rlim_t cast.
74534         (struct rusage): Use anonymous union to pad each field to
74535         __syscall_slong_t.
74537 2012-05-21  David S. Miller  <davem@davemloft.net>
74539         * Makefules (o-iterator): Remove .s cases.
74540         (compile-command.s): Delete.
74541         (COMPILE.s): Delete.
74542         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74544 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74546         * configure.in (libc_cv_predef_stack_protector): Only consider
74547         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74548         * configure: Regenerated.
74550 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74553         New macro.  Use R*LP on int and pointer.
74554         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74555         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74556         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74557         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74559         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74560         [__WORDSIZE_TIME64_COMPAT32] instead of
74561         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74562         (struct utmp): Likewise.
74563         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74564         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74565         Renamed to ...
74566         (__WORDSIZE_TIME64_COMPAT32): This.
74567         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74568         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74569         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74570         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74571         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74572         (__WORDSIZE_TIME64_COMPAT32): New macro.
74574 2012-05-21  Andreas Jaeger  <aj@suse.de>
74576         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74577         only if [SHARED]. Add prototype for __wcschr_ia32.
74579 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74581         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74582         of %rbp unmolested in the jmp_buf while mangling the low bits.
74583         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74584         unmolested high bits of %rbp while demangling the low bits.
74585         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74587 2012-05-21  Andreas Jaeger  <aj@suse.de>
74589         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74590         * sunrpc/svc_simple.c: Use it for registerrpc.
74591         * sunrpc/xcrypt.c: Use it for passwd2des.
74593         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74595 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74597         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74598         Don't define if [__SYSCALL_WORDSIZE != 32].
74599         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74600         New macro.
74602 2012-05-21  Bruno Haible  <bruno@clisp.org>
74603             Andreas Jaeger  <aj@suse.de>
74605         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74606         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74607         inptr and inend for must_buffer_ch.
74608         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74609         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74610         * stdio-common/Makefile (tests): Remove bug15.
74611         (bug15-ENV): Remove macro.
74612         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74613         anymore.
74615 2012-05-19  Andreas Jaeger  <aj@suse.de>
74616             Roland McGrath  <roland@hack.frob.com>
74618         * manual/contrib.texi: Completely rewritten. It contains now an
74619         alphabetical list of contributors and their contributions.
74621 2012-05-21  Richard Henderson  <rth@twiddle.net>
74623         * misc/getauxval.c (__getauxval): Use unsigned long int.
74624         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74625         (getauxval): Use unsigned long int.
74627 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74629         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74631 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74633         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74634         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74635         __alignof__ (long double).
74637 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74641 2012-05-20  Richard Henderson  <rth@twiddle.net>
74643         * misc/getauxval.c: New file.
74644         * misc/sys/auxv.h: New file.
74645         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74646         (routines): Add getauxval.
74647         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74648         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74649         * elf/dl-sysdep.c (_dl_auxv): Remove.
74650         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74651         * elf/dl-support.c (_dl_auxv): New variable.
74652         (_dl_aux_init): Initialize it.
74653         * manual/startup.texi (Auxiliary Vector): New node.
74654         * sysdeps/generic/bits/hwcap.h: New file.
74655         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74656         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74657         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74658         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74659         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74660         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74662         Update.
74663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74672 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74676 2012-05-19  David S. Miller  <davem@davemloft.net>
74678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74680 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74682         [BZ #14123]
74683         * math/s_ccosh.c: Include <float.h>
74684         (__ccosh): Avoid internal overflow calculating sinh and cosh
74685         values before multiplying by sin and cos values.
74686         * math/s_ccoshf.c: Likewise.
74687         * math/s_ccoshl.c: Likewise.
74688         * math/s_csin.c: Likewise.
74689         * math/s_csinf.c: Likewise.
74690         * math/s_csinl.c: Likewise.
74691         * math/s_csinh.c: Likewise.
74692         * math/s_csinhf.c: Likewise.
74693         * math/s_csinhl.c: Likewise.
74694         * math/libm-test.inc (ccos_test): Add more tests.
74695         (ccosh_test): Likewise.
74696         (csin_test): Likewise.
74697         (csinh_test): Likewise.
74698         * sysdeps/i386/fpu/libm-test-ulps: Update.
74699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74701 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74703         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74704         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74706         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74708 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74710         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74711         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74712         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74713         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74714         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74715         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74716         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74717         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74718         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74719         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74720         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74721         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74722         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74723         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74724         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74725         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74726         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74727         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74728         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74729         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74730         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74731         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74732         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74733         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74734         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74735         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74736         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74737         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74738         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74739         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74740         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74742 2012-05-18  Andreas Jaeger  <aj@suse.de>
74744         * csu/.gitignore: Delete.
74746 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74748         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74749         (timex): Use __syscall_slong_t.
74751 2012-05-18  Andreas Jaeger  <aj@suse.de>
74752             Carlos O'Donell  <carlos_odonell@mentor.com>
74754         * manual/install.texi (Configuring and compiling): Update
74755         description about files modified in the source directory.
74756         * INSTALL: Regenerated.
74758 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74760         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74761         value.  Use "or" to set return value to -1.
74762         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74763         negate return value.
74765 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74767         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74768         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74769         failure if the compiler has Graphite support disabled.
74770         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74771         Likewise.
74772         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74773         (CFLAGS-memmove.c): Likewise.
74774         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74775         Likewise.
74777 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74779         * sysdeps/x86_64/x32/_itoa.h: New file.
74781         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74782         getdents system call only if kernel and user dirents have the
74783         same d_ino and d_off.
74785         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74786         LLONG_MAX != LONG_MAX.
74787         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74788         (_fitoa_word): Likewise.
74790         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74791         years.
74792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74793         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74794         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74796         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74797         include <bits/wordsize.h>.  Check __x86_64__ instead of
74798         __WORDSIZE.
74799         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74800         if __x86_64__ is defined.  Use anonymous union on fpstate.
74802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74803         anonymous union.
74805 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74807         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74808         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74810         Refer to _rtld_local_ro instead of _rtld_global_ro.
74811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74812         Likewise.
74813         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74814         Likewise.
74815         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74816         Likewise.
74817         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74818         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74819         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74821         [BZ #10882]
74822         * sysdeps/powerpc/powerpc32/dl-machine.c
74823         (__elf_machine_runtime_setup) [PROF]: Don't reference
74824         _dl_prof_resolve.
74826 2012-05-18  Andreas Jaeger  <aj@suse.de>
74828         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74829         function only available for GCCs before 3.4 since GCC 3.4
74830         introduced a builtin.
74831         (lrint): Likewise.
74832         (llrintf): Likewise.
74833         (llrint): Likewise.
74834         (fmaxf): Likewise.
74835         (fmax): Likewise.
74836         (fminf): Likewise.
74837         (fmin): Likewise.
74838         (rint): Likewise.
74839         (rintf): Likewise.
74840         (nearbyint): Likewise.
74841         (nearbyintf): Likewise.
74842         (ceil): Likewise.
74843         (ceilf): Likewise.
74844         (floor): Likewise.
74845         (floorf): Likewise.
74847 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74849         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74850         on both fields and cast pointer to __syscall_ulong_t.
74852         * bits/types.h (__fsword_t): New type.
74853         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74854         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74856         (__FSWORD_T_TYPE): Likewise.
74857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74858         (__FSWORD_T_TYPE): Likewise.
74859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74860         (__FSWORD_T_TYPE): Likewise.
74861         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74862         (__FSWORD_T_TYPE): Likewise.
74863         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74864         __SWORD_TYPE with __fsword_t.
74865         (statfs64): Likewise.
74867 2012-05-17  David S. Miller  <davem@davemloft.net>
74869         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74871 2012-05-17  Andreas Jaeger  <aj@suse.de>
74873         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74874         warning.
74876 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74878         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74880 2012-05-17  Andreas Jaeger  <aj@suse.de>
74882         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74883         when it is used.
74885 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74887         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74889 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74891         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74892         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74894 2012-05-17  Andreas Jaeger  <aj@suse.de>
74895             Carlos O'Donell  <carlos_odonell@mentor.com>
74897         [BZ #14059]
74898         * sysdeps/x86_64/multiarch/init-arch.h
74899         (bit_YMM_Usable): Rename to...
74900         (bit_AVX_Usable): ... this.
74901         (bit_FMA4_Usable): New macro.
74902         (bit_XMM_state): New macro.
74903         (bit_YMM_state): New macro.
74904         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74905         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74906         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74907         (CPUID_OSXSAVE): New macro.
74908         (CPUID_AVX): New macro.
74909         (CPUID_FMA4): New macro.
74910         (index_YMM_Usable): Rename to...
74911         (index_AVX_Usable): ... this.
74912         (HAS_AVX): Use HAS_ARCH_FEATURE.
74913         (HAS_FMA4): Likewise.
74914         (HAS_YMM_USABLE): Remove.
74915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74916         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74917         are present.
74918         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74919         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74920         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74921         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74922         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74924 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74926         * math/libm-test.c: Support platforms without multiple rounding modes.
74927         * math/bug-nextafter.c: Support platforms without FP exceptions.
74928         * math/bug-nexttoward.c: Likewise.
74929         * math/test-fenv.c: Likewise.
74930         * math/test-misc.c: Likewise.
74931         * stdlib/bug-getcontext.c: Likewise.
74933 2012-05-17  Andreas Jaeger  <aj@suse.de>
74935         * manual/examples/search.c (critter_cmp): Change signature to
74936         avoid warnings.
74937         * manual/string.texi (Collation Functions): Likewise.
74939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74941         * bits/types.h: Fold copyright years.
74942         * bits/typesizes.h: Likewise.
74943         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74944         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74945         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74946         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74947         * time/time.h: Likewise.
74949 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74951         [BZ #208]
74952         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74953         in instead of returning them.  Return void.
74954         (__libc_mallinfo): Accumulate over all arenas.
74955         (__malloc_stats): Adjust for change in int_mallinfo interface.
74957 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74959         [BZ #10375]
74960         * configure.in (NM): Add AC_CHECK_TOOL for it.
74961         (libc_extra_cflags): New substituted variable.
74962         Check for -fstack-protector being used implicitly.
74963         * configure: Regenerated.
74964         * config.make.in (config-extra-cflags): New variable,
74965         gets @libc_extra_cflags@.
74966         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74968         [BZ #10375]
74969         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74970         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74971         * configure: Regenerated.
74972         * config.make.in (CPPUNDEFS): New substituted variable.
74973         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74974         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74975         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74979         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74980         (mq_attr): Use __syscall_slong_t.
74982 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74984         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74985         Check __x86_64__ instead of __WORDSIZE.
74986         (_STAT_VER_LINUX): Likewise.
74987         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74988         __syscall_ulong_t and __syscall_slong_t.
74989         (stat64): Likewise.
74991 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74995 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74997         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74999 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75001         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75002         __syscall_ulong_t.
75004         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75005         include <bits/wordsize.h>.  Check __x86_64__ instead of
75006         __WORDSIZE.
75007         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75008         defined.
75009         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75011         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75012         include <bits/wordsize.h>.  Check __x86_64__ instead of
75013         __WORDSIZE.
75014         (user_regs_struct): Use "__extension__ unsigned long long"
75015         instead of "unsigned long" if __x86_64__ is defined.
75016         (user): Likewise.  Pad after pointer field if __ILP32__ is
75017         defined.
75019 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75021         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75022         versions 5 to 9.
75023         * configure: Regenerated.
75024         * manual/install.texi (texinfo): Increase version requirement to
75025         4.5 or later.
75026         * INSTALL: Regenerated.
75028         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75030 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75032         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75034         * sysdeps/x86_64/x32/ffs.c: New file.
75036         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75037         __syscall_ulong_t.
75038         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75039         defined.  Use __syscall_ulong_t.
75040         (shminfo): Use __syscall_ulong_t.
75041         (shm_info): Likewise.
75043         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75044         __syscall_ulong_t.
75046         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75047         <bits/wordsize.h>.
75048         (msgqnum_t): Use __syscall_ulong_t.
75049         (msglen_t): Likewise.
75050         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75051         __syscall_ulong_t.
75053         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75054         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75056         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75058         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75059         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75061         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75062         __syscall_slong_t.
75064         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75065         include <bits/wordsize.h>.  Check __x86_64__ instead of
75066         __WORDSIZE.
75068         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75069         "unsigned long long int" if __x86_64__ is defined.
75070         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75072         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75073         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75074         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75076         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75077         <stdint.h>.
75078         (GET_PC): Cast to uintptr_t first.
75079         (GET_FRAME): Likewise.
75080         (GET_STACK): Likewise.
75082         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75083         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75084         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75085         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75086         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75087         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75088         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75089         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75090         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75091         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75092         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75093         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75094         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75095         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75096         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75097         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75098         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75099         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75100         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75101         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75102         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75103         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75104         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75105         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75106         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75107         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75108         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75109         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75110         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75112 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75114         * Makerules (+depfiles): Also collect depfiles from .oS in
75115         $(extra-objs).
75116         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75117         .oS, $(libnldbl-routines)).
75119         * Makerules (native-compile-mkdep-flags): Define.
75120         * sunrpc/Makefile (extra-objs): Add $(addprefix
75121         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75122         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75123         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75124         calling $(make-target-directory).
75126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75128         * bits/types.h (__snseconds_t): Removed.
75129         * time/time.h (struct timespec): Replace __snseconds_t with
75130         __syscall_slong_t.
75131         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75132         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75133         Likewise.
75134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75135         (__SNSECONDS_T_TYPE): Likewise.
75136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75137         (__SNSECONDS_T_TYPE): Likewise.
75138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75139         (__SNSECONDS_T_TYPE): Likewise.
75141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75143         * sysdeps/mach/hurd/bits/typesizes.h
75144         (__SYSCALL_SLONG_TYPE): New macro.
75145         (__SYSCALL_ULONG_TYPE): Likewise.
75147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75149         * bits/types.h (__syscall_slong_t): New type.
75150         (__syscall_ulong_t): Likewise.
75152         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75153         (__SYSCALL_ULONG_TYPE): Likewise.
75154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75155         (__SYSCALL_SLONG_TYPE): Likewise.
75156         (__SYSCALL_ULONG_TYPE): Likewise.
75157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75158         (__SYSCALL_SLONG_TYPE): Likewise.
75159         (__SYSCALL_ULONG_TYPE): Likewise.
75160         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75161         (__SYSCALL_SLONG_TYPE): Likewise.
75162         (__SYSCALL_ULONG_TYPE): Likewise.
75164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75166         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75167         Add sigaltstack-offsets.sym.
75168         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75169         <sigaltstack-offsets.h>.
75170         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75171         longjmp_msg pointer.
75172         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75173         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75174         signal stack.
75175         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75177 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75179         * elf/stackguard-macros.h: Remove file.
75180         * sysdeps/generic/stackguard-macros.h: New file.
75181         * sysdeps/i386/stackguard-macros.h: Likewise.
75182         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75183         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75184         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75185         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75186         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75187         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75188         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75189         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75190         <elf/stackguard-macros.h>.
75192         [BZ #14109]
75193         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75194         __aligned__ in attribute.
75195         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75196         (gregset_t): Likewise.
75198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75200         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75201         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75202         * sysdeps/x86_64/x32/Implies-after: New file.
75204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75206         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75207         and access return value for _dl_profile_fixup.  Use R10_LP to
75208         load frame size.
75210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75212         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75216         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75217         * sysdeps/x86_64/x32/sysdep.h: New file.
75219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75221         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75222         * sysdeps/x86_64/setjmp.S: Likewise.
75224 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75226         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75228         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75229         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75230         remove unused global constant.
75232 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75234         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75235         include of <not-cancel.h>.
75237 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75239         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75241 2012-05-15  Jeff Law  <law@redhat.com>
75242             Andreas Jaeger  <aj@suse.de>
75244         [BZ #13594]
75245         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75246         out from...
75247         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75248         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75249         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75250         code changing __hst_map_handle.map.
75252 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75254         * configure.in (sysnames): Look for Implies-before and Implies-after
75255         files.
75256         * configure: Regenerated.
75258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75260         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75261         8-byte data alignment with LP_SIZE alignment.
75263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75265         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75266         into R10_LP.
75268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75270         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75274         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75275         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75276         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75277         Likewise.
75278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75282         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75283         (stackinfo_sub_sp): Likewise.
75285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75287         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75288         RAX_LP.
75290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75293         into R*_LP.
75295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75297         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75298         sizes into R*_LP.
75300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75302         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75306         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75307         into R11_LP and load __x86_64_shared_cache_size_half into
75308         R8_LP.
75310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75312         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75313         R8_LP.
75315 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75318         logb for POWER7.
75319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75320         logbf for POWER7.
75321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75322         logbl for POWER7.
75323         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75324         powerpc32/power7/fpu/s_logb.c via #include.
75325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75326         powerpc32/power7/fpu/s_logbf.c via #include.
75327         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75328         powerpc32/power7/fpu/s_logbl.c via #include.
75330 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75332         * README.libm: Remove file.
75334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75336         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75337         count for x32.  Use R*_LP and omit operand-size suffix.
75339 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75341         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75342         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75343         * sysdeps/x86_64/x32/shlib-versions: New file.
75345 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75347         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75348         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75349         Use _dl_fatal_printf instead.
75351 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75353         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75354         set if not set by the user.  Do not allow for being unset.
75355         * sysdeps/unix/sysv/linux/configure: Regenerated.
75357 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75359         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75360         the `q' suffix from lea and replace .quad with ASM_ADDR.
75362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75365         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75366         instead of $17.
75367         (PTR_DEMANGLE): Likewise.
75369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75371         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75372         (LP_OP): Likewise.
75373         (ASM_ADDR): Likewise.
75374         (RAX_LP): Likewise.
75375         (RBP_LP): Likewise.
75376         (RBX_LP): Likewise.
75377         (RCX_LP): Likewise.
75378         (RDI_LP): Likewise.
75379         (RSI_LP): Likewise.
75380         (RSP_LP): Likewise.
75381         (R8_LP): Likewise.
75382         (R9_LP): Likewise.
75383         (R10_LP): Likewise.
75384         (R10_LP): Likewise.
75385         (R11_LP): Likewise.
75386         (R12_LP): Likewise.
75387         (R13_LP): Likewise.
75388         (R14_LP): Likewise.
75389         (R15_LP): Likewise.
75391 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75393         * sysdeps/x86_64/x32/dl-machine.h: New file.
75395 2012-05-14  Andreas Jaeger  <aj@suse.de>
75397         * manual/Makefile (subdir): Remove export of subdir.
75398         (all): Remove target.
75399         (.PHONY): Remove all from list.
75400         (mkinstalldirs): Remove.
75401         (.PHONY): Remove installdirs from list.
75402         ($(inst_infodir)/libc.info): Use make-target-directory.
75403         (installdirs): Remove.
75404         (subdir_%): Remove.
75405         (glibc-targets): Remove.
75406         (lib): Remove.
75407         (stubs): Remove.
75408         ($(objpfx)stubs ../po/manual.pot): Remove.
75409         ($(objpfx)stamp%): Remove.
75410         (make-target-directory): Remove.
75411         (subdir_install): Remove.
75412         (routines): Remove.
75413         (aux): Remove.
75414         (sources): Remove.
75415         (objects): Remove.
75416         (headers): Remove.
75418         [BZ #13750]
75419         * manual/.gitignore: Remove, it's not needed anymore.
75420         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75421         all files in it.
75422         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75423         directory.
75424         (texis): Renamed to $(objpfx)texis.
75425         (texis-path): New, contains path to generated files.
75426         (chapters.%): Use texis-path for complete path, add extra argument
75427         libc-texinfo.sh.
75428         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75429         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75430         (summary,texi, stamp-summary): Use complete path of
75431         files. Generate files in build dir.
75432         (dir-add.texi): Build in build dir.
75433         (libm-err.texi,stamp-libm-err): Likewise.
75434         (version.texi, stamp-version): Likewise.
75435         (.%c.texi): Likewise.
75436         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75437         (mostlyclean): Remove target.
75438         (realclean): Remove target.
75439         (generated): Add new variable with contents from mostlyclean and
75440         realclean, remove entries duplicated in common-mostlyclean, add
75441         stamp-libm-err and stamp-version.
75442         (generated-dirs): Add libc directory.
75443         ($(inst_infodir)/libc.info): Install files from build dir.
75445         * manual/install.texi (Configuring and compiling): Adjust since
75446         the info files are not part of the tar ball anymore.
75448 2012-05-14  Andreas Jaeger  <aj@suse.de>
75450         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75451         variable.
75453 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75455         [BZ #13717]
75456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75457         to 2.2.0 where earlier.
75458         * sysdeps/unix/sysv/linux/configure: Regenerated.
75459         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75460         Remove conditional code.
75461         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75462         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75463         Remove conditional code.
75464         [!__NR_lchown]: Likewise.
75465         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75466         [__NR_lchown]: Likewise.
75467         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75468         comment referencing __ASSUME_LCHOWN_SYSCALL.
75469         * sysdeps/unix/sysv/linux/i386/sigaction.c
75470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75472         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75473         Remove conditional code.
75474         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75475         (__protocol_available): Remove #if 0 code.
75476         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75477         conditional code.
75478         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75479         * sysdeps/unix/sysv/linux/kernel-features.h
75480         (__ASSUME_GETCWD_SYSCALL): Don't define.
75481         (__ASSUME_REALTIME_SIGNALS): Likewise.
75482         (__ASSUME_PREAD_SYSCALL): Likewise.
75483         (__ASSUME_PWRITE_SYSCALL): Likewise.
75484         (__ASSUME_POLL_SYSCALL): Likewise.
75485         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75486         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75487         non-SPARC.
75488         (__ASSUME_SIOCGIFNAME): Don't define.
75489         (__ASSUME_MSG_NOSIGNAL): Likewise.
75490         (__ASSUME_SENDFILE): Define unconditionally.
75491         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75492         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75493         conditional code.
75494         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75495         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75496         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75497         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75498         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75499         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75500         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75502         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75503         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75505         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75506         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75508         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75511         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75512         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75514         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75517         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75518         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75520         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75523         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75524         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75525         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75526         Remove conditional code.
75527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75528         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75529         Remove conditional code.
75530         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75531         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75532         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75533         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75534         Remove conditional code.
75535         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75536         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75537         Remove conditional code.
75538         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75539         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75540         Remove conditional code.
75541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75542         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75543         Remove conditional code.
75544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75545         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75546         Remove conditional code.
75547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75548         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75549         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75550         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75551         * sysdeps/unix/sysv/linux/sigaction.c
75552         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75553         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75554         * sysdeps/unix/sysv/linux/sigpending.c
75555         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75556         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75557         * sysdeps/unix/sysv/linux/sigprocmask.c
75558         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75559         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75560         * sysdeps/unix/sysv/linux/sigsuspend.c
75561         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75562         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75563         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75564         (__libc_missing_rt_sigs): Remove.
75565         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75566         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75567         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75568         Remove conditional code.
75569         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75570         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75571         return 1.
75572         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75573         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75574         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75575         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75577 2012-05-14  Andreas Jaeger  <aj@suse.de>
75579         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75580         it's not used in glibc.
75581         (__coshm1): Likewise.
75582         (__acosh1p): Likewise.
75583         (__sgn): Likewise.
75585         * manual/string.texi (Copying and Concatenation): Add missing
75586         variable in concat example.
75587         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75591         [BZ #14103]
75592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75593         __builtin_clzl with __builtin_clzll.
75595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75597         [BZ #14104]
75598         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75599         libc_freeres_ptr.
75601 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75603         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75604         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75605         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75606         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75608 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75610         * NEWS: Update ia64 info.
75612 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75614         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75615         used as bcopy.
75617 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75619         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75620         * sysdeps/unix/syscalls.list (dup3): Likewise.
75621         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75622         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75624 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75626         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75627         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75629 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75631         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75632         thread pointer.
75633         (TLS_IE): Use mov/add instead of movq/addq to load thread
75634         pointer.
75635         (TLS_GD_PREFIX): New.
75636         (TLS_GD): Use it.
75638 2012-05-11  David S. Miller  <davem@davemloft.net>
75640         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75641         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75642         (_FPU_SETCW): Likewise.
75644 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75646         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75647         is 32-byte aligned.
75649 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75651         [BZ #11837]
75652         * iconvdata/gb18030.c: Update tables.
75653         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75654         characters specially.
75655         (BODY for TO_LOOP): Add encoding of missing ranges.
75657 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75659         [BZ #13673]
75660         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75661         * sysdeps/mach/hurd/dup3.c: Likewise.
75662         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75663         * sysdeps/powerpc/memmove.c:: Likewise.
75665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75668         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75670 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75672         * elf/elf.h (R_X86_64_RELATIVE64): New.
75673         (R_X86_64_NUM): Updated.
75674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75675         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75676         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75677         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75678         tst-quad1pie tst-quad2pie
75679         (modules-names): Add tst-quadmod1 tst-quadmod2.
75680         ($(objpfx)tst-quad1): New dependency.
75681         ($(objpfx)tst-quad2): Likewise.
75682         ($(objpfx)tst-quad1pie): Likewise.
75683         ($(objpfx)tst-quad2pie): Likewise.
75684         * sysdeps/x86_64/tst-quad1.c: New file.
75685         * sysdeps/x86_64/tst-quad1pie.c: New file.
75686         * sysdeps/x86_64/tst-quad2.c: Likewise.
75687         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75688         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75689         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75690         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75691         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75695         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75696         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75697         * streams/stropts.h (t_scalar_t): Define type.
75699         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75700         (_PATH_PRESERVE): Set to "/var/lib".
75701         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75703         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75704         instead of int.
75706         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75707         if __dir_mkfile succeeded.
75709         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75710         checking for _hurd_dtablesize.  Unlock it right after having
75711         finished _hurd_dtable allocation.
75713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75715         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75716         * sysdeps/mach/hurd/configure: Regenerated.
75717         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75718         special-casing to...
75719         * sysdeps/gnu/configure.in: ... this new file.
75720         * sysdeps/unix/sysv/linux/configure: Regenerated.
75721         * sysdeps/gnu/configure: New generated file.
75723         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75724         for Linux: use nsec instead of usec, as well as:
75725         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75726         members of type struct timespec.
75727         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75728         New macros.
75729         (struct stat64): Likewise.
75730         (_STATBUF_ST_NSEC): New macro.
75731         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75733         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75734         __strtoul_internal rather than strtoul.
75736 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75738         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75739         and reject them.
75741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75743         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75744         which preserves existing values.
75745         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75747 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75749         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75750         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75751         greater than FD_SETSIZE.
75753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75755         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75756         allocated, call __vm_protect to finish enabling the existing space, and
75757         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75758         allocate the remainder.
75760 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75762         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75763         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75765 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75767         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75768         sysdeps/mach/hurd/readlink.c.
75770         * posix/tst-sysconf.c (posix_options): Only use
75771         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75772         _POSIX_SYNCHRONIZED_IO when they are defined
75773         * sysdeps/mach/hurd/bits/posix_opt.h:
75774         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75775         (_XOPEN_REALTIME): Undefine macro.
75776         (_XOPEN_REALTIME_THREADS): Undefine macro.
75777         (_XOPEN_SHM): Undefine macro.
75778         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75779         macro to -1.
75780         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75781         macro to -1.
75782         (_POSIX_ASYNC_IO): Undefine macro.
75783         (_POSIX_PRIORITIZED_IO): Undefine macro.
75784         (_POSIX_SPIN_LOCKS): Define macro to -1.
75786         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75787         SA_NODEFER, SA_RESETHAND.
75788         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75789         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75790         F_DUPFD_CLOEXEC.
75792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75794         * elf/Makefile (pldd-modules): Define unconditionally.
75796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75798         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75802         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75803         Return ENOENT when name is empty.
75804         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75808         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75810         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75812 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75814         Fix mlock in all cases except non-readable pages.
75815         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75816         instead of VM_PROT_ALL as parameter to __vm_wire function.
75818         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75819         (__mkdir): When path is `/', just fail with EEXIST.
75820         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75824         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75825         <sys/uio.h> (for writev).
75826         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75827         and <sys/param.h> (for MIN).
75829 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75831         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75832         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75833         if interrupted.
75835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75837         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75838         Depend on against $(link-rpcuserlibs).
75840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75842         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75843         (__libc_stack_end): Do not use attribute_relro.
75844         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75845         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75846         to libthread-provided value.
75847         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75848         attribute_relro.
75850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75852         [BZ #3748]
75853         * bits/libc-lock.h (__libc_once_get): New macro.
75854         * sysdeps/mach/bits/libc-lock.h: Likewise.
75855         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75856         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75857         instead of using implementation details.
75859         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75860         * libio/freopen.c: Likewise.
75861         * libio/freopen64.c: Likewise.
75862         * misc/syslog.c: Likewise.
75863         * nscd/connections.c: Likewise.
75864         * nscd/netgroupcache.c: Likewise.
75865         * sysdeps/posix/getcwd.c: Likewise.
75867 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75869         * math/w_ilogbf.c: Add #include <limits.h>.
75871 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75873         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75874         path instead of returning without unlocking.
75876         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75877         immediate-write ioctls.
75878         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75880 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75882         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75883         __builtin_frame_address instead of making assumptions about the
75884         location of the return address relative to DATA.  Force early load of
75885         the return address.
75886         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75887         __builtin_frame_address.
75889         dup3 for GNU Hurd.
75890         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75891         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75892         implement dup3 and do some further code clean-ups.
75893         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75894         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75898         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75900         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75901         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75902         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75903         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75904         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75905         d->port.lock.
75907         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75908         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75909         when handler == SIG_ERR, not when handler != SIG_ERR.
75911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75913         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75914         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75915         definitions.
75917         accept4 for GNU Hurd.
75918         * include/sys/socket.h (__libc_accept4): New prototype.
75919         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75920         to implement __libc_accept4.
75921         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75922         __libc_accept4.
75923         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75925         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75926         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75927         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75928         signal-defines.sym.
75930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75932         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75934 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75936         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75937         assertion on O_CLOEXEC flag.
75938         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75939         * hurd/intern-fd.c: Likewise.
75940         * hurd/port2fd.c: Likewise.
75942 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75944         [BZ #3906]
75945         * bits/in.h (IPV6_PKTINFO): Define new macro.
75946         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75948 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75950         [BZ #13954]
75951         [BZ #13955]
75952         [BZ #13956]
75953         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75954         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75955         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75958         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75959         * math/libm-test.inc (logb_test) : Additional logb tests.
75961 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75962             Andreas Jaeger  <aj@suse.de>
75964         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75965         * configure: Regenerated.
75966         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75967         * config.make.in (link-obsolete-rpc): New substituted variable.
75968         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75969         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75970         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75971         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75972         so that libc.a contains the symbols.
75973         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75974         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75975         * sunrpc/auth_none.c: Likewise.
75976         * sunrpc/auth_unix.c: Likewise.
75977         * sunrpc/authdes_prot.c: Likewise.
75978         * sunrpc/authuxprot.c: Likewise.
75979         * sunrpc/clnt_gen.c: Likewise.
75980         * sunrpc/clnt_perr.c: Likewise.
75981         * sunrpc/clnt_raw.c: Likewise.
75982         * sunrpc/clnt_simp.c: Likewise.
75983         * sunrpc/clnt_tcp.c: Likewise.
75984         * sunrpc/clnt_udp.c: Likewise.
75985         * sunrpc/clnt_unix.c: Likewise.
75986         * sunrpc/des_crypt.c: Likewise.
75987         * sunrpc/des_soft.c: Likewise.
75988         * sunrpc/get_myaddr.c: Likewise.
75989         * sunrpc/key_call.c: Likewise.
75990         * sunrpc/key_prot.c: Likewise.
75991         * sunrpc/netname.c: Likewise.
75992         * sunrpc/pm_getmaps.c: Likewise.
75993         * sunrpc/pm_getport.c: Likewise.
75994         * sunrpc/pmap_clnt.c: Likewise.
75995         * sunrpc/pmap_prot.c: Likewise.
75996         * sunrpc/pmap_prot2.c: Likewise.
75997         * sunrpc/pmap_rmt.c: Likewise.
75998         * sunrpc/publickey.c: Likewise.
75999         * sunrpc/rpc_cmsg.c: Likewise.
76000         * sunrpc/rpc_common.c: Likewise.
76001         * sunrpc/rpc_dtable.c: Likewise.
76002         * sunrpc/rpc_prot.c: Likewise.
76003         * sunrpc/rpc_thread.c: Likewise.
76004         * sunrpc/rtime.c: Likewise.
76005         * sunrpc/svc.c: Likewise.
76006         * sunrpc/svc_auth.c: Likewise.
76007         * sunrpc/svc_raw.c: Likewise.
76008         * sunrpc/svc_run.c: Likewise.
76009         * sunrpc/svc_tcp.c: Likewise.
76010         * sunrpc/svc_udp.c: Likewise.
76011         * sunrpc/svc_unix.c: Likewise.
76012         * sunrpc/svcauth_des.c: Likewise.
76013         * sunrpc/xcrypt.c: Likewise.
76014         * sunrpc/xdr.c: Likewise.
76015         * sunrpc/xdr_array.c: Likewise.
76016         * sunrpc/xdr_float.c: Likewise.
76017         * sunrpc/xdr_intXX_t.c: Likewise.
76018         * sunrpc/xdr_mem.c: Likewise.
76019         * sunrpc/xdr_rec.c: Likewise.
76020         * sunrpc/xdr_ref.c: Likewise.
76021         * sunrpc/xdr_sizeof.c: Likewise.
76022         * sunrpc/xdr_stdio.c: Likewise.
76024 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76026         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76027         change.  Update copyright years.
76029 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76031         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76033 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76034             Joseph Myers  <joseph@codesourcery.com>
76035             Paul Pluzhnikov  <ppluzhnikov@google.com>
76037         [BZ #14012]
76038         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76039         requiring rpcgen.
76040         [cross-compiling] (extra-libs): Likewise.
76041         [cross-compiling] (extra-libs-others): Likewise.
76042         [cross-compiling] (librpcsvc-routines): Likewise.
76043         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76044         [cross-compiling] (omit-deps): Likewise.
76045         (sunrpc-CPPFLAGS): New variable.
76046         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76047         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76048         (cross-rpcgen-objs): New variable.
76049         (extra-objs): Append $(cross-rpcgen-objs).
76050         ($(cross-rpcgen-objs)): New rule.
76051         ($(objpfx)cross-rpcgen): Likewise.
76052         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76053         comment.
76054         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76055         ($(objpfx)x%.stmp): Likewise.
76056         * sunrpc/proto.h [IS_IN_build] (_): Define.
76057         [IS_IN_build] (_libc_intl_domainname): Likewise.
76059 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76062         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76063         and R_X86_64_TPOFF64.
76065 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76067         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76068         sysdeps/unix/sysv/syscalls.list.
76069         (stime): Likewise.
76070         (utime): Likewise.
76071         * sysdeps/unix/sysv/syscalls.list: Remove file.
76073 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76075         [BZ #3440]
76076         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76077         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76078         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76079         (__LC_IDENTIFICATION): Make these macros useful in #if
76080         expressions, as required by C99.
76082 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76084         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76085         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76086         after this.
76088 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76090         * stdlib/longlong.h: Updated from GCC.
76092 2012-05-09  Andreas Jaeger  <aj@suse.de>
76094         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76095         default is first entry.
76096         (run_mode): Set type.
76097         (main): Remove informal message about syslog.
76098         (options): Fix typo.
76100         [BZ #14053]
76101         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76102         to asm.
76103         (lrint): Likewise.
76104         (llrintf): Likewise.
76105         (llrint): Likewise.
76106         (rint): Likewise.
76107         (rintf): Likewise.
76108         (nearbyint): Likewise.
76109         (nearbyintf): Likewise.
76111 2012-05-09  Andreas Jaeger  <aj@suse.de>
76112             Pedro Alves  <palves@redhat.com>
76114         * nscd/nscd.c (run_mode): Use enum.
76115         (main): Cleanup coding style issue.
76117 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76118             Andreas Jaeger  <aj@suse.de>
76120         * nscd/nscd.c (go_background): Replaced with...
76121         (run_mode): ... this.
76122         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76123         (options): Add -F --foreground.
76124         (main): Implement it.
76125         (parse_opt): Parse it.
76127 2012-05-09  Andreas Jaeger  <aj@suse.de>
76129         [BZ #14083]
76130         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76131         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76132         -Wconversion warning.
76133         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76134         Likewise.
76136 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76138         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76139         == 0.
76140         (LC_ALL): Use macro-int-constant.
76141         (LC_COLLATE): Likewise.
76142         (LC_CTYPE): Likewise.
76143         (LC_MESSAGES): Likewise.
76144         (LC_MONETARY): Likewise.
76145         (LC_NUMERIC): Likewise.
76146         (LC_TIME): Likewise.
76147         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76148         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76149         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76150         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76151         Specify type.
76152         [C99-based standards] (float_t): Expect type.
76153         [C99-based standards] (double_t): Expect type.
76154         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76155         type.
76156         [C99-based standards] (HUGE_VALL): Likewise.
76157         [C99-based standards] (INFINITY): Likewise.
76158         [C99-based standards] (NAN): Likewise.
76159         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76160         [C99-based standards] (FP_NAN): Likewise.
76161         [C99-based standards] (FP_NORMAL): Likewise.
76162         [C99-based standards] (FP_SUBNORMAL): Likewise.
76163         [C99-based standards] (FP_ZERO): Likewise.
76164         [C99-based standards] (FP_FAST_FMA): Use
76165         optional-macro-int-constant.  Specify type.  Require == 1.
76166         [C99-based standards] (FP_FAST_FMAF): Likewise.
76167         [C99-based standards] (FP_FAST_FMAL): Likewise.
76168         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76169         [C99-based standards] (FP_ILOGBNAN): Likewise.
76170         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76171         Specify type.
76172         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76173         [C99-based standards] (math_errhandling): Specify type.
76174         [ISO99 || ISO11] (signgam): Do not allow.
76175         [non-C99-based standards] (copysignf): Do not allow.
76176         [non-C99-based standards] (exp2f): Likewise.
76177         [non-C99-based standards] (log2f): Likewise.
76178         [non-C99-based standards] (modff): Allow.
76179         [non-C99-based standards] (erff): Do not allow.
76180         [non-C99-based standards] (erfcf): Likewise.
76181         [non-C99-based standards] (gammaf): Likewise.
76182         [non-C99-based standards] (hypotf): Likewise.
76183         [non-C99-based standards] (j0f): Likewise.
76184         [non-C99-based standards] (j1f): Likewise.
76185         [non-C99-based standards] (jnf): Likewise.
76186         [non-C99-based standards] (lgammaf): Likewise.
76187         [non-C99-based standards] (tgammaf): Likewise.
76188         [non-C99-based standards] (y0f): Likewise.
76189         [non-C99-based standards] (y1f): Likewise.
76190         [non-C99-based standards] (ynf): Likewise.
76191         [non-C99-based standards] (isnanf): Likewise.
76192         [non-C99-based standards] (acoshf): Likewise.
76193         [non-C99-based standards] (asinhf): Likewise.
76194         [non-C99-based standards] (atanhf): Likewise.
76195         [non-C99-based standards] (cbrtf): Likewise.
76196         [non-C99-based standards] (expm1f): Likewise.
76197         [non-C99-based standards] (ilogbf): Likewise.
76198         [non-C99-based standards] (log1pf): Likewise.
76199         [non-C99-based standards] (logbf): Likewise.
76200         [non-C99-based standards] (nextafterf): Likewise.
76201         [non-C99-based standards] (remainderf): Likewise.
76202         [non-C99-based standards] (rintf): Likewise.
76203         [non-C99-based standards] (scalbf): Likewise.
76204         [non-C99-based standards] (copysignl): Likewise.
76205         [non-C99-based standards] (exp2l): Likewise.
76206         [non-C99-based standards] (log2l): Likewise.
76207         [non-C99-based standards] (modfl): Allow.
76208         [non-C99-based standards] (erfl): Do not allow.
76209         [non-C99-based standards] (erfcl): Likewise.
76210         [non-C99-based standards] (gammal): Likewise.
76211         [non-C99-based standards] (hypotl): Likewise.
76212         [non-C99-based standards] (j0l): Likewise.
76213         [non-C99-based standards] (j1l): Likewise.
76214         [non-C99-based standards] (jnl): Likewise.
76215         [non-C99-based standards] (lgammal): Likewise.
76216         [non-C99-based standards] (tgammal): Likewise.
76217         [non-C99-based standards] (y0l): Likewise.
76218         [non-C99-based standards] (y1l): Likewise.
76219         [non-C99-based standards] (ynl): Likewise.
76220         [non-C99-based standards] (isnanl): Likewise.
76221         [non-C99-based standards] (acoshl): Likewise.
76222         [non-C99-based standards] (asinhl): Likewise.
76223         [non-C99-based standards] (atanhl): Likewise.
76224         [non-C99-based standards] (cbrtl): Likewise.
76225         [non-C99-based standards] (expm1l): Likewise.
76226         [non-C99-based standards] (ilogbl): Likewise.
76227         [non-C99-based standards] (log1pl): Likewise.
76228         [non-C99-based standards] (logbl): Likewise.
76229         [non-C99-based standards] (nextafterl): Likewise.
76230         [non-C99-based standards] (remainderl): Likewise.
76231         [non-C99-based standards] (rintl): Likewise.
76232         [non-C99-based standards] (scalbl): Likewise.
76233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76234         [non-C99-based standards] (FP_*): Do not allow.
76235         [C99-based standards] (FP_*): Change to
76236         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76237         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76238         allow.
76239         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76240         (SIG_ERR): Likewise.
76241         [X/Open-based standards] (SIG_HOLD): Likewise.
76242         (SIG_IGN): Likewise.
76243         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76244         positive value.
76245         (SIGFPE): Likewise.
76246         (SIGILL): Likewise.
76247         (SIGINT): Likewise.
76248         (SIGSEGV): Likewise.
76249         (SIGTER): Likewise.
76250         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76251         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76252         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76253         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76254         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76255         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76256         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76257         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76258         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76259         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76260         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76261         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76262         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76263         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76264         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76265         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76266         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76267         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76268         [X/Open-based standards] (SIGTRAP): Likewise.
76269         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76270         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76271         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76272         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76273         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76274         allow.
76276 2012-05-08  Ian Wienand  <ianw@vmware.com>
76278         [BZ #14080]
76279         * time/tzset.c (__tzset_parse_tz): Update default rules for
76280         daylight time changes in the Energy Policy Act of 2005.
76282 2012-05-09  Andreas Jaeger  <aj@suse.de>
76284         [BZ #13983]
76285         * elf/ldconfig.c (parse_conf): Change string to make clear that
76286         ldconfig only issued a warning if ld.so.conf does not exist.
76288 2012-05-08  David S. Miller  <davem@davemloft.net>
76290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76291         movxtod instead of popping the value on the stack.
76293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76295 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76297         * config.h.in: Add HAVE_ARM_PCS_VFP.
76299 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76301         [BZ #13979]
76302         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76303         checking but the checks are disabled for any reason.
76305 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76307         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76308         and ELF64_R_TYPE with ELFW(R_TYPE).
76310 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76312         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76313         (ulimit): Likewise.
76315         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76316         (settimeofday): Likewise.
76318 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76320         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76321         a struct th_u2 inside the union, and move tu_block/tu_code into
76322         a new th_u3 union of tu_block/tu_code inside of that.  Move
76323         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76324         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76325         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76326         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76327         (th_stuff): Change to th_u1.tu_stuff.
76328         (th_data): Define.
76329         (th_msg): Change to th_u1.th_u2.tu_data.
76331 2012-05-07  David S. Miller  <davem@davemloft.net>
76333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76335         [BZ #14074]
76336         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76337         (SETUP_PIC_REG): Use it.
76338         (SETUP_PIC_REG_LEAF): Use it.
76340 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76342         [BZ #13885]
76343         [BZ #13923]
76344         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76345         USE_AS_EXPM1L.
76346         (EXPL_FINITE): Likewise.
76347         (FLDLOG): Likewise.
76348         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76349         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76350         e_expl.S.
76351         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76352         USE_AS_EXPM1L.
76353         (EXPL_FINITE): Likewise.
76354         (FLDLOG): Likewise.
76355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76356         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76357         e_expl.S.
76358         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76359         test of -max_value argument for long double.
76360         * sysdeps/i386/fpu/libm-test-ulps: Update.
76361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76363 2012-05-06  David S. Miller  <davem@davemloft.net>
76365         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76366         quad soft-float symbols whose references which are compiler
76367         generated.
76368         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76370 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76372         [BZ #13884]
76373         [BZ #13914]
76374         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76375         USE_AS_EXP10L.
76376         (EXPL_FINITE): Likewise.
76377         (FLDLOG): Likewise.
76378         (c0): Likewise.
76379         (c1): Likewise.
76380         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76381         Adjust comments for base varying.
76382         (__expl_finite): Change alias to EXPL_FINITE.
76383         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76384         e_expl.S.
76385         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76386         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76387         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76388         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76390         USE_AS_EXP10L.
76391         (EXPL_FINITE): Likewise.
76392         (FLDLOG): Likewise.
76393         (c0): Likewise.
76394         (c1): Likewise.
76395         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76396         Adjust comments for base varying.
76397         (__expl_finite): Change alias to EXPL_FINITE.
76398         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76399         tests for bugs.
76400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76402         [BZ #14064]
76403         * math/libm-test.inc (check_float_internal): Correct ulp
76404         calculation for subnormal expected results.
76406 2012-05-06  Andreas Jaeger  <aj@suse.de>
76408         * Makeconfig (+math-flags): New, set to -frounding-math.
76409         (+cflags): Add +math-flags so that all of glibc gets compiled with
76410         it.
76412         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76414 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76416         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76417         Disable one test.
76419         [BZ #13787]
76420         [BZ #13922]
76421         [BZ #14036]
76422         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76423         (__ieee754_expl): Allow for and saturate large arguments.
76424         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76425         (u_threshold): Likewise.
76426         (__exp): Call __ieee754_exp before checking for overflow and
76427         underflow.
76428         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76429         (u_threshold): Likewise.
76430         (__expf): Call __ieee754_expf before checking for overflow and
76431         underflow.
76432         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76433         (u_threshold): Likewise.
76434         (__expl): Call __ieee754_expl before checking for overflow and
76435         underflow.
76436         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76437         (__ieee754_expl): Allow for and saturate large arguments.
76438         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76439         missing overflow exception on overflow.
76440         (expm1_test): Do not allow missing overflow exception on overflow.
76442         * sysdeps/i386/fpu/e_expl.c: Move to ...
76443         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76444         rather than using inline asm.
76445         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76446         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76447         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76449         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76450         (nice): Likewise.
76451         (poll): Likewise.
76452         (signal): Likewise.
76453         (time): Likewise.
76454         (times): Likewise.
76456 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76458         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76459         sysdeps/unix/common/syscalls.list.
76460         (fchmod): Likewise.
76461         (fchown): Likewise.
76462         (ftruncate): Likewise.
76463         (getrusage): Likewise.
76464         (gettimeofday): Likewise.
76465         (setpgid): Likewise.
76466         (setregid): Likewise.
76467         (setreuid): Likewise.
76468         (sigaction): Likewise.
76469         (truncate): Likewise.
76470         (vhangup): Likewise.
76471         * sysdeps/unix/common/syscalls.list: Remove file.
76472         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76473         * sysdeps/unix/sysv/linux/Implies: Likewise.
76475 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76477         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76479         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76480         Moved to ...
76481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76482         Here.
76483         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76484         to ...
76485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76486         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76487         to ...
76488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76489         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76490         to ...
76491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76492         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76493         to ...
76494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76495         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76496         to ...
76497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76498         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76499         to ...
76500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76501         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76502         to ...
76503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76504         Here.
76505         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76506         to ...
76507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76508         Here.
76509         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76510         to ...
76511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76512         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76513         Moved to ...
76514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76515         Here.
76516         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76517         to ...
76518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76520 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76522         * sysdeps/unix/common/bits/dirent.h: Remove file.
76523         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76525         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76526         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76527         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76528         * sysdeps/unix/bsd/isatty.c: Likewise.
76529         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76530         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76531         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76533 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76535         [BZ #13563]
76536         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76537         long double comparison inaccuracies.
76538         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76541 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76543         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76544         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76546 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76548         [BZ #14049]
76549         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76550         nonzero digits before rounding a hex value.
76551         * stdlib/tst-strtod.c (tests): Add another test.
76553 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76555         * sysdeps/s390/fpu/libm-test-ulps: Update.
76557 2012-05-03  Andreas Jaeger  <aj@suse.de>
76559         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76560         does not get optimized out.
76561         (malloc_opt_barrier): New.
76563 2012-05-03  Andreas Jaeger  <aj@suse.de>
76564             Roland McGrath  <roland@hack.frob.com>
76566         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76567         intermediate file deletion.
76568         (generated): Add .symlist files.
76570 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76572         [BZ #13775]
76573         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76574         Redirect under this condition.
76575         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76576         [__USE_GNU] (__dprintf_chk): Not under this condition.
76577         [__USE_GNU] (__vdprintf_chk): Likewise.
76578         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76579         under this condition.
76580         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76581         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76582         [__USE_XOPEN2K8] (vdprintf): Likewise.
76583         [__USE_GNU] (__dprintf_chk): Not under this condition.
76584         [__USE_GNU] (__vdprintf_chk): Likewise.
76585         [__USE_GNU] (dprintf): Likewise.
76586         [__USE_GNU] (vdprintf): Likewise.
76588 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76590         * elf/Makefile (common-generated): Set this instead of generated for
76591         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76592         $(all-built-dso)-derived lists.
76594 2012-05-03  Andreas Jaeger  <aj@suse.de>
76596         * sysdeps/i386/fpu/libm-test-ulps: Update.
76598         * FAQ: Removed.
76599         * FAQ.in: Likewise.
76600         * scripts/gen-FAQ.pl: Likewise.
76601         * manual/install.texi (Installation): Point to online location of
76602         FAQ.
76603         * Makefile (files-for-dist): Remove FAQ.
76604         (FAQ): Remove.
76606 2012-05-02  Allan McRae  <allan@archlinux.org>
76608         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76609         (LDFLAGS-reldepmod5.so): Likewise.
76610         (LDFLAGS-reldep6mod1.so): Likewise.
76611         (LDFLAGS-reldep6mod4.so): Likewise.
76612         (LDFLAGS-reldep8mod3.so): Likewise.
76613         (LDFLAGS-unload4mod1.so): Likewise.
76614         (LDFLAGS-unload4mod2.so): Likewise.
76615         (LDFLAGS-tst-initorder): Likewise.
76616         (LDFLAGS-tst-initordera2.so): Likewise.
76617         (LDFLAGS-tst-initordera3.so): Likewise.
76618         (LDFLAGS-tst-initordera4.so): Likewise.
76619         (LDFLAGS-tst-initorderb2.so): Likewise.
76620         (LDFLAGS-noload): Likewise.
76621         (LDFLAGS-next): Likewise.
76622         (LDFLAGS-order2mod1.so): Likewise.
76623         (LDFLAGS-order2mod2.so): Likewise.
76624         (LDFLAGS-tst-initorder2): Likewise.
76625         (LDFLAGS-tst-initorder2a.so): Likewise.
76626         (LDFLAGS-tst-initorder2b.so): Likewise.
76627         (LDFLAGS-tst-initorder2c.so): Likewise.
76628         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76630 2012-05-02  David S. Miller  <davem@davemloft.net>
76632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76634 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76636         [BZ #14055]
76637         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76639 2012-05-02  Andreas Jaeger  <aj@suse.de>
76641         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76642         since we manipulate rounding mode.
76643         (CPPFLAGS-test-idouble.c): Likewise.
76644         (CPPFLAGS-test-ifloat.c): Likewise.
76645         (CFLAGS-test-ldouble.c): Likewise.
76646         (CFLAGS-test-double.c): Likewise.
76647         (CFLAGS-test-float.c): Likewise.
76648         (CFLAGS-test-misc.c): Likewise.
76649         (CFLAGS-test-test-fenv.c): Likewise.
76651 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76653         [BZ #2550]
76654         [BZ #2570]
76655         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76656         comparisons to determine direction to adjust input.
76658 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76660         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76661         output to the target.
76663         * scripts/localplt.awk: New file.
76664         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76665         (check-localplt-CFLAGS): Variable removed.
76666         ($(all-built-dso:=.jmprel)): New static pattern rule.
76667         (generated): Add those targets.
76668         (localplt-built-dso): New variable.
76669         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76671         * elf/check-localplt.c: File removed.
76673         * scripts/check-execstack.awk: New file.
76674         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76675         (check-execstack-CFLAGS): Variable removed.
76676         ($(objpfx)check-execstack.h): Target removed.
76677         ($(objpfx)execstack-default): New target.
76678         (generated): Add that instead of check-execstack.h.
76679         ($(all-built-dso:=.phdr)): New static pattern rule.
76680         (generated): Add those targets.
76681         * elf/check-execstack.c: File removed.
76683         * scripts/check-textrel.awk: New file.
76684         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76685         (check-textrel-CFLAGS): Variable removed.
76686         (all-built-dso): Use := to define.o
76687         ($(all-built-dso:=.dyn)): New static pattern rule.
76688         (generated): Add those targets.
76689         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76690         * config.make.in (READELF): New substituted variable.
76691         * elf/check-textrel.c: File removed.
76693 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76695         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76696         allow.
76697         * conform/data/ctype.h-data [C99-based standards] (isblank):
76698         Expect function.
76699         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76700         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76702         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76703         Specify type.  Require positive value.
76704         (EILSEQ): Likewise.
76705         (ERANGE): Likewise.
76706         [ISO || POSIX] (EILSEQ): Do not expect.
76707         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76708         Specify type.  Require positive value.
76709         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76710         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76711         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76712         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76713         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76714         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76715         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76716         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76717         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76718         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76719         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76720         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76721         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76722         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76723         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76724         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76725         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76726         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76727         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76728         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76729         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76730         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76731         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76732         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76733         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76734         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76735         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76736         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76737         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76738         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76739         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76740         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76741         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76742         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76743         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76744         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76745         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76746         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76747         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76748         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76749         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76750         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76751         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76752         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76753         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76754         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76755         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76756         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76757         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76758         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76759         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76760         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76761         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76762         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76763         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76764         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76765         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76766         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76767         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76768         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76769         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76770         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76771         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76772         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76773         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76774         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76775         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76776         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76777         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76778         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76779         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76780         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76781         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76782         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76783         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76784         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76785         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76786         Require >= 2.
76787         (FLT_ROUNDS): Expect as macro, not constant.
76788         (FLT_MANT_DIG): Use macro-int-constant.
76789         (DBL_MANT_DIG): Likewise.
76790         (LDBL_MANT_DIG): Likewise.
76791         (FLT_DIG): Likewise.
76792         (DBL_DIG): Likewise.
76793         (LDBL_DIG): Likewise.
76794         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76795         (DBL_MIN_EXP): Likewise.
76796         (LDBL_MIN_EXP): Likewise.
76797         (FLT_MAX_EXP): Use macro-int-constant.
76798         (DBL_MAX_EXP): Likewise.
76799         (LDBL_MAX_EXP): Likewise.
76800         (FLT_MAX_10_EXP): Likewise.
76801         (DBL_MAX_10_EXP): Likewise.
76802         (LDBL_MAX_10_EXP): Likewise.
76803         (FLT_MAX): Use macro-constant.
76804         (DBL_MAX): Likewise.
76805         (LDBL_MAX): Likewise.
76806         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76807         (DBL_EPSILON): Likewise.
76808         (LDBL_EPSILON): Likewise.
76809         (FLT_MIN): Likewise.
76810         (DBL_MIN): Likewise.
76811         (LDBL_MIN): Likewise.
76812         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76813         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76814         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76815         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76816         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76817         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76818         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76819         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76820         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76821         [ISO11] (FLT_TRUE_MIN): Likewise.
76822         [ISO11] (LDBL_TRUE_MIN): Likewise.
76823         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76824         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76825         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76826         (SCHAR_MAX): Likewise.
76827         (UCHAR_MAX): Likewise.
76828         (CHAR_MIN): Likewise.
76829         (CHAR_MAX): Likewise.
76830         (MB_LEN_MAX): Use macro-int-constant.
76831         (SHRT_MIN): Use macro-int-constant.  Specify type.
76832         (SHRT_MAX): Likewise.
76833         (USHRT_MAX): Likewise.
76834         (INT_MAX): Likewise.
76835         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76836         bound negative.
76837         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76838         bound with "U".
76839         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76840         bound with "L".
76841         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76842         bound negative.  Suffix upper bound with "L".
76843         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76844         bound with "UL".
76845         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76846         Specify type.
76847         [C99-based standards] (LLONG_MAX): Likewise.
76848         [C99-based standards] (ULLONG_MAX): Likewise.
76849         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76850         == 0.
76851         [ISO11] (max_align_t): Require type.
76852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76854         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76855         from $CFLAGS, without defining away __attribute__ calls.
76856         (checknamespace): Use $CFLAGS_namespace.
76858         * conform/conformtest.pl (@keywords): Only include C99 keywords
76859         for standards based on C99 or C11.
76861         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76862         Disable tests.
76863         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76864         UNIX98]: Likewise.
76866         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76867         usability of symbols in #if.
76869         * conform/conformtest.pl: If macro or constant types start
76870         "promoted:", expect the symbol to be of the following type
76871         promoted by the integer promotions.
76873         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76874         in one place.  Also handle "macro-constant".
76876         * conform/conformtest.pl: Only accept expected macro values with
76877         "==".  Parse all "macro" lines in one place.
76878         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76880         * conform/conformtest.pl: Handle braced types on "constant" lines
76881         instead of handling "typed-constant".
76882         * conform/data/signal.h-data: Use "constant" instead of
76883         "typed-constant".
76885         * conform/conformtest.pl: Handle "optional-" at start of lines in
76886         one place rather than duplicating several cases.  Handle each
76887         format of "macro" line with initial "optional-".
76889         * conform/conformtest.pl: Only accept expected constant or
76890         optional-constant values with "==".  Parse all "constant" lines in
76891         one place.  Parse all "optional-constant" lines in one place.
76892         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76893         * conform/data/fmtmsg.h-data: Likewise.
76894         * conform/data/netinet/in.h-data: Likewise.
76895         * conform/data/tar.h-data: Likewise.
76896         * conform/data/limits.h-data: Use "==" form on "constant" and
76897         "optional-constant" lines.
76899         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76900         Use -std=c99 for XOPEN2K.
76901         (@knownproblems): Remove.
76902         (newtoken): Don't check %isknown.
76904         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76905         Do not expect macro.
76906         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76907         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76908         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76909         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76910         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76911         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76912         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76913         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76914         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76915         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76916         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76917         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76918         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76919         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76920         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76921         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76922         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76923         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76924         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76925         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76926         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76927         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76928         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76929         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76930         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76931         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76932         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76933         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76934         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76935         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76936         [XPG3] (acosh): Likewise.
76937         [XPG3] (asinh): Likewise.
76938         [XPG3] (atanh): Likewise.
76939         [XPG3] (cbrt): Likewise.
76940         [XPG3] (expm1): Likewise.
76941         [XPG3] (ilogb): Likewise.
76942         [XPG3] (log1p): Likewise.
76943         [XPG3] (logb): Likewise.
76944         [XPG3] (nextafter): Likewise.
76945         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76946         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76947         [XPG3] (remainder): Likewise.
76948         [XPG3] (rint): Likewise.
76949         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76950         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76951         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76952         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76953         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76954         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76955         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76956         [UNIX98 || XOPEN2K] (scalb): Expect.
76957         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76958         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76959         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76960         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76961         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76962         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76963         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76964         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76965         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76966         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76967         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76968         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76969         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76970         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76971         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76972         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76973         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76974         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76975         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76976         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76977         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76978         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76979         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76980         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76981         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76982         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76983         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76984         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76985         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76986         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76987         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76988         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76989         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76990         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76991         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76992         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76993         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76994         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76995         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76996         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76997         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76998         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76999         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77000         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77001         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77002         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77003         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77004         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77005         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77006         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77007         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77008         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77009         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77010         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77011         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77012         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77013         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77014         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77015         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77016         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77017         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77018         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77019         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77020         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77021         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77022         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77023         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77024         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77025         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77026         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77027         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77028         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77029         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77030         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77031         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77032         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77033         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77034         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77035         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77036         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77037         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77038         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77039         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77040         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77041         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77042         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77043         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77044         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77045         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77046         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77047         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77048         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77049         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77050         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77051         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77052         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77053         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77054         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77055         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77056         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77057         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77058         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77059         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77060         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77061         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77062         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77063         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77064         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77065         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77066         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77067         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77068         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77069         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77070         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77071         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77072         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77073         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77074         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77075         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77076         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77077         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77078         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77079         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77080         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77081         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77082         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77083         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77084         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77085         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77086         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77087         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77088         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77089         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77090         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77091         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77092         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77093         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77095         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77096         _XOPEN_SOURCE_EXTENDED for XPG4.
77098         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77100         * Makeconfig (localtime): Remove variable.
77101         (inst_localtime-file): Likewise.
77103 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77106         Update.
77107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77108         Update.
77109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77110         Update.
77111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77112         Update.
77113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77114         Update.
77115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77116         Update.
77117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77118         Update.
77119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77120         Update.
77121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77122         Update.
77124 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77126         [BZ #2550]
77127         [BZ #2570]
77128         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77129         comparisons to determine direction to adjust input.
77130         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77131         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77133         Likewise.
77134         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77135         Likewise.
77136         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77137         Likewise.
77138         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77140         Likewise.
77141         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77142         Likewise.
77143         * math/libm-test.inc (nexttoward_test): Add more tests.
77145 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77147         [BZ #14040]
77148         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77149         in version GLIBC_2.1, not GLIBC_2.0.
77150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77151         Likewise.
77153 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77155         [BZ #13942]
77156         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77157         (1 - x) * (1 + x).
77158         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77159         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77160         * math/libm-test.inc (acos_test): Add more tests.
77161         (asin_test): Likewise.
77162         * sysdeps/i386/fpu/libm-test-ulps: Update.
77163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77165         [BZ #14034]
77166         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77167         of square root.
77168         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77169         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77170         * math/libm-test.inc (acos_test_tonearest): New function.
77171         (acos_test_towardzero): Likewise.
77172         (acos_test_downward): Likewise.
77173         (acos_test_upward): Likewise.
77174         (asin_test_tonearest): Likewise.
77175         (asin_test_towardzero): Likewise.
77176         (asin_test_downward): Likewise.
77177         (asin_test_upward): Likewise.
77178         (main): Call the new functions.
77179         * sysdeps/i386/fpu/libm-test-ulps: Update.
77180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77182         [BZ #13884]
77183         [BZ #13924]
77184         * math/e_exp10.c: Include <float.h>.
77185         (__ieee754_exp10): Handle underflow here rather than multiplying
77186         large negative argument by M_LN10.
77187         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77188         of __ieee754_expf.
77189         * math/e_exp10l.c: Include <float.h>.
77190         (__ieee754_exp10l): Handle underflow here rather than multiplying
77191         large negative argument by M_LN10l.
77192         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77193         spurious overflow exception on underflow.
77195 2012-04-29  Marek Polacek  <polacek@redhat.com>
77197         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77198         (__fortify_function): New macro.
77199         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77200         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77201         __extern_always_inline.
77202         * libio/bits/stdio2.h: Likewise.
77203         * libio/bits/stdio.h: Likewise.
77204         * string/string.h: Likewise.
77205         * string/bits/string3.h: Likewise.
77206         * include/stdio.h: Likewise.
77207         * stdlib/bits/stdlib.h: Likewise.
77208         * stdlib/stdlib.h: Likewise.
77209         * rt/bits/mqueue2.h: Likewise.
77210         * rt/mqueue.h: Likewise.
77211         * posix/bits/unistd.h: Likewise.
77212         * posix/unistd.h: Likewise.
77213         * io/bits/poll2.h: Likewise.
77214         * io/bits/fcntl2.h: Likewise.
77215         * io/fcntl.h: Likewise.
77216         * io/sys/poll.h: Likewise.
77217         * misc/bits/syslog.h: Likewise.
77218         * misc/bits/syslog-ldbl.h: Likewise.
77219         * misc/sys/syslog.h: Likewise.
77220         * socket/bits/socket2.h: Likewise.
77221         * socket/sys/socket.h: Likewise.
77222         * debug/tst-chk1.c: Likewise.
77223         * wcsmbs/bits/wchar2.h: Likewise.
77224         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77225         * wcsmbs/wchar.h: Likewise.
77227 2012-04-29  Andreas Jaeger  <aj@suse.de>
77229         * Makerules (tests): Remove enable-check-abi protection.
77230         (check-abi-warn): Remove.
77231         (check-abi-%): Remove check-abi-warn usage.
77233         * configure.in: Remove check-abi configure option.
77234         * configure: Regenerated.
77235         * config.make.in (enable-check-abi): Remove.
77237 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77239         [BZ #14033]
77240         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77241         double functions to double *_finite functions.
77243         [BZ #13941]
77244         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77245         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77246         LDBL_MIN_EXP.
77247         * stdio-common/Makefile (tests): Add tst-sprintf3.
77248         * stdio-common/tst-sprintf3.c: New file.
77250         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77251         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77253 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77255         * conform/conformtest.pl: Remove duplicate typed-constant
77256         handling.
77258 2012-04-28  David S. Miller  <davem@davemloft.net>
77260         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77261         (check-abi-%): Remove AWK script prerequisite and explicit
77262         abilist directory.
77263         (check-abi): Rewrite to just diff the symlist with the abilist.
77264         (config-tls, config-abi-config): Delete, no longer used.
77265         (update-abi-%): Remove AWK script and explicit abilist directory.
77266         (update-abi): Rewrite to simply compare and conditionally copy the
77267         symlist and the sysdep abilist file.  Remove update-abi-config
77268         checks.
77269         * abilist/ld.abilist: Remove.
77270         * abilist/libBrokenLocale.abilist: Remove.
77271         * abilist/libanl.abilist: Remove.
77272         * abilist/libcrypt.abilist: Remove.
77273         * abilist/libdl.abilist: Remove.
77274         * abilist/librt.abilist: Remove.
77275         * abilist/libthread_db.abilist: Remove.
77276         * abilist/libutil.abilist: Remove.
77277         * scripts/extract-abilist.awk: Remove.
77278         * scripts/merge-abilist.awk: Remove.
77279         * sysdeps/generic/libcidn.abilist: New file.
77280         * sysdeps/generic/libnss_compat.abilist: New file.
77281         * sysdeps/generic/libnss_db.abilist: New file.
77282         * sysdeps/generic/libnss_dns.abilist: New file.
77283         * sysdeps/generic/libnss_files.abilist: New file.
77284         * sysdeps/generic/libnss_hesiod.abilist: New file.
77285         * sysdeps/generic/libnss_nis.abilist: New file.
77286         * sysdeps/generic/libnss_nisplus.abilist: New file.
77287         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77288         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77289         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77290         file.
77291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77292         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77293         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77294         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77295         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77296         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77297         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77298         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77299         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77300         file.
77301         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77302         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77303         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77304         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77305         file.
77306         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77307         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77308         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77309         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77310         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77311         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77312         file.
77313         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77314         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77315         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77316         file.
77317         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77319         New file.
77320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77321         New file.
77322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77323         New file.
77324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77325         New file.
77326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77327         New file.
77328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77329         New file.
77330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77331         New file.
77332         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77333         New file.
77334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77335         New file.
77336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77337         New file.
77338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77339         New file.
77340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77341         New file.
77342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77343         New file.
77344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77345         file.
77346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77347         New file.
77348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77349         New file.
77350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77351         file.
77352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77353         New file.
77354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77355         New file.
77356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77357         file.
77358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77359         New file.
77360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77361         New file.
77362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77363         New file.
77364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77365         New file.
77366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77367         New file.
77368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77369         New file.
77370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77372         file.
77373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77374         New file.
77375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77376         file.
77377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77378         file.
77379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77380         file.
77381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77382         file.
77383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77384         file.
77385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77386         New file.
77387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77388         file.
77389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77390         file.
77391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77392         New file.
77393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77394         file.
77395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77397         file.
77398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77399         New file.
77400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77401         file.
77402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77403         file.
77404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77405         file.
77406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77407         file.
77408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77409         file.
77410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77411         New file.
77412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77413         file.
77414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77415         file.
77416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77417         New file.
77418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77419         file.
77420         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77421         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77422         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77423         file.
77424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77425         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77426         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77427         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77428         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77429         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77430         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77431         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77432         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77433         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77436         file.
77437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77438         New file.
77439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77440         file.
77441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77442         file.
77443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77444         file.
77445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77446         file.
77447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77448         file.
77449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77450         New file.
77451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77452         New file.
77453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77454         file.
77455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77456         New file.
77457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77458         file.
77459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77461         file.
77462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77463         New file.
77464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77465         file.
77466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77467         file.
77468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77469         file.
77470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77471         file.
77472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77473         file.
77474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77475         New file.
77476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77477         New file.
77478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77479         file.
77480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77481         New file.
77482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77483         file.
77485 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77487         * conform/conformtest.pl: Fix typo in handling typed-constant from
77488         allow-header.
77490 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77492         * README: Cut down references to pre-2.6 Linux kernels and
77493         Linuxthreads.  Update lists of configurations in libc and ports
77494         and sort alphabetically.  Say "or newer" with Linux kernel version
77495         requirements.
77497         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77499 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77501         [BZ #887]
77502         * math/libm-test.inc (logb_test_downward): New test to expose
77503         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77504         rounding mode.
77506 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77508         [BZ #14027]
77509         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77510         to be done.
77511         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77512         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77514 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77516         * sysdeps/unix/i386/brk.S: Remove file.
77517         * sysdeps/unix/i386/dl-brk.S: Likewise.
77518         * sysdeps/unix/i386/pipe.S: Likewise.
77519         * sysdeps/unix/i386/sigreturn.S: Likewise.
77520         * sysdeps/unix/i386/syscall.S: Likewise.
77521         * sysdeps/unix/i386/vfork.S: Likewise.
77522         * sysdeps/unix/i386/wait.S: Likewise.
77524         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77525         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77527         * configure.in (arm*-none*): Do not allow without
77528         --enable-hacker-mode.
77529         (netbsd*): Remove case setting base_os.
77530         (386bsd*): Likewise.
77531         (freebsd*): Likewise.
77532         (bsdi*): Likewise.
77533         (osf*): Likewise.
77534         (sunos*): Likewise.
77535         (ultrix*): Likewise.
77536         (newsos*): Likewise.
77537         (dynix*): Likewise.
77538         (*bsd*): Likewise.
77539         (sysv*): Likewise.
77540         (isc*): Likewise.
77541         (esix*): Likewise.
77542         (sco*): Likewise.
77543         (minix*): Likewise.
77544         (irix4*): Likewise.
77545         (irix6*): Likewise.
77546         (solaris[2-9]*): Likewise.
77547         (none): Likewise.
77548         * configure: Regenerated.
77550 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77552         [BZ #11521]
77553         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77554         overflow or cancellation in calculating denominator.
77555         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77557         down expression to avoid unexpected rounding in newer GCCs.
77558         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77560 2012-04-26  David S. Miller  <davem@davemloft.net>
77562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77563         long-double compat symbols.
77564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77578 2012-04-25  David S. Miller  <davem@davemloft.net>
77580         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77581         HWCAP_* values only after the memory barriers have been defined.
77582         (atomic_full_barrier): Define.
77583         (atomic_read_barrier): Define.
77584         (atomic_write_barrier): Define.
77586 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77588         * shlib-versions: Add libgcc_s version information.
77589         * sysdeps/generic/libgcc_s.h: Remove.
77590         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77591         libgcc_s.h.
77592         * sysdeps/gnu/unwind-resume.c: Likewise.
77593         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77595 2012-04-25  David S. Miller  <davem@davemloft.net>
77597         * sysdeps/unix/sparc/brk.S: Delete.
77598         * sysdeps/unix/sparc/dl-brk.S: Delete.
77599         * sysdeps/unix/sparc/pipe.S: Delete.
77600         * sysdeps/unix/sparc/sysdep.S: Delete.
77601         * sysdeps/unix/sparc/sysdep.h: Delete.
77602         * sysdeps/unix/sparc/vfork.S: Delete.
77603         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77604         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77605         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77606         (ret_ERRVAL, r0, r1, MOVE): Define.
77607         (JUMPTARGET): Remove.
77608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77609         sysdeps/unix/sparc/sysdep.h
77610         (ENTRY, END): Remove.
77611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77613 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77615         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77616         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77617         -DIS_IN_build.
77619         * timezone/README: Update upstream location and email address for
77620         tzcode and tzdata.
77621         * timezone/zdump.c: Update from tzcode 2012b.
77622         * timezone/zic.c: Likewise.
77624         * configure.in (libc_cv_as_needed): Remove test.
77625         * configure: Regenerated.
77626         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77627         conditional definition.
77628         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77629         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77630         * config.make.in (have-as-needed): Remove variable.
77632 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77633             Paul Pluzhnikov  <ppluzhnikov@google.com>
77635         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77636         strings correctly.
77638 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77640         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77641         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77642         * sysdeps/sh/strlen.S: Likewise.
77644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77646         * sysdeps/unix/fork.S: Remove file.
77647         * sysdeps/unix/i386/fork.S: Likewise.
77648         * sysdeps/unix/sparc/fork.S: Likewise.
77650         * sysdeps/unix/system.c: Remove file.
77651         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77653         * sysdeps/unix/getegid.S: Remove file.
77654         * sysdeps/unix/geteuid.S: Likewise.
77656 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77658         * scripts/check-localplt.awk: New file.
77659         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77660         of diff.
77661         * scripts/data/localplt-generic.data: Add a comment.
77663         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77664         NODE when __dir_mkfile failed.
77665         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77666         Reported by Ludovic Courtès <ludo@gnu.org>.
77668 2012-04-24  Andreas Jaeger  <aj@suse.de>
77670         * Makerules (common-clean): Also remove gen-as-const-headers
77671         files.
77673 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77675         * Makerules (native-compile): Do not change working directory for
77676         build.  Use $(OUTPUT_OPTION) in command.
77677         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77679 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77681         [BZ #13886]
77682         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77683         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77684         * math/libm-test.inc (floor_test): Add more tests.
77685         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77687 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77689         * sysdeps/unix/getdents.c: Remove file.
77690         * sysdeps/unix/sysv/getdents.c: Likewise.
77691         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77693         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77694         sysdeps/unix/mman/syscalls.list.
77695         (mmap): Likewise.
77696         (mprotect): Likewise.
77697         (msync): Likewise.
77698         (munmap): Likewise.
77699         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77700         * sysdeps/unix/mman/syscalls.list: Remove.
77701         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77703         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77704         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77705         * configure: Regenerated.
77706         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77707         $(libgcc_s_suffix).
77708         * config.make.in (libgcc_s_suffix): Remove variable.
77710 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77712         * sysdeps/unix/sysv/gethostname.c: Move to ...
77713         * sysdeps/posix/gethostname.c: ... here.
77715         * sysdeps/unix/execve.S: Remove file.
77717         * sysdeps/unix/_exit.S: Remove file.
77719 2012-04-23  Andreas Jaeger  <aj@suse.de>
77721         [BZ #13739]
77722         * manual/Makefile: Remove make dist support, there's no
77723         need for a stand-alone documentation tar ball.
77724         (TEXI2DVI): Define always, it's not in Makeconfig.
77725         (dist): Removed.
77726         (tar-it): Removed.
77727         (edition): Removed.
77728         (glibc-doc-$(edition).tar): Removed
77729         (%.Z): Removed.
77730         (%.gz): Removed.
77731         (%.uu): Removed.
77732         (ETAGS): Remove, it's in Makeconfig.
77733         (move-if-change): Remove, it's in Makeconfig.
77735 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77737         [BZ #13970]
77738         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77739         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77740         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77741         (strtod_l, strtof_l, strtold_l): Remove __wur.
77742         It is not necessarily an error to ignore strtol's return value.
77743         One can reliably look at the stored endptr to decide whether
77744         the number had valid syntax.
77746 2012-04-21  Andreas Jaeger  <aj@suse.de>
77748         [BZ #13739]
77749         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77751 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77753         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77754         * sysdeps/unix/sysv/Versions: Remove file.
77756 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77758         [BZ #13927]
77759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77761 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77763         [BZ #7064]
77764         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77765         version from __vm86.
77767 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77769         * sysdeps/unix/common/lxstat.c: Remove file.
77770         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77772         * sysdeps/unix/sysv/Makefile: Remove file.
77774         * sysdeps/unix/sysv/direct.h: Remove file.
77776         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77777         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77778         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77779         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77780         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77781         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77782         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77784         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77786         * sysdeps/unix/xmknod.c: Remove file.
77787         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77789         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77791         * sysdeps/unix/sysv/i386/time.S: Remove file.
77793         * sysdeps/unix/fxstat.c: Remove file.
77794         * sysdeps/unix/xstat.c: Likewise.
77795         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77797         * sysdeps/unix/sysv/sigaction.c: Remove file.
77799         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77800         (sysdep_headers): Remove variable.
77801         [termio.h not in sysdep_headers] (generated): Likewise.
77802         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77803         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77804         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77805         * sysdeps/unix/sysv/tcflow.c: Likewise.
77806         * sysdeps/unix/sysv/tcflush.c: Likewise.
77807         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77808         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77809         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77810         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77811         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77813         * sysdeps/unix/siglist.c: Remove file.
77815         * sysdeps/unix/getppid.S: Remove file.
77817         * sysdeps/unix/mkdir.c: Remove file.
77818         * sysdeps/unix/rmdir.c: Likewise.
77820 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77822         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77823         ERR_MAX value.
77824         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77825         errlist-compat value.
77827 2012-04-18  David S. Miller  <davem@davemloft.net>
77829         * sysdeps/generic/memcopy.h (reg_char): Delete.
77830         * debug/strcat_chk.c: Use char, not reg_char.
77831         * debug/strcpy_chk.c: Likewise.
77832         * debug/strncat_chk.c: Likewise.
77833         * debug/strncpy_chk.c: Likewise.
77834         * string/memchr.c: Likewise.
77835         * string/memrchr.c: Likewise.
77836         * string/rawmemchr.c: Likewise.
77837         * string/strcat.c: Likewise.
77838         * string/strchr.c: Likewise.
77839         * string/strchrnul.c: Likewise.
77840         * string/strcmp.c: Likewise.
77841         * string/strcpy.c: Likewise.
77842         * string/strncat.c: Likewise.
77843         * string/strncmp.c: Likewise.
77844         * string/strncpy.c: Likewise.
77846 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77848         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77849         __builtin_memcopy is called when src and dest ranges are known to not
77850         overlap.
77852 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77854         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77855         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77856         fwd_align_merge macro call.
77857         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77858         bwd_align_merge macro call.
77859         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77861 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77863         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77864         bwd_align_merge macros.
77865         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77866         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77867         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77869 2012-04-18  David S. Miller  <davem@davemloft.net>
77871         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77873 2012-04-18  Andreas Jaeger  <aj@suse.de>
77875         [BZ #6794]
77876         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77877         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77878         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77880         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77881         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77882         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77884         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77885         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77886         Adjust for changed ldbl-128 files.
77888         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77889         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77890         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77892 2012-04-17  David S. Miller  <davem@davemloft.net>
77894         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77896 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77898         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77899         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77900         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77901         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77902         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77903         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77905 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77907         [BZ #6794]
77908         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77909         * math/libm-test.inc: Add ilogb errno and exception tests.
77910         * math/w_ilogb.c: New file: ilogb wrapper.
77911         * math/w_ilogbf.c: New file: ilogbf wrapper.
77912         * math/w_ilogbl.c: New file: ilogbl wrapper.
77913         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77914         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77915         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77916         exception being thrown with 0.0 as argument.
77917         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77918         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77919         exception being thrown with 0.0 as argument.
77920         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77921         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77922         exception being thrown with 0.0 as argument.
77923         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77924         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77925         exception being thrown with 0.0 as argument.
77926         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77927         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77928         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77929         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77930         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77931         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77932         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77933         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77934         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77936 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77938         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77939         with altivec.
77941 2012-04-16  Marek Polacek  <polacek@redhat.com>
77943         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77945 2012-04-16  Marek Polacek  <polacek@redhat.com>
77947         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77948         operands of fdivp instruction.
77950 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77952         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77953         * elf/tst-auditmod3b.c: Likewise.
77954         * elf/tst-auditmod4b.c: Likewise.
77955         * elf/tst-auditmod5b.c: Likewise.
77956         * elf/tst-auditmod6b.c: Likewise.
77957         * elf/tst-auditmod6c.c: Likewise.
77958         * elf/tst-auditmod7b.c: Likewise.
77959         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77960         * sysdeps/x86_64/preconfigure.in: Likewise.
77961         * sysdeps/x86_64/preconfigure: Regenerated.
77963 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77965         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77966         __ILP32__.
77968 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77971         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77973 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77975         [BZ #13973]
77976         * locale/iso-639.def: Fix gl language name. Spotted by
77977         Yaron Shahrabani.
77979 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77981         [BZ #2074]
77982         * libio/libio.h (__io_write_fn): Update comment.
77984 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77986         [BZ #2074]
77987         * stdio.texi (Hook Functions): The user provided writer function
77988         is not allowed to return -1.
77990 2012-04-11  David S. Miller  <davem@davemloft.net>
77992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77994 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77996         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77997         Add a leading slash to rtkaio.
77999 2012-04-11  Jim Meyering  <meyering@redhat.com>
78001         [BZ #11959]
78002         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78003         It is not necessarily an error to ignore fwrite's return
78004         value.  One can reliably use ferror to test for errors after
78005         the fact.
78007 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78009         * bits/types.h (__snseconds_t): New type.
78010         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78012         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78014         (__SNSECONDS_T_TYPE): Likewise.
78015         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78016         (__SNSECONDS_T_TYPE): Likewise.
78017         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78018         (__SNSECONDS_T_TYPE): Likewise.
78020 2012-04-10  Andreas Jaeger  <aj@suse.de>
78022         [BZ #2636]
78023         * manual/time.texi (Processor Time): Return type of times is
78024         elapsed real time since an arbitrary point in the past.
78025         (CPU Time): Move CLK_TCK from here...
78026         (Processor Time): ...to here.  Correct description.
78027         * manual/conf.texi (Constants for Sysconf): Correct description of
78028         _SC_CLK_TCK.
78030 2012-04-10  David S. Miller  <davem@davemloft.net>
78032         [BZ #13967]
78033         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78034         where the is a gap between DT_REL(A) and DT_JMPREL.
78036 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78038         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78039         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78040         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78042 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78044         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78045         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78046         (dl_main): Handle --inhibit-cache.
78047         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78048         _dl_inhibit_cache.
78049         * elf/dl-load.c (_dl_map_object): Use it.
78050         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78052 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78054         [BZ #13872]
78055         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78056         (__ieee754_powl): Saturate large exponents rather than testing for
78057         overflow of y*log2(x).
78058         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78059         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78060         exceptions.
78062         [BZ #11521]
78063         * math/s_ctan.c: Include <float.h>.
78064         (__ctan): Avoid internal overflow or cancellation in calculating
78065         denominator.
78066         * math/s_ctanf.c: Likewise.
78067         * math/s_ctanl.c: Likewise.
78068         * math/s_ctanh.c: Likewise.
78069         * math/s_ctanhf.c: Likewise.
78070         * math/s_ctanhl.c: Likewise.
78071         * math/libm-test.inc (ctan_test): Add more tests.
78072         (ctanh_test): Likewise.
78073         * sysdeps/i386/fpu/libm-test-ulps: Update.
78074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78076 2012-04-09  Andreas Jaeger  <aj@suse.de>
78078         [BZ #6894]
78079         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78080         is an optional BSD extension.
78082         [BZ #10254]
78083         * manual/stdio.texi (Opening Streams): Document additional fopen
78084         parameters.
78086 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78088         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78089         %eax without telling the compiler.
78091 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78093         [BZ # 13963]
78094         * manual/install.texi: Use sourceware.org.
78096 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78098         [BZ #13873]
78099         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78100         (__ieee754_pow): Generate overflow and underflow using huge*huge
78101         and tiny*tiny rather than just returning constant infinity or zero
78102         for large exponents.
78103         * math/libm-test.inc (pow_test): Require overflow exceptions for
78104         applicable cases of large exponents.
78106         [BZ #706]
78107         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78108         (__ieee754_pow): Use iterative multiplication algorithm only for
78109         integer exponents with absolute value below 1024.  Check for odd
78110         integer exponents when using algorithm for real exponents.
78111         * math/libm-test.inc (pow_test): Add more tests.
78112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78114 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78116         [BZ #13705]
78117         * math/libm-test.inc (exp_test): Do not allow overflow exception
78118         on underflow test.
78120 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78122         [BZ #13705]
78123         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78124         instead of __kernel_standard_f.
78126 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78128         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78129         * sysdeps/x86_64/memset_chk.S: Likewise.
78131 2012-04-08  Andreas Jaeger  <aj@suse.de>
78133         [BZ #10153]
78134         * manual/startup.texi (Environment Access): Describe return value
78135         for putenv and setenv.
78137         [BZ #6895]
78138         * manual/filesys.texi (Directory Entries): Add description for
78139         DT_LNK.
78141         [BZ #6890]
78142         * manual/filesys.texi (Directory Entries): Clarify that it's file
78143         system not operating system in the description of DT_UNKNOWN.
78145         [BZ #6578]
78146         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78148 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78150         [BZ #6649]
78151         * manual/llio.texi (Opening and Closing Files): Add cross
78152         reference to explain mode argument.
78154 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78156         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78157         * sysdeps/x86_64/memset_chk.S: Likewise.
78159 2012-04-07  David S. Miller  <davem@davemloft.net>
78161         * elf/elf.h (R_SPARC_WDISP10): Define.
78162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78163         R_SPARC_SIZE32.
78164         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78165         R_SPARC_SIZE64 and R_SPARC_H34.
78167 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78169         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78170         conditions and remove no longer applicable assertion.
78172 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78174         * bits/byteswap.h: Include <features.h>.
78175         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78176         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78178 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78180         * bits/byteswap.h (__bswap_16): Removed.
78181         Include <bits/byteswap-16.h> to get __bswap_16.
78182         * sysdeps/i386/bits/byteswap.h: Likewise.
78183         * sysdeps/s390/bits/byteswap.h: Likewise.
78184         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78185         * bits/byteswap-16.h: New file.
78186         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78187         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78188         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78189         * string/Makefile (headers): Add bits/byteswap-16.h.
78191 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78193         [BZ #13895]
78194         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78195         extra indirection.
78196         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78197         * nss/tst-nss-static.c: New.
78199 2012-04-06  Robert Millan  <rmh@gnu.org>
78201         [BZ #6486]
78202         * manual/llio.texi (File Position Primitive): lseek
78203         refers to WHENCE when it really means OFFSET.
78205 2012-04-06  Andreas Jaeger  <aj@suse.de>
78207         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78208         strncmp declarations.
78210         * abilist/libc.abilist: Add __poll and __ppoll.
78212 2012-04-05  David S. Miller  <davem@davemloft.net>
78214         * scripts/check-local-headers.sh: Accept a host triplet in the
78215         path matched by the exclude regexp.
78217         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78218         definition.
78219         * sysdeps/powerpc/powerpc32/dl-machine.h
78220         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78221         * sysdeps/s390/s390-32/dl-machine.h
78222         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78223         * sysdeps/sparc/sparc32/dl-machine.h
78224         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78225         * sysdeps/sparc/sparc64/dl-machine.h
78226         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78228         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78229         lazy binding.
78230         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78231         undefined symbol errors.
78233         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78234         DT_NEEDED entries.
78236 2012-04-05  Michael Matz  <matz@suse.de>
78238         [BZ #13592]
78239         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78241 2012-04-05  Andreas Jaeger  <aj@suse.de>
78243         [BZ #13908]
78244         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78245         comment.
78247 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78249         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78250         which ROUND is no valid rounding mode.
78252 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78254         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78255         read again.
78256         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78258 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78260         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78261         an exception using FPU order intentionally.
78263 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78265         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78266         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78267         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78268         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78270 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78272         [BZ #12340]
78273         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78274         EINVAL when BUFLEN is too smal.
78276 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78278         [BZ #13553]
78279         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78280         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78282 2012-04-03  Andreas Jaeger  <aj@suse.de>
78284         [BZ #13938]
78285         * manual/setjmp.texi (System V contexts): Fix sentence.
78287         [BZ #13926]
78288         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78289         New macro for this case.
78290         [!__GNUC__] (__bswap_64): New inline function for this case.
78291         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78292         * bits/byteswap.h: Likewise.
78293         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78294         ull, guard with __GLIBC_HAVE_LONG_LONG.
78296         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78297         __GLIBC_HAVE_LONG_LONG.
78299         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78300         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78302 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78304         [BZ #13691]
78305         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78306         inptr and inend, rather than using last_ch.
78308 2012-04-02  David S. Miller  <davem@davemloft.net>
78310         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78311         * stdio-common/printf-parse.h (read_int): Change return type to
78312         'int', return -1 on INT_MAX overflow.
78313         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78314         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78315         overflows INT_MAX.  Check for overflow of in-format-string precision
78316         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78317         SIZE_MAX not INT_MAX for integer overflow test.
78318         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78319         skip the construct in the format string but do not record anything.
78320         * stdio-common/bug22.c: Adjust to test both width/prevision
78321         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78322         explicitly for proper errno values.
78324 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78326         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78327         CHAR_MAX.
78328         * string/test-strcmp.c [! WIDE]: Likewise.
78329         * time/tst-mktime2.c: Likewise for INT_MAX.
78330         * string/test-string.h: #include <sys/param.h> for MIN.
78332         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78333         * sysdeps/i386/init-first.c (init): Likewise.
78334         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78335         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78336         * sysdeps/sh/init-first.c (init): Likewise.
78338 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78340         * po/ru.po: Update from translation team.
78341         * po/vi.po: Likewise.
78343 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78345         * resolv/nss_dns/dns-host.c: Merge copyright years.
78347 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78349         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78350         Optimize memcpy with prefetch if
78351         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78352         src, dst pointers have unequal 16 byte alignments.
78354 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78356         [BZ #13928]
78357         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78358         from a CNAME entry and return the minimum ttl for the query.
78359         (gaih_getanswer_slice): Likewise.
78361 2012-03-30  Jeff Law  <law@redhat.com>
78363         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78364         due to long keys.
78365         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78366         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78368         * resolv/nss_dns/dns-host.c: Update copyright year.
78370 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78372         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78373         requests to save a system call.  Fix check that all bytes are sent.
78375         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78376         comments for sendmmsg.
78378 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78380         [BZ #13691]
78381         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78382         with only 1 character between 0x0041 and 0x01b0.
78383         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78384         * wcsmbs/tst-mbsnrtowcs.c: New file.
78386 2012-03-29  David S. Miller  <davem@davemloft.net>
78388         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78389         small copies by hand.
78391 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78393         [BZ #13761]
78394         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78395         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78396         group memberships.
78398 2012-03-28  David S. Miller  <davem@davemloft.net>
78400         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78401         that branches into memcpy.
78402         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78405         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78406         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78407         bits.
78408         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78409         implementation too.
78410         * sysdeps/sparc/mempcpy.S: New file.
78412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78413         the IFUNC routine in the libc case.
78414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78416         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78417         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78418         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78419         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78420         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78421         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78422         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78423         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78425         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78426         loop to 256 bytes instead of 64 bytes and fix test signedness.
78428         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78429         * sysdeps/sparc/sparc32/Makefile: rather than here...
78430         * sysdeps/sparc/sparc64/Makefile: and here.
78432 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78434         * malloc/mallocbug.c: Avoid warnings about unused variables.
78436 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78438         [BZ #13760]
78439         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78440         in the right place. Discard and retry query if response is
78441         larger than input buffer size.
78443 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78445         [BZ #369]
78446         [BZ #2678]
78447         [BZ #3866]
78448         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78449         x for large integer exponent.
78450         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78451         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78452         sign of result as needed afterwards.
78453         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78454         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78455         result for underflowing pow the same as for overflow.
78456         (__kernel_standard_l): Handle powl overflow and underflow here
78457         rather than calling __kernel_standard.
78458         * math/libm-test.inc (pow_test): Add more tests.
78460         [BZ #3868]
78461         [BZ #13879]
78462         [BZ #13910]
78463         [BZ #13911]
78464         [BZ #13912]
78465         [BZ #13913]
78466         [BZ #13915]
78467         [BZ #13916]
78468         [BZ #13917]
78469         [BZ #13918]
78470         [BZ #13919]
78471         [BZ #13920]
78472         [BZ #13921]
78473         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78474         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78475         (__kernel_standard_l): New function.
78476         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78477         __kernel_standard.
78478         * math/w_acosl.c (__acosl): Likewise.
78479         * math/w_asinl.c (__asinl): Likewise.
78480         * math/w_atan2l.c (__atan2l): Likewise.
78481         * math/w_atanhl.c (__atanhl): Likewise.
78482         * math/w_coshl.c (__coshl): Likewise.
78483         * math/w_exp10l.c (__exp10l): Likewise.
78484         * math/w_exp2l.c (__exp2l): Likewise.
78485         * math/w_fmodl.c (__fmodl): Likewise.
78486         * math/w_hypotl.c (__hypotl): Likewise.
78487         * math/w_j0l.c (__j0l, __y0l): Likewise.
78488         * math/w_j1l.c (__j1l, __y1l): Likewise.
78489         * math/w_jnl.c (__jnl, __ynl): Likewise.
78490         * math/w_lgammal.c (__lgammal): Likewise.
78491         * math/w_log10l.c (__log10l): Likewise.
78492         * math/w_log2l.c (__log2l): Likewise.
78493         * math/w_logl.c (__logl): Likewise.
78494         * math/w_powl.c (__powl): Likewise.
78495         * math/w_remainderl.c (__remainderl): Likewise.
78496         * math/w_scalbl.c (sysv_scalbl): Likewise.
78497         * math/w_sinhl.c (__sinhl): Likewise.
78498         * math/w_sqrtl.c (__sqrtl): Likewise.
78499         * math/w_tgammal.c (__tgammal): Likewise.
78500         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78501         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78502         * math/libm-test.inc (acos_test): Add more tests.
78503         (acosh_test): Likewise.
78504         (asin_test): Likewise.
78505         (atanh_test): Likewise.
78506         (exp_test): Likewise.
78507         (exp10_test): Likewise.
78508         (exp2_test): Likewise.
78509         (expm1_test): Likewise.
78510         (lgamma_test): Likewise.
78511         (log_test): Likewise.
78512         (log10_test): Likewise.
78513         (log1p_test): Likewise.
78514         (log2_test): Likewise.
78515         (pow_test): Do not allow some spurious overflow exceptions.
78516         (sqrt_test): Add more tests.
78517         (tgamma_test): Likewise.
78518         (y0_test): Likewise.
78519         (y1_test): Likewise.
78520         (yn_test): Likewise.
78522 2012-03-27  Anton Blanchard  <anton@samba.org>
78524         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78525         MAP_HUGETLB.
78526         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78527         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78528         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78530 2012-03-27  David S. Miller  <davem@davemloft.net>
78532         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78534         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78535         have-as-vis3 check.
78537 2012-03-27  Andreas Jaeger  <aj@suse.de>
78539         * sysdeps/x86_64/elf/configure.in: Moved to ...
78540         * sysdeps/x86_64/configure.in: ... here.
78541         * sysdeps/x86_64/elf/start.S: Moved to ...
78542         * sysdeps/x86_64/start.S: ... here.
78543         * sysdeps/x86_64/elf/configure: Delete.
78545         * sysdeps/x86_64/configure.in: Merge contents from
78546         sysdeps/i386/configure.in (without i686 check).
78548         * sysdeps/i386/elf/Versions: Merge into ...
78549         * sysdeps/i386/Versions: ... this.
78550         * sysdeps/i386/elf/Versions: Delete file.
78551         * sysdeps/i386/elf/start.S: Moved to ...
78552         * sysdeps/i386/start.S: ...here.
78553         * sysdeps/i386/elf/configure.in: Merge into...
78554         * sysdeps/i386/configure.in: ...here.
78555         * sysdeps/i386/elf/configure.in: Delete file.
78556         * sysdeps/i386/elf/configure: Delete file.
78558         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78559         * debug/backtracesyms.c: ... here.
78560         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78561         * debug/backtracesymsfd.c: ... here.
78562         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78563         * sysdeps/generic/ifunc-sel.h: ... here.
78565         * sysdeps/unix/i386/start.c: Delete file.
78566         * sysdeps/unix/sparc/start.c: Delete file.
78567         * sysdeps/unix/start.c: Delete file.
78569         * sysdeps/sh/elf/configure.in: Moved to ...
78570         * sysdeps/sh/configure.in: ... here.
78571         * sysdeps/sh/elf/start.S: Moved to ...
78572         * sysdeps/sh/start.S: ... here.
78573         * sysdeps/sh/elf/configure: Delete file.
78575         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78576         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78577         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78578         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78579         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78580         * sysdeps/powerpc/powerpc64/start.S: here.
78581         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78582         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78583         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78584         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78585         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78587         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78588         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78589         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78590         * sysdeps/powerpc/powerpc32/start.S: ... here.
78591         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78592         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78593         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78595         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78596         * sysdeps/powerpc/ifunc-sel.h: ... here.
78597         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78598         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78600         * sysdeps/sparc/elf/configure.in: Moved to ...
78601         * sysdeps/sparc/configure.in: ... here.
78602         * sysdeps/sparc/elf/configure: Delete file.
78603         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78604         * sysdeps/sparc/sparc32/start.S: ... here.
78605         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78606         * sysdeps/sparc/sparc64/start.S: ... here.
78607         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78608         * sysdeps/sparc/sparc32/Makefile: ... this.
78609         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78610         * sysdeps/sparc/sparc64/Makefile: ... this.
78612         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78613         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78614         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78615         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78616         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78617         * sysdeps/s390/s390-32/setjmp.S: ... here.
78618         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78619         * sysdeps/s390/s390-32/configure.in: ... here.
78620         * sysdeps/s390/s390-32/elf/configure: Delete file.
78621         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78622         * sysdeps/s390/s390-32/start.S: ... here.
78624         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78625         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78626         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78627         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78628         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78629         * sysdeps/s390/s390-64/setjmp.S: ... here.
78630         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78631         * sysdeps/s390/s390-64/configure.in: ... here
78632         * sysdeps/s390/s390-64/elf/configure: Delete file.
78633         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78634         * sysdeps/s390/s390-64/start.S: ... here.
78635         * sysdeps/s390/s390-64/elf/configure: Delete.
78637         * configure.in: Remove support for elf directories in sysdeps.
78639         * configure: Regenerated.
78640         * sysdeps/i386/configure: Regenerated.
78641         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78642         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78643         * sysdeps/s390/s390-32/configure: Regenerated.
78644         * sysdeps/s390/s390-64/configure: Regenerated.
78645         * sysdeps/sh/configure: Regenerated.
78646         * sysdeps/sparc/configure: Regenerated.
78647         * sysdeps/x86_64/configure: Regenerated.
78649 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78653         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78654         denormal result into account.
78656 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78658         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78659         Reported by Allan McRae <allan@archlinux.org>.
78661 2012-03-23  Jeff Law  <law@redhat.com>
78663         * nss/getnssent.c (__nss_getent): Fix typo.
78665 2012-03-23  David S. Miller  <davem@davemloft.net>
78667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78669 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78671         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78672         to pad to uint64_t for each field.
78673         (dl_tls_index): Replace unsigned long with uint64_t.
78675 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78676         Paul Pluzhnikov  <ppluzhnikov@google.com>
78678         [BZ #6528]
78679         * grp/Makefile (otherlibs): Don't set it.
78680         * inet/Makefile (otherlibs): Likewise.
78681         * login/Makefile (otherlibs): Likewise.
78682         * nscd/Makefile (otherlibs): Likewise.
78683         * posix/Makefile (otherlibs): Likewise.
78684         * pwd/Makefile (otherlibs): Likewise.
78685         * rt/Makefile (otherlibs): Likewise.
78686         * sunrpc/Makefile (otherlibs): Likewise.
78687         * nss/Makefile (otherlibs): Likewise.
78688         Add libnss_files to routines and static-only-routines.
78689         ($(objpfx)getent): Remove rule.
78690         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78691         static-only-routines.
78693 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78695         [BZ #13892]
78696         * math/s_cexp.c: Include <float.h>.
78697         (__cexp): Handle exp result overflowing not necessarily
78698         overflowing both real and imaginary parts of result.
78699         * math/s_cexpf.c: Likewise.
78700         * math/s_cexpl.c: Likewise.
78701         * math/libm-test.inc (cexp_test): Add more tests.
78702         * sysdeps/i386/fpu/libm-test-ulps: Update.
78703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78705 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78707         * include/link.h (ELFW): New macro.
78708         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78709         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78711 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78713         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78714         with uint64_t.
78716 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78718         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78719         declaration.
78720         (struct La_x32_retval): Likewise.
78722 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78724         * sysdeps/x86_64/preconfigure.in: New file.
78725         * sysdeps/x86_64/preconfigure: New generated file.
78727 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78729         [BZ #13824]
78730         * math/e_exp2l.c: Include <float.h>.
78731         (__ieee754_exp2l): Handle overflow and underflow cases
78732         separately.  Only pass fractional part of argument to
78733         __ieee754_expl.
78734         * math/libm-test.inc (exp2_test): Add more tests.
78736         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78737         negating x to take absolute value.
78738         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78739         Likewise.
78740         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78741         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78742         Likewise.
78743         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78744         computing low part if x was negated.
78745         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78747 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78749         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78750         la_x32_gnu_pltexit.
78751         (pltexit): Cast int_retval to ptrdiff_t.
78752         * elf/tst-auditmod3b.c: Likewise.
78753         * elf/tst-auditmod4b.c: Likewise.
78754         * elf/tst-auditmod5b.c: Likewise.
78755         * elf/tst-auditmod6b.c: Likewise.
78756         * elf/tst-auditmod6c.c: Likewise.
78757         * elf/tst-auditmod7b.c: Likewise.
78759         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78760         and x32_gnu_pltexit.
78762         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78763         __ELF_NATIVE_CLASS.
78764         (La_x32_regs): New macro.
78765         (La_x32_retval): Likewise.
78766         (la_x32_gnu_pltenter): New function prototype.
78767         (la_x32_gnu_pltexit): Likewise.
78769 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78771         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78772         exponent.
78774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78776         * configure.in (libc_cv_cc_nofma): Check for option to disable
78777         generation of FMA instructions.
78778         * configure: Regenerate.
78779         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78780         * sysdeps/ieee754/dbl-64/Makefile: New file.
78781         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78782         Remove brandred-fma4.
78783         (CFLAGS-brandred-fma4.c): Remove.
78784         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78785         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78786         define.
78787         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78788         define.
78790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78792         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78793         LLONG_MAX != LONG_MAX.
78794         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78795         (_fitoa_word): Likewise.
78796         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78797         LLONG_MAX != LONG_MAX.
78798         * stdio-common/_itowa.h: Include <_itoa.h>.
78799         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78800         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78801         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78802         only if not defined.
78803         (_ITOA_WORD_TYPE): Likewise.
78804         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78805         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78807 2012-03-21  David S. Miller  <davem@davemloft.net>
78809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78811 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78813         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78814         of x86_64 when setting libc_cv_slibdir, libdir and
78815         libc_cv_localedir.
78816         * sysdeps/unix/sysv/linux/configure: Regenerated.
78818 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78820         * manual/lang.texi (Old Varargs): Remove section.
78821         (How Variadic): Update menu.
78822         (va_start): Do not mention varargs.h.
78824 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78825             Joseph Myers  <joseph@codesourcery.com>
78827         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78828         link test.
78829         * configure: Regenerated.
78831 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78833         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78834         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78835         conformtest.pl
78837 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78839         * NOTES: Remove.
78840         * Makefile (files-for-dist): Remove NOTES.
78841         (NOTES): Remove rule.
78842         * README: Don't refer to NOTES.
78843         * manual/creature.texi: Don't include macros.texi.
78844         * manual/intro.texi (creature.texi): Remove comment referring to
78845         NOTES.
78847         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78848         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78849         * configure: Regenerated.
78850         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78851         LIBC_TRY_CC_OPTION.
78852         (libc_cv_as_i686): Likewise.
78853         (libc_cv_cc_avx): Likewise.
78854         (libc_cv_cc_sse2avx): Likewise.
78855         (libc_cv_cc_fma4): Likewise.
78856         (libc_cv_cc_novzeroupper): Likewise.
78857         * sysdeps/i386/configure: Regenerated.
78859         [BZ #13883]
78860         * sysdeps/i386/fpu/s_cexp.S: Remove.
78861         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78862         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78863         * math/libm-test.inc (cexp_test): Add more tests.
78864         * sysdeps/i386/fpu/libm-test-ulps: Update.
78865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78867 2012-03-21  Allan McRae  <allan@archlinux.org>
78869         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78871 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78873         [BZ #13871]
78874         * math/w_exp2.c: Do not include <float.h>.
78875         (o_threshold, u_threshold): Remove.
78876         (__exp2): Calculate result before checking finiteness and calling
78877         __kernel_standard.
78878         * math/w_exp2f.c: Likewise.
78879         * math/w_exp2l.c: Likewise.
78880         * math/libm-test.inc (exp2_test): Require overflow exception for
78881         1e6 input.
78883         [BZ #3866]
78884         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78885         range of signed 64-bit integers before using fistpll.  Remove
78886         checks for whether integers fit in mantissa bits.
78887         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78888         the range of signed 32-bit integers before using fistpl.  Remove
78889         checks for whether integers fit in mantissa bits.
78890         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78891         (__ieee754_powl): Test for y outside the range of signed 64-bit
78892         integers before using fistpll.  Reduce 64-bit values to 63-bit
78893         ones as needed.
78894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78895         divide-by-zero is raised for zero to large negative powers.
78896         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78897         (__ieee754_powl): Test for y outside the range of signed 64-bit
78898         integers before using fistpll.  Reduce 64-bit values to 63-bit
78899         ones as needed.
78900         * math/libm-test.inc (pow_test): Add more tests.
78902 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78904         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78905         <stdio-common/_itoa.h>.
78906         * debug/segfault.c: Likewise.
78907         * elf/dl-cache.c: Likewise.
78908         * elf/dl-minimal.c: Likewise.
78909         * elf/dl-misc.c: Likewise.
78910         * elf/dl-sysdep.c: Likewise.
78911         * elf/dl-version.c: Likewise.
78912         * elf/rtld.c: Likewise.
78913         * hurd/hurdsock.c: Likewise.
78914         * hurd/lookup-retry.c: Likewise.
78915         * malloc/malloc.c: Likewise.
78916         * malloc/mtrace.c: Likewise.
78917         * nscd/nscd_getgr_r.c: Likewise.
78918         * nscd/nscd_getpw_r.c: Likewise.
78919         * nscd/nscd_getserv_r.c: Likewise.
78920         * posix/getopt_init.c: Likewise.
78921         * posix/wordexp.c: Likewise.
78922         * stdio-common/_itoa.c: Likewise.
78923         * stdio-common/printf_fphex.c: Likewise.
78924         * stdio-common/vfprintf.c: Likewise.
78925         * string/_strerror.c: Likewise.
78926         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78927         * sysdeps/i386/i686/hp-timing.h: Likewise.
78928         * sysdeps/mach/_strerror.c: Likewise.
78929         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78930         * sysdeps/mach/hurd/sethostid.c: Likewise.
78931         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78932         * sysdeps/mach/xpg-strerror.c: Likewise.
78933         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78934         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78935         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78936         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78937         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78938         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78939         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78940         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78941         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78942         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78943         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78944         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78945         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78946         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78947         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78948         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78949         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78950         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78951         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78952         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78953         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78955         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78957         * stdio-common/_itoa.h: Moved to ...
78958         * sysdeps/generic/_itoa.h: Here.
78960         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78962         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78963         instead of "_itoa.h" and "_itowa.h".
78964         * stdio-common/vfprintf.: Likewise.
78966 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78968         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78969         <bits/wordsize.h>.
78970         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78971         (__signbit): Likewise.
78972         (llrintf): Likewise.
78973         (llrint): Likewise.
78975 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78977         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78978         __WORDSIZE != 64.
78980 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78982         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78983         OVERFLOW_EXCEPTION_OK.
78984         * math/libm-test.inc ("Philosophy"): Update comment about
78985         exception testing.
78986         (OVERFLOW_EXCEPTION): Define.
78987         (OVERFLOW_EXCEPTION_OK): Likewise.
78988         (INVALID_EXCEPTION_OK): Renumber.
78989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78990         (IGNORE_ZERO_INF_SIGN): Likewise.
78991         (test_exceptions): Handle FE_OVERFLOW.
78992         (exp10_test): Expect overflow exceptions.
78993         (exp2_test): Likewise.
78994         (expm1_test): Likewise.
78995         (nextafter_test): Likewise.
78996         (pow_test): Likewise.
78997         (scalbn_test): Likewise.
78998         (scalbln_test): Likewise.
79000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79002         * sysdeps/x86_64/bits/atomic.h
79003         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79004         64bit integer.
79005         (atomic_exchange_acq): Likewise.
79006         (__arch_exchange_and_add_body): Likewise.
79007         (__arch_add_body): Likewise.
79008         (atomic_add_negative): Likewise.
79009         (atomic_add_zero): Likewise.
79011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79013         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79014         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79016 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79018         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79019         Check __x86_64__ instead of __WORDSIZE.
79021 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79023         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79025 2012-03-19  David S. Miller  <davem@davemloft.net>
79027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79029         * sysdeps/sparc/fpu/fenv_private.h: New file.
79030         * sysdeps/sparc/fpu/math_private.h: Use it.
79031         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79032         Remove.
79033         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79034         (libc_feholdexcept_setroundl): Remove.
79035         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79036         Remove.
79037         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79038         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79042         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79043         int64_t instead of long int.
79044         (INSERT_WORDS64): Likewise.
79046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79048         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79049         _Unwind_GetCFA return to _Unwind_Ptr first.
79051 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79053         [BZ #13629]
79054         * math/s_clog.c: Include <float.h>.
79055         (__clog): Scale large or subnormal inputs.
79056         * math/s_clogf.c: Likewise.
79057         * math/s_clogl.c: Likewise.
79058         * math/s_clog10.c: Include <float.h>.
79059         (M_LOG10_2): Define.
79060         (__clog10): Scale large or subnormal inputs.
79061         * math/s_clog10f.c: Likewise.
79062         * math/s_clog10l.c: Likewise.
79063         * math/libm-test.inc (clog_test): Add more tests.
79064         (clog10_test): Likewise.
79065         * sysdeps/i386/fpu/libm-test-ulps: Update.
79066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79068         [BZ #11451]
79069         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79070         x and y.
79071         * math/libm-test.inc (atan2_test): Add another test.
79073         * Makerules (common-objdir-compile): Remove.
79074         * sysdeps/unix/Makefile (config-generated): Do not add
79075         $(unix-generated) to variable.
79076         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79077         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79078         Remove rule.
79079         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79080         Likewise.
79081         [generic bits/local_lim.h] (before-compile): Do not append to
79082         variable.
79083         [generic bits/local_lim.h] (common-generated): Likewise.
79084         [generic sys/param.h] (before-compile): Do not append to variable.
79085         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79086         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79087         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79088         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79089         include.
79090         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79091         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79092         [generic sys/param.h] ($(addprefix
79093         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79094         [generic sys/param.h] (common-generated): Do not append to
79095         variable.
79096         [generic sys/param.h] (sysdep_headers): Likewise.
79097         [generic bits/errno.h] (before-compile): Do not append to
79098         variable.
79099         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79100         rule.
79101         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79102         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79103         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79104         [generic bits/errno.h] (common-generated): Do not append to
79105         variable.
79106         [generic bits/ioctls.h] (before-compile): Do not append to
79107         variable.
79108         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79109         rule.
79110         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79111         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79112         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79113         rule.
79114         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79115         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79116         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79117         [generic bits/ioctls.h] (common-generated): Do not append to
79118         variable.
79119         [generic sys/syscall.h] (syscall.h): Remove variable.
79120         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79121         rule.
79122         [generic sys/syscall.h] (before-compile): Do not append to
79123         variable.
79124         [generic sys/syscall.h] (common-generated): Likewise.
79125         * sysdeps/unix/errnos-tmpl.c: Remove file.
79126         * sysdeps/unix/errnos.awk: Likewise.
79127         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79128         * sysdeps/unix/ioctls.awk: Likewise.
79129         * sysdeps/unix/mk-local_lim.c: Likewise.
79130         * sysdeps/unix/snarf-ioctls: Likewise.
79132 2012-03-19  Richard Henderson  <rth@twiddle.net>
79134         * sysdeps/i386/fpu/fenv_private.h: New file.
79135         * sysdeps/i386/fpu/math_private.h: Use it.
79136         (math_opt_barrier, math_force_eval): Remove.
79137         (libc_feholdexcept_setround_53bit): Remove.
79138         (libc_feupdateenv_53bit): Remove.
79139         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79140         (math_opt_barrier, math_force_eval): Remove.
79141         (libc_feholdexcept): Remove.
79142         (libc_feholdexcept_setround): Remove.
79143         (libc_fetestexcept, libc_fesetenv): Remove.
79144         (libc_feupdateenv_test): Remove.
79145         (libc_feupdateenv, libc_feholdsetround): Remove.
79146         (libc_feresetround): Remove.
79148         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79149         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79151         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79152         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79153         (libc_feupdateenv_testl): New.
79154         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79155         (libc_feupdateenv_testf): New.
79156         (libc_feupdateenv): Use libc_feupdateenv_test.
79157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79158         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79160         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79161         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79162         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79163         (libc_feresetround_noex): New.
79164         (libc_feresetround_noexf): New.
79165         (libc_feresetround_noexl): New.
79166         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79167         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79168         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79169         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79170         SET_RESTORE_ROUND.
79171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79173         (__cos): Likewise.
79174         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79175         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79176         SET_RESTORE_ROUND_NOEX.
79177         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79178         SET_RESTORE_ROUND_NOEXF.
79179         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79180         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79181         (libc_feholdsetroundf): New.
79182         (libc_feresetround, libc_feresetroundf): New.
79184         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79185         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79186         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79188         * sysdeps/generic/math_private.h: Include <fenv.h>.
79189         (default_libc_feholdexcept): New.
79190         (default_libc_feholdexcept_setround): New.
79191         (default_libc_fesetenv, default_libc_feupdateenv): New.
79192         (libc_feholdexcept): Only define if undefined.
79193         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79194         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79195         (libc_feholdexcept_setroundl): Likewise.
79196         (libc_feholdexcept_setround_53bit): Likewise.
79197         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79198         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79199         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79200         (libc_feupdateenv_53bit): Likewise.
79201         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79202         (libc_feholdexcept): Convert from macro to inline function.
79203         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79204         (libc_fesetenv, libc_feupdateenv): Likewise.
79206         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79207         not previously defined.
79208         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79209         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79210         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79211         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79212         * sysdeps/ieee754/flt-32/math_private.h: New file.
79213         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79214         math_private.h below SET_FLOAT_WORD.
79215         (__isnan, __isinf_ns, __finite): Remove.
79216         (__isnanf, __isinf_nsf, __finitef): Remove.
79218 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79222 2012-03-17  David S. Miller  <davem@davemloft.net>
79224         [BZ #6471]
79225         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79226         for 2.16.
79228 2012-03-16  David S. Miller  <davem@davemloft.net>
79230         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79231         warnings.
79233         [BZ #6471]
79234         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79235         properly.
79236         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79237         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79238         sysdep_routines when subdir is sysvipc.
79239         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79240         __getshmlba helper.
79242         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79246         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79247         [__LP64__].
79249 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79251         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79252         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79253         (__lround): Renamed to ...
79254         (__llround): This.  Replace long int with long long int.
79255         Define lround functions as aliases of llround functions.
79256         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79258 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79260         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79261         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79262         adresses to uintptr_t.  Replace "long int" and "unsigned long
79263         int" with "greg_t" on va_arg.
79265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79267         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79268         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79270         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79271         Move e_machine check before EI_CLASS check.  Handle x32
79272         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79273         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79274         SKIP_EM_IA_64 and include
79275         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79277         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79278         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79279         (add_system_dir): New macro.
79281         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79282         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79284 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79286         [BZ #2551]
79287         [BZ #2552]
79288         [BZ #2553]
79289         [BZ #2554]
79290         [BZ #2562]
79291         [BZ #2563]
79292         [BZ #2565]
79293         [BZ #2566]
79294         [BZ #2576]
79295         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79296         (y0): Likewise.
79297         * math/w_j0f.c (j0f): Likewise.
79298         (y0f): Likewise.
79299         * math/w_j0l.c (__j0l): Likewise.
79300         (__y0l): Likewise.
79301         * math/w_j1.c (j1): Likewise.
79302         (y1): Likewise.
79303         * math/w_j1f.c (j1f): Likewise.
79304         (y1f): Likewise.
79305         * math/w_j1l.c (__j1l): Likewise.
79306         (__y1l): Likewise.
79307         * math/w_jn.c (jn): Likewise.
79308         (yn): Likewise.
79309         * math/w_jnf.c (jnf): Likewise.
79310         (ynf): Likewise.
79311         * math/w_jnl.c (__jnl): Likewise.
79312         (__ynl): Likewise.
79313         * math/libm-test.inc (j0_test): Add more tests.
79314         (j1_test): Likewise.
79315         (jn_test): Likewise.  Add trailing semicolon to existing test.
79316         (y0_test): Likewise.
79317         (y1_test): Likewise.
79318         * sysdeps/i386/fpu/libm-test-ulps: Update.
79319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79321         [BZ #13851]
79322         [BZ #13854]
79323         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79324         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79325         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79326         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79327         (__tanl): Set errno for infinite argument.
79328         * sysdeps/i386/fpu/mptan.c: Remove.
79329         * sysdeps/i386/fpu/s_tan.S: Likewise.
79330         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79331         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79332         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79333         * math/libm-test.inc (tan_test): Add more tests and enable more
79334         tests for double and long double.
79335         * sysdeps/i386/fpu/libm-test-ulps: Update.
79336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79338 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79340         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79341         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79343 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79345         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79346         * configure.in: Use it for both main tree and add-ons.
79347         * configure: Regenerated.
79349 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79351         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79353 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79355         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79356         in comment.
79358         [BZ #13851]
79359         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79360         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79361         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79362         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79363         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79364         infinite argument.
79365         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79367         != 0 for prec == 2.
79368         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79369         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79370         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79371         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79372         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79373         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79374         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79375         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79376         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79377         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79378         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79379         * math/libm-test.inc (cos_test): Add more tests and enable more
79380         tests for long double.
79381         (sin_test): Likewise.
79382         (sincos_test): Likewise.
79383         * sysdeps/i386/fpu/libm-test-ulps: Update.
79384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79386 2012-03-16  David S. Miller  <davem@davemloft.net>
79388         * sysdeps/sparc/fpu/math_private.h: New file.
79390 2012-03-15  David S. Miller  <davem@davemloft.net>
79392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79393         file.
79394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79396         file.
79397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79402         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79403         sysdep routines.
79404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79406         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79407         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79409         * sysdeps/sparc/sparc-ifunc.h: New file.
79410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79411         sparc-ifunc.h
79412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79414         Likewise.
79415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79416         Likewise.
79417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79421         Likewise.
79422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79427         Likewise.
79428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79429         Likewise.
79430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79437         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79448         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79450         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79451         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79455 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79457         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79458         scaling.
79459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79461 2012-03-15  Andreas Jaeger  <aj@suse.de>
79463         [BZ #13852]
79464         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79465         ieee754/flt-32 implementation for sin, cos and sincos.
79466         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79467         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79468         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79469         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79470         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79471         ieee754/flt-32 implementation for tan.
79473         * math/libm-test.inc (cos_test): Enable some large input tests for
79474         float as well
79475         (sin_test): Likewise.
79476         (sincos_test): Likewise.
79477         (tan_test): Add tests for large input.
79479         * sysdeps/i386/fpu/libm-test-ulps: Update.
79481 2012-03-15  Andreas Jaeger  <aj@suse.de>
79483         [BZ #13658]
79484         * math/libm-test.inc (cos_test): Add more test cases.
79485         (sin_test): Likewise.
79486         (sincos_test): Likewise.
79488 2012-03-15  Andreas Jaeger  <aj@suse.de>
79490         [BZ #13837]
79491         * math/libm-test.inc (cos_test): Add a test case for large input
79492         value.
79493         (sin_test): Likewise.
79494         (sincos_test): Likewise.
79496 2012-03-15  Andreas Jaeger  <aj@suse.de>
79497             Joseph Myers  <joseph@codesourcery.com>
79499         [BZ #13658]
79500         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79501         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79502         * sysdeps/i386/fpu/branred.c: Likewise.
79503         * sysdeps/i386/fpu/dosincos.c: Likewise.
79504         * sysdeps/i386/fpu/mpa.c: Likewise.
79505         * sysdeps/i386/fpu/s_cos.S: Likewise.
79506         * sysdeps/i386/fpu/s_sin.S: Likewise.
79507         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79508         * sysdeps/i386/fpu/sincos32.c: Likewise.
79510         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79511         Define.
79512         (libc_feupdateenv_53bit): Define.
79513         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79514         Define.
79515         (libc_feupdateenv_53bit): Define.
79517         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79518         53 bit (without extend i386 double precision).
79520         * math/libm-test.inc (sincos_test): Add tests for large input.
79521         (sin): Likewise.
79522         (cos): Likewise.
79524         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79526 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79530 2012-03-15  David S. Miller  <davem@davemloft.net>
79532         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79533         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79534         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79535         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79548         file.
79549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79551         file.
79552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79554         file.
79555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79557         file.
79558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79560         fmin/fmax sysdep routines.
79561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79563 2012-03-14  David S. Miller  <davem@davemloft.net>
79565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79571         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79572         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79587         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79588         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79589         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79590         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79591         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79592         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79593         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79594         routines.
79595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79596         file.
79597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79599         file.
79600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79602         file.
79603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79605         file.
79606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79608         file.
79609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79611         file.
79612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79613         file.
79614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79615         file.
79616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79617         file.
79618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79619         New file.
79620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79621         file.
79622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79623         file.
79624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79626         file.
79627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79629         file.
79630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79632         file.
79633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79635         VIS3 routines.
79637         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79638         New file.
79640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79642         * sysdeps/sparc/configure.in: New file.
79643         * sysdeps/sparc/configure: Generate.
79644         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79645         * configure: Regenerate.
79646         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79647         * config.make.in (have-as-vis3): New.
79648         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79649         available use -Av9d instead of -Av9a.
79650         * sysdeps/sparc/sparc64/Makefile: Likewise.
79651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79653         New file.
79654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79655         file.
79656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79657         New file.
79658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79659         file.
79660         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79661         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79662         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79663         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79664         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79666         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79667         fzeros/fnegs to load 0x80000000 into a float register instead of
79668         using the stack.
79669         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79671 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79674         bits/syscall.h.
79675         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79676         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79677         ($(inst_includedir)/bits/syscall.h): Remove rule.
79678         ($(objpfx)bits/syscall.d): Include instead of
79679         $(objpfx)syscall-list.d.
79680         (generated): Change syscall-list.h and syscall-list.d to
79681         bits/syscall.h and bits/syscall.d.
79683 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79685         [BZ #13846]
79686         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79688 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79690         [BZ #13841]
79691         * math/s_csqrt.c: Include <float.h>.
79692         (__csqrt): Scale large or subnormal inputs.
79693         * math/s_csqrtf.c: Likewise.
79694         * math/s_csqrtl.c: Likewise.
79695         * math/libm-test.inc (csqrt_test): Add more tests.
79696         * sysdeps/i386/fpu/libm-test-ulps: Update.
79697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79699         [BZ #13840]
79700         * math/libm-test.inc (hypot_test): Add more tests.
79702 2012-03-13  David S. Miller  <davem@davemloft.net>
79704         [BZ #13840]
79705         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79706         double-precision for the calculation instead of scaling.
79708 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79710         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79711         manipulate bits before adding and subtracting TWO52[sx].
79712         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79713         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79714         Likewise.
79715         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79717 2012-03-13  David S. Miller  <davem@davemloft.net>
79719         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79720         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79722         rtld-global-offsets.h
79723         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79725         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79726         large parameters.
79728         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79730         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79731         'err' in the ifdef scope in which it is actually used.
79733         * nss/nss_db/db-init.c: Include string.h
79735 2012-03-12  David S. Miller  <davem@davemloft.net>
79737         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79738         masking out of the most significant byte of random value used.
79739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79740         Fix coding style in previous change.
79742         * sysdeps/unix/sysv/linux/kernel-features.h
79743         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79744         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79745         expression.
79746         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79747         later.
79749 2012-03-11  David S. Miller  <davem@davemloft.net>
79751         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79752         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79754         for 'resultvar' otherwise things get truncated on 64-bit.
79756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79757         Fix masking out of the most significant byte of random value used.
79759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79761 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79765 2012-03-09  David S. Miller  <davem@davemloft.net>
79767         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79768         variables with appropriate CPP guards.
79769         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79770         from the frame pointer, not the stack pointer.  Correct layout
79771         comments.  Fix test on resulting framesize and the management of
79772         the outregs buffer for pltexit.  Preserve floating point return
79773         values across _dl_call_pltexit call.
79774         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79775         framesize and the management of the outregs buffer for pltexit.
79776         Preserve floating point return values across _dl_call_pltexit
79777         call.
79778         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79779         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79780         (la_sparc64_gnu_pltexit): New functions.
79781         (print_exit): Fix format string for return register value.
79783 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79785         * sunrpc/Makefile (others): Add rpcgen.
79786         ($(objpfx)rpcgen): Remove special build rule and dependency on
79787         libc.
79788         * sunrpc/rpcgen.c: New file.
79790 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79792         [BZ #13673]
79793         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79794         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79795         * sysdeps/i386/crti.S: Likewise.
79796         * sysdeps/i386/crtn.S: Likewise.
79797         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79798         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79799         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79800         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79801         * sysdeps/sh/crti.S: Likewise.
79802         * sysdeps/sh/crtn.S: Likewise.
79803         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79805         [BZ #13673]
79806         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79807         with URL.
79808         * locale/programs/locfile-kw.gperf: Likewise.
79809         * locale/programs/charmap-kw.h: Regenerated.
79810         * locale/programs/locfile-kw.h: Likewise.
79812         [BZ #13673]
79813         * intl/plural.y: Replace FSF snail mail address with URL.
79814         * intl/plural.c: Regenerated.
79816 2012-03-09  Richard Henderson  <rth@twiddle.net>
79818         * include/math_private.h: Remove file.
79819         * math/math_private.h: Move file ...
79820         * sysdeps/generic/math_private.h: ... here.
79822         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79823         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79824         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79826         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79827         and <math_private.h>.
79828         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79829         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79830         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79831         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79832         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79833         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79834         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79835         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79836         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79837         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79840         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79841         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79842         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79843         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79844         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79845         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79846         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79847         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79849         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79850         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79852         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79853         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79854         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79855         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79856         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79857         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79858         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79860         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79861         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79862         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79863         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79864         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79865         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79866         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79867         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79868         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79869         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79870         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79871         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79873         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79874         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79875         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79876         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79877         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79878         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79879         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79880         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79881         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79882         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79883         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79884         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79885         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79886         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79887         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79888         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79889         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79891         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79892         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79893         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79894         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79895         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79896         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79897         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79898         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79899         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79901         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79902         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79906         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79907         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79908         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79910         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79911         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79912         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79914         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79915         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79916         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79917         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79918         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79919         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79920         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79921         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79922         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79923         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79924         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79925         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79926         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79927         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79928         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79929         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79930         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79931         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79932         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79933         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79934         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79935         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79936         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79937         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79938         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79939         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79940         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79941         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79942         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79943         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79944         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79945         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79946         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79947         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79948         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79949         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79950         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79951         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79952         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79953         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79954         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79955         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79956         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79957         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79958         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79959         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79960         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79961         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79962         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79963         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79964         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79965         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79966         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79967         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79968         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79969         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79970         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79971         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79972         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79973         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79974         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79975         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79976         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79977         * sysdeps/ieee754/k_standard.c: Likewise.
79978         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79979         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79980         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79981         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79982         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79983         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79984         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79985         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79986         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79987         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79988         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79990         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79991         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79992         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79993         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79994         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79995         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79996         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79997         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79998         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79999         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80000         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80001         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80002         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80003         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80004         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80005         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80006         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80007         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80008         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80009         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80010         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80011         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80012         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80013         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80014         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80015         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80016         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80017         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80018         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80019         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80020         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80021         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80022         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80023         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80024         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80027         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80028         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80029         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80030         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80031         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80033         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80034         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80035         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80036         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80037         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80038         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80039         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80040         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80041         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80042         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80044         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80045         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80046         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80047         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80048         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80050         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80051         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80052         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80053         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80054         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80055         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80056         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80057         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80058         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80059         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80060         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80061         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80062         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80063         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80064         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80065         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80066         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80069         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80070         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80071         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80072         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80073         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80074         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80075         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80076         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80077         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80078         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80079         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80081         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80082         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80085         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80086         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80087         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80088         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80089         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80090         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80091         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80093         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80094         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80095         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80096         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80097         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80098         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80099         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80100         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80101         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80102         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80103         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80104         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80105         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80106         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80107         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80108         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80109         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80110         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80111         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80112         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80113         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80114         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80115         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80116         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80117         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80118         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80119         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80120         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80121         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80122         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80123         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80124         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80125         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80126         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80127         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80128         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80129         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80131         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80132         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80133         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80134         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80135         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80136         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80137         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80138         * sysdeps/ieee754/s_lib_version.c: Likewise.
80139         * sysdeps/ieee754/s_matherr.c: Likewise.
80140         * sysdeps/ieee754/s_signgam.c: Likewise.
80141         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80142         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80143         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80144         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80145         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80146         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80147         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80148         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80149         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80150         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80151         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80152         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80153         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80154         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80155         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80156         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80157         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80158         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80159         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80163 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80165         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80166         * sunrpc/rpc_main.c: Likewise.
80167         * sunrpc/rpc_svcout.c: Likewise.
80169 2012-03-09  David S. Miller  <davem@davemloft.net>
80171         * include/math_private.h: New file.
80173 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80175         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80176         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80177         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80178         from <bits/socket_type.h>.
80179         (enum __socket_type): Don't define here.
80180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80182         bits/socket_type.h.
80184         [BZ #13566]
80185         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80186         checking __USE_GNU.
80188         * Makerules ($(inst_includedir)/%.h): New rule.
80189         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80190         (install-others): Remove variable setting.
80191         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80193 2012-03-08  Richard Henderson  <rth@twiddle.net>
80195         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80196         from macro to inline function; merge with the
80197         !__LIBC_INTERNAL_MATH_INLINES version.
80198         (__ieee754_sqrtf): Likewise.
80200         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80201         to inline function.
80202         (__rintf, __floor, __floorf): Likewise.
80204         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80205         macro to inline function.
80206         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80208         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80209         not <math/math_private.h>.
80211 2012-03-08  David S. Miller  <davem@davemloft.net>
80213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80214         copyright year.
80215         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80217 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80219         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80220         normalization.
80221         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80222         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80224 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80226         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80227         be defined individually, they must be defined as a block.  Define
80228         S for printing a string instead of hidint the different by using a
80229         macro for adding the 'l'.
80230         * stdio-common/tst-fphex-wide.c: Adjust.
80232 2012-03-07  Marek Polacek  <polacek@redhat.com>
80234         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80236 2012-03-08  Marek Polacek  <polacek@redhat.com>
80238         [BZ #13806]
80239         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80240         * stdio-common/tst-fphex.c: Define a few macros to make the
80241         test reusable.  Use them.
80242         * stdio-common/tst-fphex-wide.c: New file.
80244 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80246         [BZ #6911]
80247         * manual/macros.texi (gnusystems): New macro.
80248         (nongnusystems): Likewise.
80249         (gnulinuxhurdsystems): Likewise.
80250         (gnuhurdsystems): Likewise..
80251         (gnulinuxsystems): Likewise.
80252         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80253         variants of the GNU system, not "GNU system".
80254         * manual/conf.texi: Likewise.
80255         * manual/errno.texi: Likewise.  Update example of errno macro
80256         expansion.
80257         * manual/filesys.texi: Likewise.
80258         (getumask): Document as specific to GNU/Hurd.
80259         * manual/install.texi: Likewise.  Reword some references to
80260         GNU/Linux.
80261         * manual/intro.texi: Likewise.
80262         * manual/io.texi: Likewise.
80263         (File Name Portability): Detail which constraints are inapplicable
80264         to all GNU systems and which are only inapplicable to GNU/Hurd.
80265         * manual/job.texi: Likewise.
80266         * manual/llio.texi: Likewise.
80267         (O_NOCTTY): Document as present on GNU/Linux.
80268         * manual/maint.texi: Likewise.
80269         * manual/memory.texi: Likewise.
80270         * manual/pattern.texi: Likewise.
80271         * manual/pipe.texi: Likewise.
80272         * manual/process.texi: Likewise.
80273         * manual/resource.texi: Likewise.
80274         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80275         child on GNU/Hurd.
80276         * manual/setjmp.texi: Likewise.
80277         * manual/signal.texi: Likewise.
80278         * manual/startup.texi: Likewise.
80279         * manual/stdio.texi: Likewise.
80280         * manual/terminal.texi: Likewise.
80281         (ONLCR): Document as POSIX.
80282         (OXTABS): Document availability on GNU/Linux as XTABS.
80283         (ONOEOT): Document availability separately from other bits.
80284         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80285         * manual/time.texi: Likewise.
80286         * manual/users.texi: Likewise.
80287         * INSTALL: Regenerated.
80288         * sysdeps/gnu/errlist.c: Regenerated.
80290         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80291         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80292         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80293         puts.
80294         * configure: Regenerated.
80296 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80298         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80299         default includes instead of AC_HEADER_CHECK.
80300         * sysdeps/i386/configure: Regenerated.
80302         [BZ #10716]
80303         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80304         * math/s_cacoshf.c (__cacoshf): Likewise.
80305         * math/s_cacoshl.c (__cacoshl): Likewise.
80306         * math/s_casinh.c (__casinh): Set signs of result from argument.
80307         * math/s_casinhf.c (__casinhf): Likewise.
80308         * math/s_casinhl.c (__casinhl): Likewise.
80309         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80310         (casinh_test): Add more tests.
80311         * sysdeps/i386/fpu/libm-test-ulps: Update.
80312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80314 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80316         * po/zh_TW.po: Update from translation team.
80318         * login/Makefile (distribute): Remove variable.
80319         * catgets/Makefile: Likewise.
80320         * mach/Makefile: Likewise.
80321         * malloc/Makefile: Likewise.
80322         * misc/Makefile: Likewise.
80323         * iconv/Makefile: Likewise.
80324         * nscd/Makefile: Likewise.
80325         * hurd/Makefile: Likewise.
80326         * manual/Makefile: Likewise.
80327         * locale/Makefile: Likewise.
80328         * intl/Makefile: Likewise.
80329         * conform/Makefile: Likewise.
80330         * nss/Makefile: Likewise.
80331         * time/Makefile: Likewise.
80332         * soft-fp/Makefile: Likewise.
80333         * dirent/Makefile: Likewise.
80334         * gmon/Makefile: Likewise.
80335         * po/Makefile: Likewise.
80336         * rt/Makefile: Likewise.
80337         * socket/Makefile: Likewise.
80338         * math/Makefile: Likewise.
80339         * signal/Makefile: Likewise.
80340         * debug/Makefile: Likewise.
80341         * elf/Makefile: Likewise.
80342         * timezone/Makefile: Likewise.
80343         * stdlib/Makefile: Likewise.
80344         * iconvdata/Makefile: Likewise.
80345         * sunrpc/Makefile: Likewise.
80346         * io/Makefile: Likewise.
80347         * argp/Makefile: Likewise.
80348         * inet/Makefile: Likewise.
80349         * hesiod/Makefile: Likewise.
80350         * grp/Makefile: Likewise.
80351         * csu/Makefile: Likewise.
80352         * wctype/Makefile: Likewise.
80353         * crypt/Makefile: Likewise.
80354         * libio/Makefile: Likewise.
80355         * string/Makefile: Likewise.
80356         * nis/Makefile: Likewise.
80357         * resolv/Makefile: Likewise.
80358         * stdio-common/Makefile: Likewise.
80359         * wcsmbs/Makefile: Likewise.
80360         * dlfcn/Makefile: Likewise.
80361         * posix/Makefile: Likewise.
80363         [BZ #6959]
80364         * timezone/Makefile: Don't install timezone files, just the programs
80365         and scripts.
80367 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80369         * nss/databases.def: Add missing gshadow entry.
80371         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80373 2012-03-06  Marek Polacek  <polacek@redhat.com>
80375         [BZ #13726]
80376         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80377         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80378         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80379         * stdio-common/tst-long-dbl-fphex.c: New file.
80381 2012-03-06  David S. Miller  <davem@davemloft.net>
80383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80384         (set_obp_int): New function.
80385         (get_obp_int): New function.
80386         (__get_clockfreq_via_dev_openprom): Likewise.
80387         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80388         Avoid unused variable warnings on 'val' and use builtin_expect.
80389         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80390         __builtin_expect.
80391         (INLINE_CLONE_SYSCALL): Likewise.
80393 2012-03-05  David S. Miller  <davem@davemloft.net>
80395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80397 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80401         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80402         only for |x| >= 40.
80403         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80405 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80407         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80408         Replace gettimeofday with __vdso_gettimeofday.
80410         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80411         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80412         __vdso_clock_gettime and __vdso_getcpu.
80414         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80415         time with __vdso_time.
80417 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80419         * manual/lang.texi (size_t): Note types to which size_t may be
80420         equivalent with the GNU C Library, but do not describe when
80421         differences between them are significant.
80423 2012-03-05  Andreas Jaeger  <aj@suse.de>
80425         * sysdeps/i386/fpu/libm-test-ulps: Update.
80427 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80429         [BZ #3976]
80430         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80431         (__ieee754_pow): Save and restore rounding mode and use
80432         round-to-nearest for main computations.
80433         * math/libm-test.inc (pow_test_tonearest): New function.
80434         (pow_test_towardzero): Likewise.
80435         (pow_test_downward): Likewise.
80436         (pow_test_upward): Likewise.
80437         (main): Call the new functions.
80438         * sysdeps/i386/fpu/libm-test-ulps: Update.
80439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80441         [BZ #3976]
80442         * math/libm-test.inc (cosh_test_tonearest): New function.
80443         (cosh_test_towardzero): Likewise.
80444         (cosh_test_downward): Likewise.
80445         (cosh_test_upward): Likewise.
80446         (sinh_test_tonearest): Likewise.
80447         (sinh_test_towardzero): Likewise.
80448         (sinh_test_downward): Likewise.
80449         (sinh_test_upward): Likewise.
80450         (main): Call the new functions.
80451         * sysdeps/i386/fpu/libm-test-ulps: Update.
80452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80454 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80456         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80457         default stack guard is set in last bytes.
80458         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80460 2012-03-05  Kees Cook  <keescook@chromium.org>
80462         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80464         [BZ #13656]
80465         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80466         possibly allocate from heap instead of stack.
80467         * stdio-common/bug-vfprintf-nargs.c: New file.
80468         * stdio-common/Makefile (tests): Add nargs overflow test.
80470 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80474 2012-03-03  Marek Polacek  <polacek@redhat.com>
80476         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80477         * math/math_private.h: Likewise.
80478         * stdlib/tst-strtod.c: Likewise.
80479         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80480         * sysdeps/x86_64/bits/atomic.h: Likewise.
80482 2012-03-02  David S. Miller  <davem@davemloft.net>
80484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80488         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80489         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80490         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80491         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80493 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80495         [BZ #13792]
80496         * manual/examples/README: New file, says the example source files
80497         can be used under GPL>=2.
80498         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80499         line containing just "*/".
80500         * manual/examples/add.c: Add copyright header (GPL>=2).
80501         * manual/examples/argp-ex1.c: Likewise.
80502         * manual/examples/argp-ex2.c: Likewise.
80503         * manual/examples/argp-ex3.c: Likewise.
80504         * manual/examples/argp-ex4.c: Likewise.
80505         * manual/examples/atexit.c: Likewise.
80506         * manual/examples/db.c: Likewise.
80507         * manual/examples/dir.c: Likewise.
80508         * manual/examples/dir2.c: Likewise.
80509         * manual/examples/execinfo.c: Likewise.
80510         * manual/examples/filecli.c: Likewise.
80511         * manual/examples/filesrv.c: Likewise.
80512         * manual/examples/fmtmsgexpl.c: Likewise.
80513         * manual/examples/genpass.c: Likewise.
80514         * manual/examples/inetcli.c: Likewise.
80515         * manual/examples/inetsrv.c: Likewise.
80516         * manual/examples/isockad.c: Likewise.
80517         * manual/examples/longopt.c: Likewise.
80518         * manual/examples/memopen.c: Likewise.
80519         * manual/examples/memstrm.c: Likewise.
80520         * manual/examples/mkfsock.c: Likewise.
80521         * manual/examples/mkisock.c: Likewise.
80522         * manual/examples/mygetpass.c: Likewise.
80523         * manual/examples/pipe.c: Likewise.
80524         * manual/examples/popen.c: Likewise.
80525         * manual/examples/rprintf.c: Likewise.
80526         * manual/examples/search.c: Likewise.
80527         * manual/examples/select.c: Likewise.
80528         * manual/examples/setjmp.c: Likewise.
80529         * manual/examples/sigh1.c: Likewise.
80530         * manual/examples/sigusr.c: Likewise.
80531         * manual/examples/stpcpy.c: Likewise.
80532         * manual/examples/strdupa.c: Likewise.
80533         * manual/examples/strftim.c: Likewise.
80534         * manual/examples/strncat.c: Likewise.
80535         * manual/examples/subopt.c: Likewise.
80536         * manual/examples/swapcontext.c: Likewise.
80537         * manual/examples/termios.c: Likewise.
80538         * manual/examples/testopt.c: Likewise.
80539         * manual/examples/testpass.c: Likewise.
80540         * manual/examples/timeval_subtract.c: Likewise.
80542         [BZ #13792]
80543         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80544         function to ...
80545         * manual/timeval_subtract.c.texi: ... here, new file.
80547 2012-03-02  David S. Miller  <davem@davemloft.net>
80549         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80551 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80553         [BZ #3976]
80554         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80555         (__sin): Save and restore rounding mode and use round-to-nearest
80556         for all computations.
80557         (__cos): Save and restore rounding mode and use round-to-nearest
80558         for all computations.
80559         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80560         <fenv.h>.
80561         (tan): Save and restore rounding mode and use round-to-nearest for
80562         all computations.
80563         * math/libm-test.inc (cos_test_tonearest): New function.
80564         (cos_test_towardzero): Likewise.
80565         (cos_test_downward): Likewise.
80566         (cos_test_upward): Likewise.
80567         (sin_test_tonearest): Likewise.
80568         (sin_test_towardzero): Likewise.
80569         (sin_test_downward): Likewise.
80570         (sin_test_upward): Likewise.
80571         (tan_test_tonearest): Likewise.
80572         (tan_test_towardzero): Likewise.
80573         (tan_test_downward): Likewise.
80574         (tan_test_upward): Likewise.
80575         (main): Call the new functions.
80576         * sysdeps/i386/fpu/libm-test-ulps: Update.
80577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80579         [BZ #10135]
80580         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80581         small n, then large n, before computing and testing k+n.
80582         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80583         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80584         Likewise.
80585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80586         Likewise.
80587         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80588         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80589         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80590         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80591         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80592         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80593         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80594         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80595         * math/libm-test.inc (scalbn_test): Add more tests.
80596         (scalbln_test): Likewise.
80598         * manual/filesys.texi (mode_t): Describe constraints on size and
80599         signedness, not exact equivalence to a particular type.
80600         (ino_t): Likewise.
80601         (ino64_t): Likewise.
80602         (dev_t): Likewise.
80603         (nlink_t): Likewise.
80604         (blkcnt_t): Likewise.
80605         (blkcnt64_t): Likewise.
80606         * manual/llio.texi (off_t): Likewise.
80608         [BZ #3976]
80609         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80610         (__ieee754_exp): Save and restore rounding mode and use
80611         round-to-nearest for all computations.
80612         * math/libm-test.inc (exp_test_tonearest): New function.
80613         (exp_test_towardzero): Likewise.
80614         (exp_test_downward): Likewise.
80615         (exp_test_upward): Likewise.
80616         (main): Call the new functions.
80617         * sysdeps/i386/fpu/libm-test-ulps: Update.
80618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80620 2012-03-01  Chris Demetriou  <cgd@google.com>
80622         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80623         have predictable order.
80625 2012-03-01  David S. Miller  <davem@davemloft.net>
80627         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80629         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80630         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80631         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80632         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80634         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80635         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80636         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80638         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80639         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80640         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80641         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80642         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80646         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80647         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80648         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80650         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80651         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80652         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80653         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80654         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80655         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80656         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80657         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80658         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80659         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80660         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80661         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80662         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80663         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80664         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80666         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80667         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80668         * sysdeps/sparc/elf/configure: Regenerated.
80670 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80672         * configure.in (AS, LD): Require binutils 2.20 or later.
80673         * configure: Regenerated.
80674         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80675         as required minimum version.
80676         * INSTALL: Regenerated.
80678         [BZ #2541]
80679         [BZ #4108]
80680         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80681         before squaring exponent.
80682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80683         bottom long double and 27 bits of top long double before squaring
80684         exponent.
80685         * math/libm-test.inc (erfc_test): Add more tests.
80686         * sysdeps/i386/fpu/libm-test-ulps: Update.
80687         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80690 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80692         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80693         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80694         containing bit-fields.
80695         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80696         * soft-fp/single.h (_FP_UNION_S): Likewise.
80697         * soft-fp/double.h (_FP_UNION_D): Likewise.
80699 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80701         [BZ #13786]
80702         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80703         not include ../strcmp.S.
80704         [USE_AS_STRNCASECMP_L]: Likewise.
80705         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80706         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80707         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80708         (__strncasecmp_l_ia32): Define as alias to
80709         __strncasecmp_l_nonascii.
80711         [BZ #5794]
80712         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80713         * sysdeps/i386/fpu/libm-test-ulps: Update.
80714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80716         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80719 2012-02-29  Jeff Law  <law@redhat.com>
80721         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80722         out of bounds read.
80724 2012-02-29  Marek Polacek  <polacek@redhat.com>
80726         [BZ #13706]
80727         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80728         * elf/Makefile: Add rules to run tst-unused-dep.out.
80730 2012-02-28  David S. Miller  <davem@davemloft.net>
80732         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80733         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80734         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80735         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80736         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80737         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80739 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80741         * math/libm-test.inc (llround_test): Move one test from
80742         lround_test.  Use TEST_f_L in moved test.
80743         (lround_test): Move misplaced test to llround_test.  Add testcase
80744         from bug 2561.
80746 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80748         * sysdeps/x86_64/fpu/e_expf.S: New file.
80749         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80751 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80753         [BZ #13637]
80754         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80755         of remain_len that may cause incomplete multi-byte character and
80756         false match.
80757         * posix/bug-regex33.c: New file.
80758         * posix/Makefile (tests): Add bug-regex33.
80760 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80762         * manual/macros.texi: New file.
80763         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80764         * manual/libc.texinfo: Include macros.texi.
80765         * manual/creatute.texi: Likewise.
80766         * manual/install.texi: Likewise.
80767         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80768         @glibcadj{} in references to the GNU C Library.
80769         * manual/charset.texi: Likewise.
80770         * manual/conf.texi: Likewise.
80771         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80772         when not using those macros.
80773         * manual/creature.texi: Likewise.
80774         * manual/crypt.texi: Likewise.
80775         * manual/errno.texi: Likewise.
80776         * manual/filesys.texi: Likewise.
80777         * manual/header.texi: Likewise.
80778         * manual/install.texi: Likewise.
80779         * manual/intro.texi: Likewise.
80780         * manual/io.texi: Likewise.
80781         * manual/job.texi: Likewise.
80782         * manual/lang.texi: Likewise.
80783         * manual/libc.texiinfo: Likewise.
80784         * manual/llio.texi: Likewise.
80785         * manual/locale.texi: Likewise.
80786         * manual/maint.texi: Likewise.
80787         * manual/math.texi: Likewise.
80788         * manual/memory.texi: Likewise.
80789         * manual/message.texi: Likewise.
80790         * manual/nss.texi: Likewise.
80791         * manual/pattern.texi: Likewise.
80792         * manual/process.texi: Likewise.
80793         * manual/resource.texi: Likewise.
80794         * manual/search.texi: Likewise.
80795         * manual/setjmp.texi: Likewise.
80796         * manual/signal.texi: Likewise.
80797         * manual/socket.texi: Likewise.
80798         * manual/startup.texi: Likewise.
80799         * manual/stdio.texi: Likewise.
80800         * manual/string.texi: Likewise.
80801         * manual/sysinfo.texi: Likewise.
80802         * manual/syslog.texi: Likewise.
80803         * manual/terminal.texi: Likewise.
80804         * manual/time.texi: Likewise.
80805         * manual/users.texi: Likewise.
80806         * INSTALL: Regenerated.
80807         * NOTES: Regenerated.
80808         * sysdeps/gnu/errlist.c: Regenerated.
80810 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80812         * include/dirent.h: Include <dirstream.h> before
80813         <dirent/dirent.h>.
80815 2012-02-28  David S. Miller  <davem@davemloft.net>
80817         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80818         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80819         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80820         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80822 2012-02-27  David S. Miller  <davem@davemloft.net>
80824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80826         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80827         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80830         frame pointer instead of stack pointer relative arg slot.
80831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80832         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80833         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80835 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80837         [BZ #3992]
80838         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80840 2012-02-27  David S. Miller  <davem@davemloft.net>
80842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80846         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80847         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80848         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80849         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80851 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80853         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80854         later.  Allow versions 5-9.
80855         * configure: Regenerated.
80856         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80857         required minimum version and 4.6 as recommended version.  Do not
80858         mention bugs in GCC 2.7 and 2.8.
80859         * INSTALL: Regenerated.
80861 2012-02-27  David S. Miller  <davem@davemloft.net>
80863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80867         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80868         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80869         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80870         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80872         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80873         manipulate bits before adding and subtracting TWO112[sx].
80874         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80876 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80878         [BZ #13775]
80879         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80880         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80881         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80882         being in POSIX, because they are in 1003.1-2008.
80884         * rt/tst-aio.c: Include <fcntl.h>.
80885         * rt/tst-aio7.c: Likewise.
80886         * rt/tst-aio64.c: Likewise.
80888         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80890 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80892         * manual/install.texi (--with-headers): Describe headers as
80893         interface headers, not private headers.
80894         (Specific advice for GNU/Linux systems): Describe use of headers
80895         from "make headers_install", not private headers from older
80896         kernels.
80897         * INSTALL: Regenerated.
80898         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80899         Change to 2.6.19.
80900         * sysdeps/unix/sysv/linux/configure: Regenerated.
80902         * manual/llio.texi (fclean): Remove documentation.
80904         * manual/Makefile (libc-texi-generated): New variable.  Include
80905         version.texi.
80906         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80907         $(libc-texi-generated), not duplicated list of files.
80908         (version.texi, stamp-version): New rules.
80909         (realclean): Remove $(libc-texi-generated), not individual files
80910         from that list.  Do not remove dir-add.texinfo.
80911         * manual/libc.texinfo: Comment out uses of edition numbers and
80912         references to printed manual.  Remove last-updated dates.
80913         (EDITION): Comment out.
80914         (ISBN): Likewise.
80915         (VERSION, UPDATED): Remove.
80916         (version.texi): Include.
80918 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80920         * sysdeps/posix/spawni.c: Include <signal.h>.
80921         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80922         * sysdeps/pthread/aio_fsync.c: Likewise.
80924 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80926         * conform/Makefile (tests): Run only when not cross-compiling and
80927         when fast-check is not defined.
80929         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80930         * conform/data/limits.h-data: Fixes for POSIX2008.
80931         * conform/run-conformtest.sh: Run all tests.
80932         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80933         headers.
80934         * include/bits/dlfcn.h: Likewise.
80935         * include/langinfo.h: Likewise.
80936         * include/monetary.h: Likewise.
80937         * include/sys/poll.h: Likewise.
80939         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80940         for __USE_GNU.
80941         * posix/spawn.h: Define __need_sigset_t.
80942         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80943         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80944         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80945         to get sigevent_t only.
80946         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80947         only for __USE_GNU.
80948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80949         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80950         process_vm_writev only for __USE_GNU.
80951         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80953         * conform/Makefile: For now ignore errors from run-conformtest.
80954         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80955         POSIX to avoid namespace pollution.  Don't prepend headers.
80956         * conform/data/aio.h-data: Fixes for POSIX testing.
80957         * conform/data/fcntl.h-data: Likewise.
80958         * conform/data/glob.h-data: Likewise.
80959         * conform/data/grp.h-data: Likewise.
80960         * conform/data/pthread.h-data: Likewise.
80961         * conform/data/pwd.h-data: Likewise.
80962         * conform/data/signal.h-data: Likewise.
80963         * conform/data/spawn.h-data: Likewise.
80964         * conform/data/stdio.h-data: Likewise.
80965         * conform/data/stdlib.h-data: Likewise.
80966         * conform/data/stropts.h-data: Likewise.
80967         * conform/data/sys/mman.h-data: Likewise.
80968         * conform/data/sys/stat.h-data: Likewise.
80969         * conform/data/sys/types.h-data: Likewise.
80970         * conform/data/sys/wait.h-data: Likewise.
80971         * conform/data/time.h-data: Likewise.
80972         * conform/data/unistd.h-data: Likewise.
80973         * conform/data/utime.h-data: Likewise.
80975         * io/sys/stat.h: fchmod was always in POSIX.
80976         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80977         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80978         * rt/aio.h: Define __need_timespec before including <time.h>.
80979         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80980         struct.  Add forward declaration of pthread_attr_t and use it in
80981         sigevent.
80982         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80983         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80984         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80985         always remove CLK_TCK definition.
80987 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80989         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80991 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80993         * conform/run-conformtest.sh: New file.
80994         * conform/Makefile: Run run-conformtest for tests.
80995         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80996         support.
80998         * conform/data/uchar.h-data: New file.
80999         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81000         * conform/data/arpa/inet.h-data: Likewise.
81001         * conform/data/assert.h-data: Likewise.
81002         * conform/data/complex.h-data: Likewise.
81003         * conform/data/cpio.h-data: Likewise.
81004         * conform/data/ctype.h-data: Likewise.
81005         * conform/data/dirent.h-data: Likewise.
81006         * conform/data/dlfcn.h-data: Likewise.
81007         * conform/data/errno.h-data: Likewise.
81008         * conform/data/fcntl.h-data: Likewise.
81009         * conform/data/float.h-data: Likewise.
81010         * conform/data/fmtmsg.h-data: Likewise.
81011         * conform/data/fnmatch.h-data: Likewise.
81012         * conform/data/ftw.h-data: Likewise.
81013         * conform/data/glob.h-data: Likewise.
81014         * conform/data/grp.h-data: Likewise.
81015         * conform/data/iconv.h-data: Likewise.
81016         * conform/data/inttypes.h-data: Likewise.
81017         * conform/data/langinfo.h-data: Likewise.
81018         * conform/data/libgen.h-data: Likewise.
81019         * conform/data/limits.h-data: Likewise.
81020         * conform/data/locale.h-data: Likewise.
81021         * conform/data/math.h-data: Likewise.
81022         * conform/data/monetary.h-data: Likewise.
81023         * conform/data/mqueue.h-data: Likewise.
81024         * conform/data/ndbm.h-data: Likewise.
81025         * conform/data/net/if.h-data: Likewise.
81026         * conform/data/netdb.h-data: Likewise.
81027         * conform/data/netinet/in.h-data: Likewise.
81028         * conform/data/nl_types.h-data: Likewise.
81029         * conform/data/poll.h-data: Likewise.
81030         * conform/data/pthread.h-data: Likewise.
81031         * conform/data/pwd.h-data: Likewise.
81032         * conform/data/regex.h-data: Likewise.
81033         * conform/data/sched.h-data: Likewise.
81034         * conform/data/search.h-data: Likewise.
81035         * conform/data/semaphore.h-data: Likewise.
81036         * conform/data/setjmp.h-data: Likewise.
81037         * conform/data/signal.h-data: Likewise.
81038         * conform/data/spawn.h-data: Likewise.
81039         * conform/data/stdarg.h-data: Likewise.
81040         * conform/data/stdio.h-data: Likewise.
81041         * conform/data/stdlib.h-data: Likewise.
81042         * conform/data/string.h-data: Likewise.
81043         * conform/data/strings.h-data: Likewise.
81044         * conform/data/stropts.h-data: Likewise.
81045         * conform/data/sys/ipc.h-data: Likewise.
81046         * conform/data/sys/mman.h-data: Likewise.
81047         * conform/data/sys/msg.h-data: Likewise.
81048         * conform/data/sys/resource.h-data: Likewise.
81049         * conform/data/sys/select.h-data: Likewise.
81050         * conform/data/sys/sem.h-data: Likewise.
81051         * conform/data/sys/shm.h-data: Likewise.
81052         * conform/data/sys/socket.h-data: Likewise.
81053         * conform/data/sys/stat.h-data: Likewise.
81054         * conform/data/sys/statvfs.h-data: Likewise.
81055         * conform/data/sys/time.h-data: Likewise.
81056         * conform/data/sys/timeb.h-data: Likewise.
81057         * conform/data/sys/times.h-data: Likewise.
81058         * conform/data/sys/types.h-data: Likewise.
81059         * conform/data/sys/uio.h-data: Likewise.
81060         * conform/data/sys/un.h-data: Likewise.
81061         * conform/data/sys/utsname.h-data: Likewise.
81062         * conform/data/sys/wait.h-data: Likewise.
81063         * conform/data/syslog.h-data: Likewise.
81064         * conform/data/tar.h-data: Likewise.
81065         * conform/data/termios.h-data: Likewise.
81066         * conform/data/utime.h-data: Likewise.
81067         * conform/data/utmpx.h-data: Likewise.
81068         * conform/data/varargs.h-data: Likewise.
81069         * conform/data/wchar.h-data: Likewise.
81070         * conform/data/wctype.h-data: Likewise.
81071         * conform/data/wordexp.h-data: Likewise.
81073         * include/stropts.h: New file.
81074         * include/uchar.h: New file.
81075         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81076         * include/assert.h: Likewise.
81077         * include/ctype.h: Likewise.
81078         * include/dirent.h: Likewise.
81079         * include/dlfcn.h: Likewise.
81080         * include/fcntl.h: Likewise.
81081         * include/fnmatch.h: Likewise.
81082         * include/glob.h: Likewise.
81083         * include/grp.h: Likewise.
81084         * include/libio.h: Likewise.
81085         * include/locale.h: Likewise.
81086         * include/math.h: Likewise.
81087         * include/net/if.h: Likewise.
81088         * include/netdb.h: Likewise.
81089         * include/netinet/in.h: Likewise.
81090         * include/pthread.h: Likewise.
81091         * include/pwd.h: Likewise.
81092         * include/regex.h: Likewise.
81093         * include/sched.h: Likewise.
81094         * include/search.h: Likewise.
81095         * include/setjmp.h: Likewise.
81096         * include/signal.h: Likewise.
81097         * include/stdio.h: Likewise.
81098         * include/stdlib.h: Likewise.
81099         * include/string.h: Likewise.
81100         * include/sys/cdefs.h: Likewise.
81101         * include/sys/mman.h: Likewise.
81102         * include/sys/msg.h: Likewise.
81103         * include/sys/resource.h: Likewise.
81104         * include/sys/select.h: Likewise.
81105         * include/sys/socket.h: Likewise.
81106         * include/sys/stat.h: Likewise.
81107         * include/sys/statvfs.h: Likewise.
81108         * include/sys/time.h: Likewise.
81109         * include/sys/times.h: Likewise.
81110         * include/sys/uio.h: Likewise.
81111         * include/sys/utsname.h: Likewise.
81112         * include/sys/wait.h: Likewise.
81113         * include/termios.h: Likewise.
81114         * include/time.h: Likewise.
81115         * include/ulimit.h: Likewise.
81116         * include/unistd.h: Likewise.
81117         * include/utime.h: Likewise.
81118         * include/wchar.h: Likewise.
81119         * include/wctype.h: Likewise.
81120         * include/wordexp.h: Likewise.
81122         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81124         * time/time.h: TIME_UTC must be a macro.
81125         Make timespec_get available for ISO C11 only as well.
81127 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81129         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81130         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81132 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81134         * configure.in: Use -o not -a in test for unsupported multi-arch.
81136 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81138         * manual/texinfo.tex: Update to version 2012-01-19.16.
81140 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81142         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81144 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81146         [BZ #13738]
81147         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81148         * manual/fdl-1.3.texi: New file.
81149         * manual/fdl-1.1.texi: File removed.
81151         [BZ #13738]
81152         * manual/libc.texinfo (FDL_VERSION): New @set.
81153         Use it for mention of FDL in cover text.
81154         (Documentation License): Use it in @include file name.
81156 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81157             Roland McGrath  <roland@hack.frob.com>
81159         [BZ #5461]
81160         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81161         (not LONG_LONG_MAX and LONG_LONG_MIN.
81162         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81163         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81164         name.
81165         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81167 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81169         [BZ #2547]
81170         [BZ #11365]
81171         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81172         manipulate bits before adding and subtracting TWO23[sx].
81173         * math/libm-test.inc (nearbyint_test): Add more tests.
81175 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81177         [BZ #2548]
81178         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81179         bits before adding and subtracting TWO23[sx].
81180         * math/libm-test.inc (rint_test): Add more tests.
81181         (rint_test_tonearest): Likewise.
81182         (rint_test_towardzero): Likewise.
81183         (rint_test_downward): Likewise.
81184         (rint_test_upward: Likewise.
81186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81188         [BZ #10110]
81189         * include/stdc-predef.h: New file.  Extracted from features.h.
81190         * include/features.h: Include stdc-predef.h.
81191         * Makefile (headers): Add stdc-predef.h.
81192         * CONFORMANCE (Compiler limitations): Update.
81194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81196         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81198 2012-02-21  David S. Miller  <davem@davemloft.net>
81200         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81201         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81203 2012-02-20  David S. Miller  <davem@davemloft.net>
81205         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81206         using a normal save/restore sequence, rather than allocating a
81207         dummy stack frame just to store a frame pointer and restore.
81208         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81210 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81212         * manual/install.texi: Fix stray word in line-wrapped comment.
81214 2012-02-20  David S. Miller  <davem@davemloft.net>
81216         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81217         both binutils and gcc support GOTDATA.
81219         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81220         "rd %pc" in the PIC register setup sequences.
81222         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81223         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81224         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81225         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81226         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81227         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81228         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81231         (SYSCALL_ERROR_HANDLER): Likewise.
81232         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81233         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81235         (SYSCALL_ERROR_HANDLER): Likewise.
81237         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81238         (HAVE_GCC_GOTDATA): New.
81239         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81240         relocation support in both binutils and gcc.
81241         * sysdeps/sparc/elf/configure: Regenerate.
81243         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81244         * sysdeps/sparc/sparc32/elf/configure: Delete.
81245         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81246         * sysdeps/sparc/sparc64/elf/configure: Delete.
81247         * sysdeps/sparc/elf/configure.in: New file.
81248         * sysdeps/sparc/elf/configure: Generate.
81250         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81251         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81252         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81253         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81254         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81256 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81258         * manual/install.texi: Do not mention specific glibc version
81259         numbers.
81260         * manual/libc.texinfo (VERSION, UPDATED): Update.
81261         (@copying): Use @copyright{} and range of years.
81263 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81265         [BZ #13695]
81266         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81267         [crti.S not in sysdirs] (generated): Do not append.
81268         [crti.S not in sysdirs] (omit-deps): Likewise.
81269         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81270         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81271         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81272         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81273         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81274         Likewise.
81275         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81276         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81277         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81278         * csu/defs.awk: Remove file.
81279         * sysdeps/generic/initfini.c: Likewise.
81280         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81281         variable.
81282         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81283         Likewise.
81285 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81287         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81288         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81289         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81290         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81291         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81292         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81293         <bits/epoll.h>.
81294         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81295         (__EPOLL_PACKED): Define to empty if not defined by
81296         <bits/epoll.h>.
81297         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81299         bits/epoll.h.
81301 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81303         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81304         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81305         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81306         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81307         <bits/timerfd.h>.
81308         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81310         bits/timerfd.h.
81312 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81314         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81315         in C locale.
81316         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81317         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81318         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81321 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81323         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81324         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81326 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81328         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81329         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81330         defined.
81331         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81332         Likewise.
81333         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81334         entry for 2.16.
81336 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81338         * math/w_acos.c: Use non-signaling floating-point comparisons.
81339         * math/w_acosf.c: Likewise.
81340         * math/w_acosh.c: Likewise.
81341         * math/w_acoshf.c: Likewise.
81342         * math/w_acoshl.c: Likewise.
81343         * math/w_acosl.c: Likewise.
81344         * math/w_asin.c: Likewise.
81345         * math/w_asinf.c: Likewise.
81346         * math/w_asinl.c: Likewise.
81347         * math/w_atanh.c: Likewise.
81348         * math/w_atanhf.c: Likewise.
81349         * math/w_atanhl.c: Likewise.
81350         * math/w_exp2.c: Likewise.
81351         * math/w_exp2f.c: Likewise.
81352         * math/w_exp2l.c: Likewise.
81353         * math/w_j0.c: Likewise.
81354         * math/w_j0f.c: Likewise.
81355         * math/w_j0l.c: Likewise.
81356         * math/w_j1.c: Likewise.
81357         * math/w_j1f.c: Likewise.
81358         * math/w_j1l.c: Likewise.
81359         * math/w_jn.c: Likewise.
81360         * math/w_jnf.c: Likewise.
81361         * math/w_log.c: Likewise.
81362         * math/w_log10.c: Likewise.
81363         * math/w_log10f.c: Likewise.
81364         * math/w_log10l.c: Likewise.
81365         * math/w_log2.c: Likewise.
81366         * math/w_log2f.c: Likewise.
81367         * math/w_log2l.c: Likewise.
81368         * math/w_logf.c: Likewise.
81369         * math/w_logl.c: Likewise.
81370         * math/w_sqrt.c: Likewise.
81371         * math/w_sqrtf.c: Likewise.
81372         * math/w_sqrtl.c: Likewise.
81373         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81374         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81375         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81376         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81377         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81379 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81381         [BZ #9739]
81382         * manual/string.texi (strnlen): Use correct parameter name in
81383         equivalent expression.
81385 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81387         [BZ #11174]
81388         * manual/users.texi (seteuid): Consistently use neweuid for
81389         argument name.
81391 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81393         [BZ #13704]
81394         * manual/nss.texi (Services in the NSS configuration): Correct
81395         list of services in example configuration file.
81397 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81399         [BZ #11322]
81400         * manual/arith.texi: Remove statements about negative zero
81401         behaving identically to zero.
81403 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81405         [BZ #5993]
81406         * manual/install.texi: Do not document upgrading from libc5.
81408 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81410         [BZ #4596]
81411         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81413 2012-02-18  David S. Miller  <davem@davemloft.net>
81415         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81416         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81417         %o7 across the call.
81418         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81419         instead.
81420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81421         SETUP_PIC_REG_LEAF.
81422         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81423         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81424         * sysdeps/sparc/crtn.S: Likewise.
81426 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81428         * aout/Makefile: Remove.
81430 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81432         [BZ #13058]
81433         * manual/examples/argp-ex1.c (main): Format definition in GNU
81434         style.
81435         * manual/examples/argp-ex2.c (main): Likewise.
81436         * manual/examples/argp-ex3.c (main): Likewise.
81437         * manual/examples/argp-ex4.c (main): Likewise.
81438         * manual/examples/longopt.c (main): Use new-style prototype
81439         definition.
81440         * manual/examples/strncat.c (main): Specify return type and use
81441         (void) for arguments.
81442         * manual/examples/subopt.c (main): Use char **argv argument.
81444 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81446         [BZ #5077]
81447         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81448         rounding modes.
81450 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81452         [BZ #6907]
81453         * manual/string.texi (strchr): Change when strchrnul is
81454         recommended.
81456 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81458         [BZ #174]
81459         * manual/locale.texi (setlocale): Document LOCPATH.
81461 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81463         [BZ #10210]
81464         * manual/process.texi (execle): Move @dots{} before last argument.
81466 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81468         [BZ #12047]
81469         * manual/charset.texi (Generic Charset Conversion): Fix typo
81470         (LC_TYPE -> LC_CTYPE).
81472 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81474         [BZ #5805]
81475         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81476         (scalbnf): Likewise.
81477         (scalbnl): Likewise.
81478         (scalbln): Likewise.
81479         (scalblnf): Likewise.
81480         (scalblnl): Likewise.
81481         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81482         (vwarnx): Likewise.
81483         (verr): Likewise.
81484         (verrx): Likewise.
81485         * manual/filesys.texi (telldir): Use braces around return type.
81486         * manual/llio.texi (mmap): Add space after comma.
81487         (mmap64): Likewise.
81488         * manual/math.texi (jn): Use @var{} on parameter names.
81489         (jnf): Likewise.
81490         (jnl): Likewise.
81491         (yn): Likewise.
81492         (ynf): Likewise.
81493         (ynl): Likewise.
81494         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81495         line.
81496         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81497         "...".
81498         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81499         (sched_get_priority_max): Likewise.
81500         * manual/signal.texi (sigvec): Add space after comma.
81501         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81502         names.
81503         (if_indextoname): Likewise.
81504         (if_freenameindex): Likewise.
81505         (sendto): Use ',' instead of '.' in prototype.
81506         * manual/startup.texi (syscall): Use @dots{} instead of literal
81507         "...".
81508         * manual/stdio.texi (__fpending): Separate initial words of
81509         paragraph from @deftypefun line.
81510         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81511         "...".
81512         (vsyslog): Use @var{} on parameter names.
81513         * manual/terminal.texi (stty): Use @var{} on parameter names.
81514         * manual/users.texi (getutmp): Use @var{} on parameter names.
81515         (getutmpx): Likewise.
81517 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81519         [BZ #6884]
81520         * manual/stdio.texi (fopen): Fix typos in description of
81521         ",ccs=STRING".
81523 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81525         [BZ #4026]
81526         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81527         get clock_id definition.
81529 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81531         [BZ #4822]
81532         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81533         (madvise): Cast every argument to void on its own.
81535 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81537         [BZ #9902]
81538         * manual/startup.texi (Exit Status): Fix typo.
81540 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81542         [BZ #10140]
81543         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81544         * manual/examples/argp-ex2.c: Likewise.
81545         * manual/examples/argp-ex3.c: Likewise.
81547 2012-02-16  Richard Henderson  <rth@redhat.com>
81549         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81550         * sysdeps/s390/s390-32/initfini.c: Remove.
81551         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81552         * sysdeps/s390/s390-64/initfini.c: Remove.
81554 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81556         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81557         compiler output for sysdeps/generic/initfini.c.
81558         * sysdeps/sh/elf/initfini.c: Remove file.
81560 2012-02-16  David S. Miller  <davem@davemloft.net>
81562         [BZ #11494]
81563         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81565         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81566         * sysdeps/sparc/crti.S: New file.
81567         * sysdeps/sparc/crtn.S: New file.
81568         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81569         * sysdeps/sparc/sparc64/Makefile: Likewise.
81571 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81573         [BZ #3335]
81574         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81576 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81578         [BZ #4822]
81579         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81581         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81582         (write, read, close): Likewise.
81583         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81585 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81587         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81588         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81589         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81590         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81591         <bits/signalfd.h>.
81592         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81594         bits/signalfd.h.
81596 2012-02-14  Marek Polacek  <polacek@redhat.com>
81598         * sysdeps/x86_64/crti.S: New file.
81599         * sysdeps/x86_64/crtn.S: New file.
81600         * sysdeps/x86_64/elf/initfini.c: Remove file.
81602 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81604         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81605         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81606         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81607         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81608         <bits/inotify.h>.
81609         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81611         bits/inotify.h.
81613 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81615         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81616         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81617         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81618         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81619         <bits/eventfd.h>.
81620         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81622         bits/eventfd.h.
81624 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81626         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81627         __feraiseexcept instead of feraiseexcept.
81629         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81630         nanosleep invocations.
81631         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81632         strings, and add error checking for a nanosleep invocations.
81634 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81636         Replace FSF snail mail address with URLs, as per GNU coding standards.
81637         Most of the snail mail addresses were wrong anyway, and omitting
81638         them makes the source code easier to maintain.  Almost all of the
81639         changes are to license notices and to locale LC_IDENTIFICATION
81640         addresses, except for this one:
81641         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81642         not its snail mail address.
81644 2012-02-09  Richard Henderson  <rth@twiddle.net>
81646         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81647         of kernel-features.h.
81649         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81651 2012-02-08  Marek Polacek  <polacek@redhat.com>
81653         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81654         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81655         * sysdeps/gnu/_G_config.h: Likewise.
81656         * sysdeps/generic/_G_config.h: Likewise.
81658 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81660         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81661         tests.
81662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81664         * sysdeps/powerpc/powerpc32/crti.S: New file.
81665         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81666         * sysdeps/powerpc/powerpc64/crti.S: New file.
81667         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81669         * Makeconfig (have-initfini): Don't set.
81670         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81671         * configure.in (nopic_initfini): Don't substitute.
81672         * config.h.in (HAVE_INITFINI): Don't #undef.
81673         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81674         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81676 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81678         Support crti.S and crtn.S provided directly by architectures.
81679         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81680         [crti.S in sysdirs] (omit-deps): Likewise.
81681         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81682         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81683         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81684         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81685         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81686         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81687         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81688         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81689         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81690         compiler output for sysdeps/generic/initfini.c.
81691         * sysdeps/i386/elf/Makefile: Remove file.
81692         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81694 2012-02-07  Marek Polacek  <polacek@redhat.com>
81696         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81697         * sysdeps/gnu/_G_config.h: Likewise.
81698         * sysdeps/mach/hurd/_G_config.h: Likewise.
81700 2012-02-07  Marek Polacek  <polacek@redhat.com>
81702         * math/Makefile (tests): Add tst-CMPLX2.
81703         * math/tst-CMPLX2.c: New file.
81705 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81707         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81709         * math/libm-test.inc (jn_test): Add missing L suffix.
81711 2012-02-06  Marek Polacek  <polacek@redhat.com>
81713         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81714         * sysdeps/i386/fpu/e_powf.S: Likewise.
81715         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81716         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81717         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81718         * sysdeps/i386/fpu/e_pow.S: Likewise.
81719         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81720         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81721         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81722         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81723         * sysdeps/i386/fpu/e_log2.S: Likewise.
81724         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81725         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81726         * sysdeps/i386/fpu/e_powl.S: Likewise.
81727         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81728         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81729         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81730         * sysdeps/i386/fpu/e_logl.S: Likewise.
81731         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81732         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81733         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81734         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81735         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81736         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81737         * sysdeps/i386/fpu/e_log.S: Likewise.
81738         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81739         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81740         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81741         * sysdeps/i386/fpu/e_logf.S: Likewise.
81742         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81743         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81744         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81745         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81746         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81747         * sysdeps/i386/fpu/e_log10.S: Likewise.
81748         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81749         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81750         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81751         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81752         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81753         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81754         * sysdeps/i386/asm-syntax.h: Likewise.
81755         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81756         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81757         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81758         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81759         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81761         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81762         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81763         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81764         * sysdeps/powerpc/sysdep.h: Likewise.
81765         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81766         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81768 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81770         [BZ #411]
81771         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81773 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81775         * sysdeps/i386/sysdep.h: Include <features.h>.
81776         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81777         version.
81779 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81781         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81782         Define.
81783         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81784         LOAD_PIC_REG_STR.
81786 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81788         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81789         (SETUP_PIC_REG): Use GET_PC_THUNK.
81790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81791         macro.
81793 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81795         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81796         for non-PIC compilation.
81797         (SETUP_PIC_REG): Add .p2align directive.
81798         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81799         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81800         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81801         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81802         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81803         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81804         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81805         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81806         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81807         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81808         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81809         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81810         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81811         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81812         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81813         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81814         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81815         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81816         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81817         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81818         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81819         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81820         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81821         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81822         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81823         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81824         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81825         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81826         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81827         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81828         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81829         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81830         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81831         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81832         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81833         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81834         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81835         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81836         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81837         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81838         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81840 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81842         * math/tst-CMPLX.c: Include <stdio.h>.
81844 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81846         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81847         float.
81848         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81849         * sysdeps/sparc/bits/mathdef.h: Likewise.
81851 2012-01-31  Marek Polacek  <polacek@redhat.com>
81853         * libio/libio.h: Don't define _PARAMS.
81854         * locale/programs/config.h: Don't define PARAMS.
81855         * stdlib/strtol_l.c: Likewise.
81856         (__strtol_l): Remove PARAMS from the prototype.
81858 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81860         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81861         names.  Just use the correct names.  Remove unnecessary wrapper
81862         functions.
81863         * malloc/arena.c: Likewise.
81864         * malloc/hooks.c: Likewise.
81866         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81867         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81868         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81870 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81872         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81873         into tail calls.
81874         (update_get_addr): New function.
81875         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81876         GET_ADDR_MODULE parameter.
81878 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81880         * crypt/cert.c: Remove __STDC__ conditionals.
81881         * crypt/crypt-entry.c: Likewise.
81882         * crypt/crypt_util.c: Likewise.
81883         * libio/filedoalloc.c: Likewise.
81884         * libio/fileops.c: Likewise.
81885         * libio/genops.c: Likewise.
81886         * libio/iofclose.c: Likewise.
81887         * libio/iofdopen.c: Likewise.
81888         * libio/iofopen.c: Likewise.
81889         * libio/iofopen64.c: Likewise.
81890         * libio/iogetdelim.c: Likewise.
81891         * libio/iopopen.c: Likewise.
81892         * libio/obprintf.c: Likewise.
81893         * libio/oldfileops.c: Likewise.
81894         * libio/oldiofclose.c: Likewise.
81895         * libio/oldiofdopen.c: Likewise.
81896         * libio/oldiofopen.c: Likewise.
81897         * libio/oldiopopen.c: Likewise.
81898         * libio/wfiledoalloc.c: Likewise.
81899         * libio/wgenops.c: Likewise.
81900         * locale/programs/xmalloc.c: Likewise.
81901         * misc/syslog.c: Likewise.
81902         * stdio-common/xbug.c: Likewise.
81903         * string/memchr.c: Likewise.
81904         * string/memcmp.c: Likewise.
81905         * string/memrchr.c: Likewise.
81906         * string/rawmemchr.c: Likewise.
81907         * sysdeps/posix/getcwd.c: Likewise.
81908         * time/strftime_l.c: Likewise.
81910 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81912         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81913         * config.make.in (config-cflags-sse2avx): Define.
81914         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81915         Fix typo.
81917 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81919         * scripts/config.guess: Update from upstream config git repository.
81920         * scripts/config.sub: Likewise.
81922 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81924         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81925         (EM_NUM): Update.
81926         (R_TILEPRO_*, R_TILEGX_*): New macros.
81928         * scripts/firstversions.awk: Fix bug in version range handling.
81930         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81932         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81934         * include/sys/epoll.h: New file.
81935         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81936         libc_hidden_def.
81938 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81940         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81941         Avoid unnecessary __WORDSIZE == 64 test.
81942         (fmaxf): Use VEX format if possible.
81943         (fmax): Likewise.
81944         (fminf): Likewise.
81945         (fmin): Likewise.
81947         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81948         * math/math_private.h: Remove libc_fegetround* and
81949         libc_fesetround*.
81950         * sysdeps/i386/configure.in: Check for -msse2avx.
81951         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81952         also if SSE2AVX is defined.
81953         Remove libc_fegetround* and libc_fesetround*.
81954         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81955         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81956         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81957         of HAS_YMM_USABLE.
81958         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81959         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81960         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81961         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81962         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81964         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81966 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81968         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81969         size is not set.
81970         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81972 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81974         [BZ #13618]
81975         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81976         relocation.
81977         * Makeconfig (libm): Define.
81978         * elf/Makefile: Add rules to build and run tst-relsort1.
81979         * elf/tst-relsort1.c: New file.
81980         * elf/tst-relsort1mod1.c: New file.
81981         * elf/tst-relsort1mod2.c: New file.
81983 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81985         * math/s_ldexp.c: Remove __STDC__ conditionals.
81986         * math/s_ldexpf.c: Likewise.
81987         * math/s_ldexpl.c: Likewise.
81988         * math/s_nextafter.c: Likewise.
81989         * math/s_nexttowardf.c: Likewise.
81990         * math/s_significand.c: Likewise.
81991         * math/s_significandf.c: Likewise.
81992         * math/s_significandl.c: Likewise.
81993         * math/w_jnl.c: Likewise.
81994         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81995         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81996         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81997         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81998         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81999         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82000         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82001         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82002         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82003         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82004         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82005         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82006         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82007         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82008         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82009         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82010         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82011         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82012         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82013         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82014         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82015         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82016         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82017         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82018         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82019         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82020         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82021         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82022         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82023         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82024         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82025         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82026         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82027         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82028         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82029         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82030         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82031         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82032         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82033         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82034         * sysdeps/ieee754/k_standard.c: Likewise.
82035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82036         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82037         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82038         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82039         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82040         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82042         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82043         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82044         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82045         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82046         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82047         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82048         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82049         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82050         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82051         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82052         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82053         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82054         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82055         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82056         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82057         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82058         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82059         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82060         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82064         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82065         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82066         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82067         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82068         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82069         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82070         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82071         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82072         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82073         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82074         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82075         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82076         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82077         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82078         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82079         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82080         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82083         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82084         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82085         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82086         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82087         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82088         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82089         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82090         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82091         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82092         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82093         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82094         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82096         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82097         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82099         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82100         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82101         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82102         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82103         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82104         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82105         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82106         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82107         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82108         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82109         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82110         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82111         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82112         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82113         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82114         * sysdeps/ieee754/s_matherr.c: Likewise.
82115         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82116         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82120 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82122         * crypt/md5.h: Remove __STDC__ conditionals.
82123         * libio/libioP.h: Likewise.
82124         * locale/programs/config.h: Likewise.
82125         * sysdeps/generic/sysdep.h: Likewise.
82126         * sysdeps/i386/asm-syntax.h: Likewise.
82127         * sysdeps/s390/asm-syntax.h: Likewise.
82128         * sysdeps/unix/sysdep.h: Likewise.
82129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82132 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82134         * libio/libio.h: Remove __STDC__ conditionals.
82135         * malloc/obstack.h: Likewise.
82136         * math/complex.h: Likewise.
82137         * math/math.h: Likewise.
82138         * sysdeps/generic/_G_config.h: Likewise.
82139         * sysdeps/gnu/_G_config.h: Likewise.
82140         * sysdeps/mach/hurd/_G_config.h: Likewise.
82141         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82142         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82143         * sysdeps/sparc/bits/mathdef.h: Likewise.
82145 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82147         [BZ #13583]
82148         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82149         Clean up HAS_* macros.
82150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82151         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82152         possible.
82153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82154         HAS_AVX.
82155         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82156         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82157         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82158         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82159         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82161 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82163         * elf/tst-unique3.cc (gets): Remove declaration.
82164         * elf/tst-unique3lib.cc (gets): Likewise.
82165         * elf/tst-unique3lib2.cc (gets): Likewise.
82166         * elf/tst-unique4.cc (gets): Likewise.
82168 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82170         * include/stdio.h: Add C++ protection.  Add gets declarations and
82171         definitions.
82172         * debug/tst-chk1.c: Don't declare gets here.
82173         * stdio-common/tst-gets.c: Likewise.
82175 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82177         * posix/glob: Remove directory.
82179 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82181         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82183 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82185         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82186         of the non-standard EPFNOSUPPORT.
82188 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82190         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82191         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82192         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82194 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82196         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82198 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82200         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82201         transient errors.
82202         * nscd/grpcache.c (cache_addgr): Likewise.
82203         * nscd/hstcache.c (cache_addhst): Likewise.
82204         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82205         * nscd/pwdcache.c (cache_addpw): Likewise.
82206         * nscd/servicescache.c (cache_addserv): Likewise.
82208 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82210         * malloc/malloc.c: Various cleanups.
82211         * malloc/hooks.c: Likewise.
82213         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82214         * stdlib/bug-fmtmsg1.c: New file.
82216         * stdlib/fmtmsg.c (init): Add missing unlock.
82217         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82219 2012-01-12  Marek Polacek  <polacek@redhat.com>
82221         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82222         and _GNU_SOURCE.
82224 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82226         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82227         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82228         macro to ensure uniqueness of label name.
82229         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82230         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82232 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82234         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82236         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82237         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82238         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82241 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82243         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82245         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82246         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82247         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82249         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82251         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82252         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82253         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82254         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82256         * math/bits/math-finite.h: Add ldexp support.
82258 2012-01-10  Marek Polacek  <polacek@redhat.com>
82260         * locale/programs/localedef.h (show_archive_content): Add noreturn
82261         attribute.
82263 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82265         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82267 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82269         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82271         * io/Makefile (headers): Add bits/poll2.h.
82273 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82276         typo #include statement.
82278 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82280         * include/sys/cdefs.h: Define __attribute_alloc_size.
82281         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82282         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82283         * elf/pldd.c: Likewise.
82284         * iconv/iconv_charmap.c: Likewise.
82285         * iconv/iconvconfig.c: Likewise.
82286         * iconv/strtab.c: Likewise.
82287         * locale/programs/locale.c: Likewise.
82288         * locale/programs/localedef.h: Likewise.
82289         * locale/programs/simple-hash.c: Likewise.
82290         * nscd/nscd.h: Likewise.
82291         * nss/makedb.c: Likewise.
82292         * sysdeps/generic/ldconfig.h: Likewise.
82293         * locale/programs/localedef.c: Remove xmalloc prototype.
82294         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82296 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82298         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82299         appropriate.
82301 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82303         * math/Makefile (tests): Add tst-CMPLX.
82304         * math/tst-CMPLX.c: New file.
82306         * math/complex.h (CMPLXL): Fix typo.
82308         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82309         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82310         GLIBC_2.16.
82311         * debug/tst-chk1.c: Add poll and ppoll tests.
82312         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82313         * include/sys/poll.h: Add hidden proto for ppoll.
82314         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82315         * sysdeps/mach/hurd/ppoll.c: Likewise.
82316         * io/ppoll.c: Likewise.
82317         * debug/poll_chk.c: New file.
82318         * debug/ppoll_chk.c: New file.
82319         * include/bits/poll2.h: New file.
82320         * io/bits/poll2.h: New file.
82322         [BZ #1350]
82323         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82325         * configure.in: static is always set to yes.  Remove.
82326         * config.make.in: Don't set build-static.
82327         * Makeconfig: Remove use of build-static.
82328         * dlfcn/Makefile: Likewise.
82329         * elf/Makefile: Likewise.
82330         * math/Makefile: Likewise.
82331         * misc/Makefile: Likewise.
82332         * nptl/Makefile: Likewise.
82333         * sysdeps/mach/hurd/Makefile: Likewise.
82335         * configure.in: PWD_P is not used anymore.
82336         * config.make.in: Remove PWD_P entry.
82338         * configure.in: Remove last remnants of RANLIB.
82339         No need to check for signed size_t anymore.
82340         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82341         and IA-64.
82342         Remove __builtin_expect test because we require at least gcc 3.4.
82343         * aclocal.m4: Likewise.
82345         * wcsmbs/mbrtoc16.c: Implement using towc function.
82346         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82347         * wcsmbs/wcsmbsload.c: Likewise.
82348         * iconv/gconv_simple.c: Likewise.
82349         * iconv/gconv_int.h: Likewise.
82350         * iconv/gconv_builtin.h: Likewise.
82351         * iconv/iconv_prog.c: Remove CHAR16 handling.
82353         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82355         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82357         * configure.in: Remove --with-elf and --enable-bounded options.
82358         Dont set base_machine for ia64.  More non-ELF conditions removed.
82359         Remove testing and setting of leading underscore information.
82360         * config.make.in (build-bounded): Set to no.
82361         * config.h.in: Remove NO_UNDERSCORES entry.
82362         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82363         them.
82364         * csu/start.c: Remove !NO_UNDERSCORE code.
82365         * locale/localeinfo.h: Likewise.
82366         * sysdeps/generic/machine-gmon.h: Likewise.
82367         * sysdeps/generic/sysdep.h: Likewise.
82368         * sysdeps/i386/sysdep.h: Likewise.
82369         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82370         * sysdeps/mach/sysdep.h: Likewise.
82371         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82373         * sysdeps/sh/sysdep.h: Likewise.
82374         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82375         * sysdeps/unix/i386/sysdep.S: Likewise.
82376         * sysdeps/unix/sparc/start.c: Likewise.
82377         * sysdeps/unix/sparc/sysdep.S: Likewise.
82378         * sysdeps/unix/sparc/sysdep.h: Likewise.
82379         * sysdeps/unix/start.c: Likewise.
82380         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82381         * sysdeps/x86_64/sysdep.h: Likewise.
82383 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82385         [BZ #13553]
82386         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82387         for non-gcc.
82388         * argp/argp-fmtstream.h: Use const instead __const.
82389         * argp/argp.h: Likewise.
82390         * assert/assert.h: Likewise.
82391         * bits/fenv.h: Likewise.
82392         * bits/sched.h: Likewise.
82393         * bits/sigset.h: Likewise.
82394         * bits/sigthread.h: Likewise.
82395         * catgets/nl_types.h: Likewise.
82396         * conform/data/pthread.h-data: Likewise.
82397         * crypt/crypt-private.h: Likewise.
82398         * crypt/crypt.h: Likewise.
82399         * crypt/crypt_util.c: Likewise.
82400         * ctype/ctype.h: Likewise.
82401         * debug/execinfo.h: Likewise.
82402         * debug/mbsnrtowcs_chk.c: Likewise.
82403         * debug/mbsrtowcs_chk.c: Likewise.
82404         * debug/wcsnrtombs_chk.c: Likewise.
82405         * debug/wcsrtombs_chk.c: Likewise.
82406         * debug/wcstombs_chk.c: Likewise.
82407         * dirent/dirent.h: Likewise.
82408         * dlfcn/dlfcn.h: Likewise.
82409         * elf/neededtest4.c: Likewise.
82410         * grp/grp.h: Likewise.
82411         * gshadow/gshadow.h: Likewise.
82412         * iconv/gconv.h: Likewise.
82413         * iconv/gconv_int.h: Likewise.
82414         * iconv/gconv_simple.c: Likewise.
82415         * iconv/iconv.h: Likewise.
82416         * iconv/loop.c: Likewise.
82417         * iconv/skeleton.c: Likewise.
82418         * include/aio.h: Likewise.
82419         * include/aliases.h: Likewise.
82420         * include/argz.h: Likewise.
82421         * include/arpa/inet.h: Likewise.
82422         * include/assert.h: Likewise.
82423         * include/dirent.h: Likewise.
82424         * include/dlfcn.h: Likewise.
82425         * include/execinfo.h: Likewise.
82426         * include/fcntl.h: Likewise.
82427         * include/fenv.h: Likewise.
82428         * include/glob.h: Likewise.
82429         * include/grp.h: Likewise.
82430         * include/libintl.h: Likewise.
82431         * include/mntent.h: Likewise.
82432         * include/netdb.h: Likewise.
82433         * include/pwd.h: Likewise.
82434         * include/rpc/netdb.h: Likewise.
82435         * include/sched.h: Likewise.
82436         * include/search.h: Likewise.
82437         * include/shadow.h: Likewise.
82438         * include/signal.h: Likewise.
82439         * include/stdio.h: Likewise.
82440         * include/stdlib.h: Likewise.
82441         * include/string.h: Likewise.
82442         * include/sys/socket.h: Likewise.
82443         * include/sys/stat.h: Likewise.
82444         * include/sys/statfs.h: Likewise.
82445         * include/sys/statvfs.h: Likewise.
82446         * include/sys/syslog.h: Likewise.
82447         * include/sys/time.h: Likewise.
82448         * include/sys/uio.h: Likewise.
82449         * include/time.h: Likewise.
82450         * include/unistd.h: Likewise.
82451         * include/utmp.h: Likewise.
82452         * include/wchar.h: Likewise.
82453         * include/wctype.h: Likewise.
82454         * inet/aliases.h: Likewise.
82455         * inet/arpa/inet.h: Likewise.
82456         * inet/netinet/ether.h: Likewise.
82457         * inet/netinet/in.h: Likewise.
82458         * intl/libintl.h: Likewise.
82459         * io/bits/fcntl2.h: Likewise.
82460         * io/fcntl.h: Likewise.
82461         * io/ftw.h: Likewise.
82462         * io/sys/poll.h: Likewise.
82463         * io/sys/stat.h: Likewise.
82464         * io/sys/statfs.h: Likewise.
82465         * io/sys/statvfs.h: Likewise.
82466         * io/utime.h: Likewise.
82467         * libio/bits/stdio.h: Likewise.
82468         * libio/bits/stdio2.h: Likewise.
82469         * libio/libio.h: Likewise.
82470         * libio/libioP.h: Likewise.
82471         * libio/stdio.h: Likewise.
82472         * locale/lc-ctype.c: Likewise.
82473         * locale/locale.h: Likewise.
82474         * login/utmp.h: Likewise.
82475         * malloc/arena.c: Likewise.
82476         * malloc/malloc.c: Likewise.
82477         * malloc/malloc.h: Likewise.
82478         * malloc/mcheck.c: Likewise.
82479         * malloc/mtrace.c: Likewise.
82480         * math/bits/mathcalls.h: Likewise.
82481         * math/fenv.h: Likewise.
82482         * math/math_private.h: Likewise.
82483         * misc/bits/error.h: Likewise.
82484         * misc/bits/syslog.h: Likewise.
82485         * misc/err.h: Likewise.
82486         * misc/error.h: Likewise.
82487         * misc/fstab.h: Likewise.
82488         * misc/mntent.h: Likewise.
82489         * misc/regexp.h: Likewise.
82490         * misc/search.h: Likewise.
82491         * misc/sgtty.h: Likewise.
82492         * misc/sys/mman.h: Likewise.
82493         * misc/sys/syslog.h: Likewise.
82494         * misc/sys/uio.h: Likewise.
82495         * misc/sys/xattr.h: Likewise.
82496         * misc/ttyent.h: Likewise.
82497         * nis/rpcsvc/ypclnt.h: Likewise.
82498         * nss/nss.h: Likewise.
82499         * posix/bits/unistd.h: Likewise.
82500         * posix/fnmatch.h: Likewise.
82501         * posix/glob.h: Likewise.
82502         * posix/sched.h: Likewise.
82503         * posix/spawn.h: Likewise.
82504         * posix/sys/wait.h: Likewise.
82505         * posix/unistd.h: Likewise.
82506         * posix/wordexp.h: Likewise.
82507         * pwd/pwd.h: Likewise.
82508         * resolv/netdb.h: Likewise.
82509         * resource/sys/resource.h: Likewise.
82510         * rt/aio.h: Likewise.
82511         * rt/bits/mqueue2.h: Likewise.
82512         * rt/mqueue.h: Likewise.
82513         * shadow/shadow.h: Likewise.
82514         * signal/signal.h: Likewise.
82515         * socket/send.c: Likewise.
82516         * socket/sendto.c: Likewise.
82517         * socket/sys/socket.h: Likewise.
82518         * stdio-common/printf.h: Likewise.
82519         * stdlib/bits/stdlib.h: Likewise.
82520         * stdlib/fmtmsg.h: Likewise.
82521         * stdlib/monetary.h: Likewise.
82522         * stdlib/stdlib.h: Likewise.
82523         * stdlib/ucontext.h: Likewise.
82524         * streams/stropts.h: Likewise.
82525         * string/argz.h: Likewise.
82526         * string/bits/string2.h: Likewise.
82527         * string/string.h: Likewise.
82528         * string/strings.h: Likewise.
82529         * sunrpc/rpc/auth.h: Likewise.
82530         * sunrpc/rpc/auth_des.h: Likewise.
82531         * sunrpc/rpc/clnt.h: Likewise.
82532         * sunrpc/rpc/netdb.h: Likewise.
82533         * sunrpc/rpc/pmap_clnt.h: Likewise.
82534         * sunrpc/rpc/xdr.h: Likewise.
82535         * sysdeps/generic/inttypes.h: Likewise.
82536         * sysdeps/generic/net/if.h: Likewise.
82537         * sysdeps/generic/sys/swap.h: Likewise.
82538         * sysdeps/gnu/net/if.h: Likewise.
82539         * sysdeps/gnu/utmpx.h: Likewise.
82540         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82541         * sysdeps/i386/i486/bits/string.h: Likewise.
82542         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82543         * sysdeps/s390/bits/string.h: Likewise.
82544         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82545         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82546         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82547         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82548         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82549         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82550         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82551         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82552         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82553         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82554         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82555         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82556         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82557         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82558         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82559         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82560         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82562         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82563         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82565         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82566         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82567         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82568         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82569         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82570         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82571         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82572         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82573         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82574         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82575         * sysvipc/sys/ipc.h: Likewise.
82576         * sysvipc/sys/msg.h: Likewise.
82577         * sysvipc/sys/sem.h: Likewise.
82578         * sysvipc/sys/shm.h: Likewise.
82579         * termios/termios.h: Likewise.
82580         * time/sys/time.h: Likewise.
82581         * time/time.h: Likewise.
82582         * wcsmbs/bits/wchar2.h: Likewise.
82583         * wcsmbs/uchar.h: Likewise.
82584         * wcsmbs/wchar.h: Likewise.
82585         * wctype/wctype.h: Likewise.
82587         [BZ #13551]
82588         * Makeconfig: Remove all but ELF support including AIX support.
82589         * Makerules: Likewise.
82590         * config.h.in: Likewise.
82591         * config.make.in: Likewise.
82592         * configure: Likewise.
82593         * configure.in: Likewise.
82594         * csu/Makefile: Likewise.
82595         * csu/version.c: Likewise.
82596         * debug/Makefile: Likewise.
82597         * dlfcn/Makefile: Likewise.
82598         * elf/Makefile: Likewise.
82599         * extra-lib.mk: Likewise.
82600         * iconv/Makefile: Likewise.
82601         * include/libc-symbols.h: Likewise.
82602         * include/shlib-compat.h: Likewise.
82603         * resolv/Makefile: Likewise.
82604         * resolv/res_libc.c: Likewise.
82605         * rt/Makefile: Likewise.
82606         * sysdeps/i386/asm-syntax.h: Likewise.
82607         * sysdeps/i386/sysdep.h: Likewise.
82608         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82609         * sysdeps/mach/sysdep.h: Likewise.
82610         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82611         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82612         * sysdeps/s390/asm-syntax.h: Likewise.
82613         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82614         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82615         * sysdeps/sh/sysdep.h: Likewise.
82616         * sysdeps/unix/sparc/sysdep.h: Likewise.
82617         * sysdeps/wordsize-32/divdi3.c: Likewise.
82618         * sysdeps/x86_64/sysdep.h: Likewise.
82620         * argp/Versions: Remove _argp_unlock_xxx.
82622         [BZ #13559]
82623         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82624         * abilist/libBrokenLocale.abilist: Likewise.
82625         * abilist/libanl.abilist: Likewise.
82626         * abilist/libc.abilist: Likewise.
82627         * abilist/libcrypt.abilist: Likewise.
82628         * abilist/libdl.abilist: Likewise.
82629         * abilist/libm.abilist: Likewise.
82630         * abilist/libnsl.abilist: Likewise.
82631         * abilist/libpthread.abilist: Likewise.
82632         * abilist/libresolv.abilist: Likewise.
82633         * abilist/librt.abilist: Likewise.
82634         * abilist/libthread_db.abilist: Likewise.
82635         * abilist/libutil.abilist: Likewise.
82636         * abilist/libnss_db.abilist: New file.
82638         * scripts/abilist.awk: Add support for indirect functions.
82640         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82642         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82644         * shlib-versions: Remove entries for ports architectures.
82646         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82647         files in ports.
82648         * elf/stackguard-macros.h: Remove support for IA-64.
82649         * elf/tst-auditmod1.c: Likewise.
82650         * sysdeps/generic/ldsodefs.h: Likewise.
82652         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82653         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82654         configure files.
82656         [BZ #13552]
82657         * configure.in: Remove --enable-omitfp support.
82658         * FAQ.in: Adjust.
82659         * config.make.in: Likewise.
82660         * Makeconfig: Likewise.
82661         * manual/install.texi: Likewise.
82663         In case anyone cares, the IA-64 architecture could move to ports.
82664         * sysdeps/ia64/*: Removed.
82665         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82666         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82668         [BZ #13555]
82669         * configure.in: Remove entries for unsupported architectures.
82671         [BZ #13533]
82672         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82673         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82674         routines.
82675         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82676         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82677         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82678         fall back to using wcrtomb.
82679         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82680         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82681         renaming.
82682         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82683         * wcsmbs/tst-c16c32-1.c: New file.
82685         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82686         local variable.
82688         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82690         * elf/tst-unique3.cc: Add explicit declaration of gets.
82691         * elf/tst-unique3lib.cc: Likewise.
82692         * elf/tst-unique3lib2.cc: Likewise.
82693         * elf/tst-unique4.cc: Likewise.
82695         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82697 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82699         [BZ #13566]
82700         * assert/assert.h (static_assert): Don't define for C++.
82701         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82702         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82704 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82706         * iconv/loop.c (single loop): Fix assertion in storing of
82707         remaining bytes.
82709         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82711 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82713         * posix/getconf.c: Update copyright year.
82714         * nss/getent.c: Likewise.
82715         * nss/makedb.c: Likewise.
82716         * iconv/iconvconfig.c: Likewise.
82717         * iconv/iconv_prog.c: Likewise.
82718         * elf/ldconfig.c: Likewise.
82719         * elf/pldd.c: Likewise.
82720         * elf/sotruss.ksh: Likewise.
82721         * catgets/gencat.c: Likewise.
82722         * csu/version.c: Likewise.
82723         * elf/ldd.bash.in: Likewise.
82724         * elf/sprof.c (print_version): Likewise.
82725         * locale/programs/locale.c: Likewise.
82726         * locale/programs/localedef.c: Likewise.
82727         * login/programs/pt_chown.c: Likewise.
82728         * nscd/nscd.c (print_version): Likewise.
82729         * debug/xtrace.sh: Likewise.
82730         * malloc/memusage.sh: Likewise.
82731         * malloc/mtrace.pl: Likewise.
82732         * debug/catchsegv.sh: Likewise.
82734 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82736         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82737         pure attribute.
82739 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82741         [BZ #13533]
82742         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82743         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82744         transformations.
82745         * iconv/gconv_int.h: Likewise.
82746         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82747         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82748         from libc for GLIBC_2.16.
82749         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82750         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82751         * wcsmbs/uchar.h: Really define mbstate_t.
82752         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82753         * wcsmbs/c16rtomb.c: New file.
82754         * wcsmbs/mbrtoc16.c: New file.
82755         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82756         for C/POSIX locale.
82757         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82758         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82760         * wcsmbs/wchar.h: Add missing __restrict.
82762 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82764         [BZ #13532]
82765         * time/Makefile (routines): Add timespec_get.
82766         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82767         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82768         timespec for ISO C11.
82769         * time/timespec_get.c: New file.
82770         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82771         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82773         [BZ #13531]
82774         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82775         * stdlib/stdlib.h: Declare aligned_alloc.
82776         * Versions.def: Add GLIBC_2.16 for libc.
82777         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82779         [BZ 13527]
82780         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82781         ISO C11.
82783         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82784         code.
82786         [BZ #13528]
82787         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82789         [BZ #13529]
82790         * assert/assert.h (static_assert): Define.
82792         * version.h: Update for 2.16 development version.
82794         [BZ #13526]
82795         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82796         _ISOC11_SOURCE.
82798         * version.h (RELEASE): Bump for 2.15 release.
82799         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82801         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82802         Patch by Marek Polacek <mpolacek@redhat.com>.
82804         * bits/byteswap.h: Protect long long constants with __extension__.
82805         * sysdeps/i386/bits/byteswap.h: Likewise.
82806         * sysdeps/ia64/bits/byteswap.h: Likewise.
82807         * sysdeps/s390/bits/byteswap.h: Likewise.
82808         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82810 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82812         [BZ #13540]
82813         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82814         destination buffer.
82815         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82817 2011-12-23  Marek Polacek  <polacek@redhat.com>
82819         * elf/dl-addr.c (determine_info): Add inline keyword.
82820         * elf/tst-auditmod4b.c (check_avx): Likewise.
82821         * elf/tst-auditmod6b.c (check_avx): Likewise.
82822         * elf/tst-auditmod6c.c (check_avx): Likewise.
82823         * elf/tst-auditmod7b.c (check_avx): Likewise.
82825 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82827         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82828         !__SSE_MATH__.
82830 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82832         [BZ #13540]
82833         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82834         processing for last bytes.
82836 2011-08-06  Bruno Haible  <bruno@clisp.org>
82838         [BZ #13061]
82839         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82840         U+0385, not to U+1FEE.
82842         [BZ #13062]
82843         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82844         entry for U+00A5 U+0301.
82846 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82848         [BZ #13166]
82849         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82850         buffer for the output is too small.
82852         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82853         optimization.
82855         [BZ #13185]
82856         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82857         SSE flags if possible.
82859 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82861         [BZ #13540]
82862         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82863         processing for last bytes.
82865 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82867         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82868         (syscall-list-default-options, syscall-list-default-condition)
82869         (syscall-list-includes): Define.
82870         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82871         list of ABIs and options and #if conditions for each ABI.  Do not
82872         handle common syscalls between ABIs specially.
82873         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82874         Remove.
82875         (syscall-list-variants, syscall-list-32bit-options)
82876         (syscall-list-32bit-condition, syscall-list-64bit-options)
82877         (syscall-list-64bit-condition): Define.
82878         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82879         (syscall-list-variants, syscall-list-32bit-options)
82880         (syscall-list-32bit-condition, syscall-list-64bit-options)
82881         (syscall-list-64bit-condition): Define.
82882         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82883         Remove.
82884         (syscall-list-variants, syscall-list-32bit-options)
82885         (syscall-list-32bit-condition, syscall-list-64bit-options)
82886         (syscall-list-64bit-condition): Define.
82887         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82888         Remove.
82889         (syscall-list-variants, syscall-list-32bit-options)
82890         (syscall-list-32bit-condition, syscall-list-64bit-options)
82891         (syscall-list-64bit-condition): Define.
82893 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82895         * locale/iso-639.def: Add brx entry.
82897         [BZ #13328]
82898         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82899         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82901         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82902         __feraiseexcept_renamed.
82904 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82906         [BZ #13538]
82907         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82908         EPOLLET with unsigned values.
82909         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82910         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82912         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82913         to large cancellation.
82914         * math/s_cacoshf.c: Likewise.
82915         * math/s_cacoshl.c: Likewise.
82917 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82919         [BZ #13305]
82920         [BZ #12786]
82921         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82922         * math/s_cacoshf.c: Likewise.
82923         * math/s_cacoshl.c: Likewise.
82925 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82927         [BZ #13439]
82928         * iconv/gconv.h: Define __GCONV_SWAP.
82929         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82930         * iconvdata/utf-16.c: Likewise.
82931         * iconvdata/utf-32.c: Likewise.
82933 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82935         [BZ #13524]
82936         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82937         numerator after shifting it by one limb.
82939 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82941         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82942         under [__USE_EXTERN_INLINES].
82944 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82946         [BZ #13446]
82947         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82949 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82951         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82952         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82953         optimized code.
82954         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82955         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82956         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82957         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82958         for strncasecmp/strncasecmp_l compilation.
82959         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82960         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82962 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82964         [BZ #13484]
82965         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82966         of __asm__.
82968 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82970         [BZ #13506]
82971         * time/tzfile.c (__tzfile_read): Check values from file header.
82973 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82975         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82976         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82977         * powerpc/powerpc32/dl-start.S: Likewise.
82978         * powerpc/powerpc32/elf/start.S: Likewise.
82979         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82980         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82981         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82982         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82983         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82984         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82985         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82986         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82987         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82988         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82989         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82990         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82991         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82992         * powerpc/powerpc32/memset.S: Likewise.
82993         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82994         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82995         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82996         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82997         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82998         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82999         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83000         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83001         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83002         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83003         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83004         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83005         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83007 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83009         * math/libm-test.inc: Added more nearbyint tests.
83010         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83011         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83012         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83015 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83017         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83018         FD_CLOEXEC.
83020 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83022         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83023         Add wcscpy-ssse3 wcscpy-c.
83024         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83025         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83026         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83027         * sysdeps/x86_64/wcschr.S: New file.
83028         * sysdeps/x86_64/wcsrchr.S: New file.
83029         * string/test-strcmp.c: Remove checking of wcscmp function for
83030         wrong alignments.
83031         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83032         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83033         wcsrchr-sse2 wcsrchr-c.
83034         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83035         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83036         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83037         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83038         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83039         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83040         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83041         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83042         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83043         * wcsmbc/wcschr.c (WCSCHR): New macro.
83045 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83047         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83048         * wcsmbs/test-wcsrchr.c: New file.
83049         * string/test-strrchr.c: Add wcsrchr support.
83050         (WIDE): New macro.
83051         * wcsmbs/test-wcscpy.c: New file.
83052         * string/test-strcpy.c: Add wcscpy support.
83053         (WIDE): New macro.
83055 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83057         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83058         the inner loop.
83060 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83062         [BZ #13472]
83063         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83065 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83067         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83068         Minor optimizations.
83070         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83071         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83072         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83074 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83076         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83077         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83078         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83079         for gcc to avoid warnings.
83080         * inet/Makefile (tests): Add tst-checks.
83081         * inet/tst-checks.c: New file.
83083         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83084         warning.
83086         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83087         __wmemcmp_sse2.
83089         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83090         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83092         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83094 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83096         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83097         problem.
83099         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83101 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83103         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83104         conditional on GCC version.
83105         (__arch_compare_and_exchange_val_8_acq)
83106         (__arch_compare_and_exchange_val_16_acq)
83107         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83108         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83109         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83111 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83113         * sysdeps/sh/backtrace.c: New file.
83115 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83117         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83118         parenthesis.
83120 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83122         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83123         falling back to utime.
83125 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83127         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83128         expectations for float.
83130 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83132         * locale/weight.h (findidx): Add parameter len.
83133         * locale/weightwc.h (findidx): Likewise.
83134         * posix/fnmatch_loop.c (FCT): Adjust caller.
83135         * posix/regcomp.c (build_equiv_class): Likewise.
83136         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83137         * posix/regexec.c (check_node_accept_bytes): Likewise.
83138         * string/strcoll_l.c (STRCOLL): Likewise.
83139         * string/strxfrm_l.c (STRXFRM): Likewise.
83141 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83143         * Makefile.in: Remove CVSOPT handling.
83144         * configure.in: Remove use of AC_REVISION.
83145         * iconvdata/Makefile (distribute): No need to filter out CVS.
83146         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83147         handling.
83149 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83152         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83153         [USE_AS_STRNCASECMP_L]: Likewise.
83154         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83155         NO_TLS_DIRECT_SEG_REFS.
83156         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83157         Fix argument offsets for non-PIC.
83158         [USE_AS_STRNCASECMP_L]: Likewise.
83159         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83160         NO_TLS_DIRECT_SEG_REFS.
83162 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83164         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83165         O_CLOEXEC.
83166         * locale/loadlocale.c (_nl_load_locale): Likewise.
83168 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83170         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83171         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83172         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83173         (SYSCALL_GETTIME): Set errno on error.
83175         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83176         count references to noai6ai_cached.
83178 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83180         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83182         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83183         FD_CLOEXEC for /proc/self/maps.
83185         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83186         FD_CLOEXEC for /proc/meminfo.
83188         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83189         gai.conf.
83191         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83192         FD_CLOEXEC for given file.
83194         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83196         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83197         FD_CLOEXEC for /etc/hosts.
83198         (_gethtent): Likewise.
83200         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83202         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83203         cancellation and set FD_CLOEXEC for /etc/netgroup.
83205         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83206         reading /etc/publickey.
83208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83209         allow cancellation when reading /etc/group.
83211         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83212         cancellation.
83213         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83215         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83216         when using data file.
83218         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83220         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83221         (write_nis_obj): Use "c" and "e" in fopen.
83223         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83225         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83227         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83229         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83231         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83232         locale.alias.
83234         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83236         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83238         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83240         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83241         file parsing and set FD_CLOEXEC.
83243 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83245         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83247 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83249         * malloc/arena.c (arena_get2): Don't call reused_arena when
83250         _int_new_arena failed.
83252 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83254         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83255         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83256         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83258         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83259         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83260         to compile strcasecmp and strncasecmp.
83261         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83262         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83266 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83268         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83269         locale-defines.sym to gen-as-const-headers.
83270         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83271         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83272         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83273         to compile strcasecmp and strncasecmp.
83274         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83275         strcasecmp_l and strncasecmp_l.
83276         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83277         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83278         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83279         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83280         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83281         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83282         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83283         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83284         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83285         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83286         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83288 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83290         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83291         result of SYSDEP_GETTIME_CPU to retval.
83292         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83293         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83295         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83296         variable.
83298         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83299         mantissa words.
83300         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83302         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83303         from unused variable.
83305         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83306         DWARF definitions.
83307         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83308         for assembling.
83310         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83311         over namespaces.
83313         * sunrpc/rpc_prot.c (rejected): Fix case value.
83315         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83316         unsigned long long int to avoid warnings in shift.
83318         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83319         of use of trans.
83320         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83321         variable tmp.
83323         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83324         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83325         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83327         * nis/nis_table.c (nis_list): Use variable of correct type for
83328         result of __follow_path call.
83330 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83332         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83333         of math functions ceil, trunc, floor, round, and sqrt, when
83334         avaliable on the platform.
83335         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83336         name clash.
83337         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83338         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83339         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83341 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83343         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83344         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83346 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83348         * include/unistd.h: Fix __readlink return type.
83349         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83351 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83353         * stdlib/ucontext.h: Undo last change for makecontext.
83355 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83357         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83359         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83360         * setjmp/setjmp.h: Mark functions as non-leaf.
83361         * setjmp/bits/setjmp2.h: Likewise.
83362         * stdlib/ucontext.h: Likewise.
83364 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83366         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83367         (reused_arena): Don't check arena limit.
83368         (arena_get2): Atomically check arena limit.
83370 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83372         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83373         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83375         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83376         instructions.
83378 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83380         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83381         handler when locking.
83383         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83384         Fix size of allocated buffer.
83386 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83388         [BZ #10103]
83389         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83390         declarations for long double functions.
83391         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83393         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83395 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83397         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83398         installed.
83400         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83401         is disabled.
83403 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83405         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83407 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83409         * include/alloca.h (stackinfo_alloca_round): Define.
83410         (extend_alloca): Use it.
83411         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83412         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83413         here.
83415         * scripts/check-local-headers.sh: Ignore libaudit.h.
83417         * nscd/Makefile (extra-objs): Make recursively expanded.
83419 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83421         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83422         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83424         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83425         * posix/tst-rfc3484-2.c: Likewise.
83426         * posix/tst-rfc3484-3.c: Likewise.
83428         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83429         process_vm_writev.
83430         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83431         process_vm_writev.
83432         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83433         process_vm_writev from libc using GLIBC_2.15 version.
83435         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83437 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83439         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83440         stack usage.
83442 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83444         [BZ #13367]
83445         * nss/getent.c (initgroups_keys): Show error message in case no group
83446         names are given.
83448         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83449         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83450         __bump_nl_timestamp.
83451         * nscd/connections (nscd_init): When host database is served open
83452         netlink socket and request notification about configuration changes.
83453         (main_loop_poll): Track netlink file descriptor and bump timestamp
83454         in case data becomes available.
83455         (main_loop_epoll): Likewise.
83456         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83457         (database_pers_head): Add extra_data fileds.
83458         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83459         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83460         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83461         Adjust caller.
83462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83463         in6ai data, call __free_in6ai.
83464         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83465         Add -DHAVE_NETLINK.
83466         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83467         interface information.  Reuse previous data if netlink timestamp
83468         is not changed.
83469         (__bump_nl_timestamp): New function.
83470         (__free_in6ai): New function.
83472 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83474         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83475         close_not_cancel_no_status here.
83476         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83478 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83480         [BZ #13276]
83481         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83482         return value.
83484         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83485         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83486         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83488 2011-07-03  Andreas Jaeger  <aj@suse.de>
83490         [BZ #10709]
83491         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83492         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83493         * math/libm-test.inc (sin_test): Add test case.
83495 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83497         [BZ #13337]
83498         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83499         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83501         * elf/chroot_canon.c (chroot_canon): Cleanups.
83503         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83505         [BZ #13335]
83506         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83507         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83509         * string/test-strchr.c: Make usable for strchrnul testing.
83510         * string/test-strchrnul.c: New file.
83511         * string/Makefile (strop-tests): Add strchrnul.
83513         * po/it.po: Update from translation team.
83514         * po/es.po: Likewise.
83516 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83518         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83519         the three constants needed as parameters.  Drop the others.
83520         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83521         __m128i_strloadu_tolower.
83522         Create and initialize variable zero and use it in all the places
83523         where _mm_setzero_si128 was used.
83525         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83526         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83527         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83528         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83529         anymore.
83530         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83531         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83532         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83533         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83534         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83535         __mpranred, __mptan.
83536         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83537         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83538         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83539         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83540         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83541         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83542         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83543         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83544         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83546 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83548         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83549         redefine if SHARED.
83550         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83552         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83553         wide char related routines to wcsmbs subdir.
83555 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83557         [BZ #13344]
83558         * misc/sys/cdefs.h (__THROWNL): Define.
83559         * posix/unistd.h: Use __THREADNL instead of __THREAD
83560         for memory synchronization functions.
83562 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83564         [BZ #13349]
83565         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83566         doesn't exist.
83567         * manual/stdio.texi (Obstack Streams): Node removed.
83569 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83571         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83572         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83573         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83575         * math/math_private.h (math_force_eval): Allow non-addressable
83576         arguments.
83577         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83579 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83581         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83582         file is not needed.
83584         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83585         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83586         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83587         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83589         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83590         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83591         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83592         Add AVX variants.
83593         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83594         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83595         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83596         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83597         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83598         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83599         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83600         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83601         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83602         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83603         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83604         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83605         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83606         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83607         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83608         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83609         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83610         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83611         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83613         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83614         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83616         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83617         place.  Use VEX encoding when compiling for AVX.
83619 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83621         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83622         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83624         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83626 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83628         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83629         useless if() expression.
83630         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83631         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83632         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83633         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83634         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83635         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83636         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83637         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83638         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83639         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83640         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83641         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83642         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83643         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83644         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83645         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83646         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83647         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83648         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83650         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83652 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83654         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83655         condition.
83656         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83658 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83660         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83661         .text section.  Avoid duplicate constants.
83662         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83663         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83664         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83669         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83670         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83671         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83672         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83673         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83674         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83675         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83676         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83677         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83678         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83679         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83680         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83682         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83683         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83684         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83685         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83686         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83687         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83688         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83689         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83690         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83691         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83692         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83693         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83694         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83695         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83696         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83697         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83698         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83699         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83700         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83701         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83702         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83703         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83704         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83705         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83706         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83708 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83710         * sysdeps/x86_64/dla.h: Move to ...
83711         * sysdeps/x86_64/fpu/dla.h: ...here.
83712         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83713         situations.  Use __builtin_fma only for gcc 4.6 and up.
83715         * config.make.in: Add have-mfma4 entry.
83716         * configure.in: Substitute libc_cv_cc_fma4.
83717         * math/Makefile (dbl-only-routines): Add sincostab.
83718         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83719         Use __sincostab not sincos.
83720         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83721         name is a macro.
83722         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83726         using __copysign.
83727         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83728         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83729         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83730         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83731         and __inv.
83732         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83733         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83734         __copysign.
83735         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83736         define aliases when function name is a macro.
83737         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83738         sysdeps/ieee754/dbl-64/sincos.tbl.
83739         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83740         fma4-enabled routines.
83741         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83742         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83743         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83744         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83745         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83746         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83748         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83749         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83750         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83751         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83752         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83753         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83754         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83755         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83756         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83757         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83758         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83759         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83760         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83761         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83762         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83763         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83764         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83765         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83766         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83767         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83768         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83769         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83770         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83772         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83773         rename.
83774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83775         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83778         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83779         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83780         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83783 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83785         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83787 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83789         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83791         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83792         prediction.
83793         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83795         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83796         Remove unused variable magic_bits.
83797         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83799         * string/strnlen.c: Define and use STRNLEN macro.
83800         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83801         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83802         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83803         * wcsmbs/wcslen.c: Define and use WCSLEN.
83804         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83805         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83806         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83807         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83808         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83809         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83810         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83812 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83815         strnlen-sse2-no-bsf.
83816         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83818         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83819         Add strnlen support.
83820         (USE_AS_STRNLEN): New macro.
83821         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83822         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83823         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83824         * sysdeps/x86_64/wcslen.S: New file.
83826 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83828         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83829         XMM-moves are used for copying on small sizes.
83831 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83833         * wcsmbs/Makefile (strop-tests): Add wcschr.
83834         * wcsmbs/test-wcschr.c: New file.
83835         * string/test-strchr.c: Update.
83836         Add wcschr support.
83837         (WIDE): New macro.
83839 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83841         * wcsmbs/Makefile (strop-tests): Add wcslen.
83842         * wcsmbs/test-wcslen.c: New file.
83843         * string/test-strlen.c: Update.
83844         Add wcslen support.
83845         (WIDE): New macro.
83847 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83849         * po/it.po: Update from translation team.
83851 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83853         * sysdeps/x86_64/wcscmp.S: Update.
83854         Fix wrong comparison semantics.
83855         wcscmp shall use signed comparison not unsigned.
83856         Don't use substraction to avoid overflow bug.
83857         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83858         * wcsmbc/wcscmp.c: Likewise.
83859         * string/test-strcmp.c: Likewise.
83860         Add new tests to check cases with negative values.
83862 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83864         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83865         * sysdeps/x86_64/dla.h: ...here.  New file.
83866         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83871         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83874         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83876 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83879         __ynl_finite aliases.
83881 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83885         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83886         define DLA_FMA.
83887         [DLA_FMA] (EMULV): Use DLA_FMA.
83888         [DLA_FMA] (MUL12): Use EMULV.
83889         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83890         that are not needed.
83891         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83896         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83899 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83901         * math/s_nan.c: Undef __nan.
83902         * math/s_nanf.c: Undef __nanf.
83903         * math/s_nanl.c: Undef __nanl.
83904         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83905         "math_private.h".
83907 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83909         * math/s_catan.c: Add branch predictions.
83910         * math/s_catanf.c: Likewise.
83911         * math/s_catanh.c: Likewise.
83912         * math/s_catanhf.c: Likewise.
83913         * math/s_catanhl.c: Likewise.
83914         * math/s_catanl.c: Likewise.
83915         * math/s_cexp.c: Likewise.
83916         * math/s_cexpf.c: Likewise.
83917         * math/s_cexpl.c: Likewise.
83918         * math/s_clog.c: Likewise.
83919         * math/s_clog10.c: Likewise.
83920         * math/s_clog10f.c: Likewise.
83921         * math/s_clog10l.c: Likewise.
83922         * math/s_clogf.c: Likewise.
83923         * math/s_clogl.c: Likewise.
83924         * math/s_csqrt.c: Likewise.
83925         * math/s_csqrtf.c: Likewise.
83926         * math/s_csqrtl.c: Likewise.
83927         * math/s_ctanf.c: Likewise.
83928         * math/s_ctanh.c: Likewise.
83929         * math/s_ctanhf.c: Likewise.
83930         * math/s_ctanhl.c: Likewise.
83931         * math/s_ctanl.c: Likewise.
83933         * math/math_private.h: Define __nan, __nanf, __nanl.
83934         * math/s_cacosh.c: Include <math_private.h>.
83935         * math/s_cacoshl.c: Likewise.
83936         * math/s_casinh.c: Likewise.
83937         * math/s_casinhf.c: Likewise.
83938         * math/s_casinhl.c: Likewise.
83939         * math/s_ccos.c: Rely entire on ccosh.
83940         * math/s_ccosf.c: Rely entire on ccoshf.
83941         * math/s_ccosl.c: Rely entirely on ccoshl.
83942         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83943         Remove tests for FE_INVALID.
83944         * math/s_ccoshf.c: Likewise.
83945         * math/s_ccoshl.c: Likewise.
83946         * math/s_csin.c: Likewise.
83947         * math/s_csinf.c: Likewise.
83948         * math/s_csinh.c Likewise.
83949         * math/s_csinhf.c: Likewise.
83950         * math/s_csinhl.c: Likewise.
83951         * math/s_csinl.c: Likewise.
83952         * math/s_ctan.c: Likewise.
83953         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83954         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83955         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83957 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83960         compilation problems.
83962         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83963         __builtin_expect.
83965 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83967         * sysdeps/i386/configure.in: Test for -mfma4 option.
83968         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83969         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83970         COMMON_CPUID_INDEX_80000001.
83971         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83972         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83973         use it if FMA3 is not supported.
83974         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83976         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83977         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83979 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83981         [BZ #12892]
83982         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83983         it would create a cycle with a link time dependency.
83985 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83987         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83988         instruction.
83989         * string/Makefile (strop-tests): Add rawmemchr.
83990         * string/test-rawmemchr.c: New file.
83992         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83994         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83995         when compiling str{,n}casecmp and when AVX is available.  Hook up
83996         new optimized code in initializers.
83998 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84000         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84001         __feraiseexcept instead of feraiseexcept.
84003 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84005         * math/math_private.h: Define defaults for libc_fetestexcept and
84006         libc_feupdateenv.
84007         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84008         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84009         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84010         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84011         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84012         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84013         libc_fetestexcept and libc_feupdateenv.
84015         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84016         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84017         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84018         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84019         libc_feholdexcept_setround.
84021         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84022         Add s_nearbyint-c and s_nearbyintf-c.
84023         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84024         nearbyintf inlines.
84025         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84026         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84027         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84028         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84030         * math/math_private.h: Define defaults for libc_fegetround,
84031         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84032         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84033         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84034         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84035         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84036         standard functions.
84037         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84038         Remove comments and hacks for old compiler versions.
84039         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84040         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84041         libc_feholdexceptl.
84043 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84045         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84046         (__feraiseexcept_renamed): Add __NTH.
84047         (feraiseexcept): Add __NTH.  Rename local variables to fix
84048         namespace violations.
84050 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84052         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84054         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84056         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84057         recently added interfaces.
84058         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84060         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84061         about macro parameter expansion.
84063         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84064         __NO_MATH_INLINES is defined.  Cleanups.
84066         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84067         and __floorf is target has SSE4.1.
84068         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84069         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84070         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84071         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84073         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84074         name.
84075         (floorf): Likewise.
84077         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84079 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84081         * misc/sys/cdefs.h: Fix last change.
84083         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84084         database lookup.
84086 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84088         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84090         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84091         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84092         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84093         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84094         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84095         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84096         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84097         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84098         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84099         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84100         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84101         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84102         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84103         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84104         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84105         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84106         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84107         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84108         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84109         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84110         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84111         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84113         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84114         ceil, ceilf, floor, floorf.
84116         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84117         Perform IRELATIVE relocations last.
84119         * elf/do-rel.h: Add another parameter nrelative, replacing the
84120         local variable with the same name.  Change name of the function
84121         to end in Rel or Rela (uppercase).
84122         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84123         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84124         elf_dynamic_do_##reloc function.
84126 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84128         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84129         is sufficient, at least on modern CPUs.
84131         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84133         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84134         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84136         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84137         __expl_finite.
84138         * math/bits/math-finite.h: Add entries for exp.
84139         * math/e_expl.c: Add __*_finite alias.
84140         * sysdeps/i386/fpu/e_exp.S: Likewise.
84141         * sysdeps/i386/fpu/e_expf.S: Likewise.
84142         * sysdeps/i386/fpu/e_expl.c: Likewise.
84143         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84144         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84145         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84147         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84148         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84149         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84151         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84152         is sufficient, at least on modern CPUs.
84154         * ctype/ctype-info.c (__ctype_init): Define.
84155         * include/ctype.h (__ctype_init): Declare.
84156         (__ctype_b_loc): The variable is always initialized.
84157         (__ctype_toupper_loc): Likewise.
84158         (__ctype_tolower_loc): Likewise.
84159         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84160         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84162 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84164         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84166         * configure.in: Also look in $cxxmachine/include for C++ system
84167         headers.
84169 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84171         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84172         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84173         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84174         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84175         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84176         (USE_AS_WMEMCMP): New macro.
84177         Fixing indents.
84178         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84179         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84180         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84181         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84183         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84184         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84185         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84186         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84187         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84188         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84189         (USE_AS_WMEMCMP): New macro.
84190         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84191         * sysdeps/string/test-memcmp.c: Update.
84192         Fix simple_wmemcmp.
84193         Add new tests.
84194         * wcsmbs/wmemcmp.c: Update.
84195         (WMEMCMP): New macro.
84196         Fix overflow bug.
84198 2011-10-12  Andreas Jaeger  <aj@suse.de>
84200         [BZ #13268]
84201         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84203 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84205         * libio/iofwide.c (do_length): Avoid warning.
84207         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84209 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84211         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84213         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84214         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84215         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84216         * sysdeps/i386/i686/fpu/e_log.S: New file.
84217         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84218         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84220         * ctype/ctype.h: Add support for inlined isXXX functions when
84221         compiling C++ code.
84223 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84225         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84227         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84229 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84231         [BZ #13291]
84232         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84234 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84236         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84237         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84238         feraiseexcept.
84240         * sysdeps/x86_64/memrchr.S: Check for zero size.
84242         * string/stratcliff.c: Add memrchr tests.
84244 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84246         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84247         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84248         rawmemchr-sse2 rawmemchr-sse2-bsf.
84249         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84250         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84251         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84252         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84253         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84254         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84255         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84256         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84257         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84258         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84259         * string/memrchr.c (MEMRCHR): New macro.
84261 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84263         Add integration with gcc's -ffinite-math-only and optimize wrapper
84264         functions in libm.
84265         * Versions.def: Define GLIBC_2.15 version for libm.
84266         * math/Makefile (headers): Add bits/math-finite.h.
84267         * math/bits/math-finite.h: New file.
84268         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84269         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84270         * math/e_acoshl.c: Add __*_finite alias.
84271         * math/e_acosl.c: Likewise.
84272         * math/e_asinl.c: Likewise.
84273         * math/e_atan2l.c: Likewise.
84274         * math/e_atanhl.c: Likewise.
84275         * math/e_coshl.c: Likewise.
84276         * math/e_exp10.c: Likewise.
84277         * math/e_exp10f.c: Likewise.
84278         * math/e_exp10l.c: Likewise.
84279         * math/e_exp2l.c: Likewise.
84280         * math/e_fmodl.c: Likewise.
84281         * math/e_gammal_r.c: Likewise.
84282         * math/e_hypotl.c: Likewise.
84283         * math/e_j0l.c: Likewise.
84284         * math/e_j1l.c: Likewise.
84285         * math/e_jnl.c: Likewise.
84286         * math/e_lgammal_r.c: Likewise.
84287         * math/e_log10l.c: Likewise.
84288         * math/e_log2l.c: Likewise.
84289         * math/e_logl.c: Likewise.
84290         * math/e_powl.c: Likewise.
84291         * math/e_sinhl.c: Likewise.
84292         * math/e_sqrtl.c: Likewise.
84293         * math/e_scalb.c: Completely rewritten and optimized.
84294         * math/e_scalbf.c: Likewise.
84295         * math/e_scalbl.c: Likewise.
84296         * math/w_acos.c: Likewise.
84297         * math/w_acosf.c: Likewise.
84298         * math/w_acosl.c: Likewise.
84299         * math/w_acosh.c: Likewise.
84300         * math/w_acoshf.c: Likewise.
84301         * math/w_acoshl.c: Likewise.
84302         * math/w_asin.c: Likewise.
84303         * math/w_asinf.c: Likewise.
84304         * math/w_asinl.c: Likewise.
84305         * math/w_atan2.c: Likewise.
84306         * math/w_atan2f.c: Likewise.
84307         * math/w_atan2l.c: Likewise.
84308         * math/w_atanh.c: Likewise.
84309         * math/w_atanhf.c: Likewise.
84310         * math/w_atanhl.c: Likewise.
84311         * math/w_exp10.c: Likewise.
84312         * math/w_exp10f.c: Likewise.
84313         * math/w_exp10l.c: Likewise.
84314         * math/w_fmod.c: Likewise.
84315         * math/w_fmodf.c: Likewise.
84316         * math/w_fmodl.c: Likewise.
84317         * math/w_j0.c: Likewise.
84318         * math/w_j0f.c: Likewise.
84319         * math/w_j0l.c: Likewise.
84320         * math/w_j1.c: Likewise.
84321         * math/w_j1f.c: Likewise.
84322         * math/w_j1l.c: Likewise.
84323         * math/w_jn.c: Likewise.
84324         * math/w_jnf.c: Likewise.
84325         * math/w_log.c: Likewise.
84326         * math/w_logf.c: Likewise.
84327         * math/w_logl.c: Likewise.
84328         * math/w_log10.c: Likewise.
84329         * math/w_log10f.c: Likewise.
84330         * math/w_log10l.c: Likewise.
84331         * math/w_log2.c: Likewise.
84332         * math/w_log2f.c: Likewise.
84333         * math/w_log2l.c: Likewise.
84334         * math/w_pow.c: Likewise.
84335         * math/w_powf.c: Likewise.
84336         * math/w_powl.c: Likewise.
84337         * math/w_remainder.c: Likewise.
84338         * math/w_remainderf.c: Likewise.
84339         * math/w_remainderl.c: Likewise.
84340         * math/w_scalb.c: Likewise.
84341         * math/w_scalbf.c: Likewise.
84342         * math/w_scalbl.c: Likewise.
84343         * math/w_sqrt.c: Likewise.
84344         * math/w_sqrtf.c: Likewise.
84345         * math/w_sqrtl.c: Likewise.
84346         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84347         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84348         used.
84349         * math/math_private.h: Declare __kernel_standard_f.
84350         * math/w_cosh.c: Remove cruft and optimize a bit.
84351         * math/w_coshf.c: Likewise.
84352         * math/w_coshl.c: Likewise.
84353         * math/w_exp2.c: Likewise.
84354         * math/w_exp2f.c: Likewise.
84355         * math/w_exp2l.c: Likewise.
84356         * math/w_hypot.c: Likewise.
84357         * math/w_hypotf.c: Likewise.
84358         * math/w_hypotl.c: Likewise.
84359         * math/w_lgamma.c: Likewise.
84360         * math/w_lgamma_r.c: Likewise.
84361         * math/w_lgammaf.c: Likewise.
84362         * math/w_lgammaf_r.c: Likewise.
84363         * math/w_lgammal.c: Likewise.
84364         * math/w_lgammal_r.c: Likewise.
84365         * math/w_sinh.c: Likewise.
84366         * math/w_sinhf.c: Likewise.
84367         * math/w_sinhl.c: Likewise.
84368         * math/w_tgamma.c: Likewise.
84369         * math/w_tgammaf.c: Likewise.
84370         * math/w_tgammal.c: Likewise.
84371         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84373         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84374         Minor optimizations.  Pretty printing.  Remove cruft.
84375         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84377         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84378         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84379         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84380         * sysdeps/i386/fpu/e_asin.S: Likewise.
84381         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84382         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84383         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84384         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84385         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84386         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84387         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84388         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84389         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84390         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84391         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84392         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84393         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84394         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84395         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84396         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84397         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84398         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84399         * sysdeps/i386/fpu/e_log.S: Likewise.
84400         * sysdeps/i386/fpu/e_log10.S: Likewise.
84401         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84402         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84403         * sysdeps/i386/fpu/e_log2.S: Likewise.
84404         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84405         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84406         * sysdeps/i386/fpu/e_logf.S: Likewise.
84407         * sysdeps/i386/fpu/e_logl.S: Likewise.
84408         * sysdeps/i386/fpu/e_pow.S: Likewise.
84409         * sysdeps/i386/fpu/e_powf.S: Likewise.
84410         * sysdeps/i386/fpu/e_powl.S: Likewise.
84411         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84412         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84413         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84414         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84415         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84416         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84417         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84418         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84419         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84420         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84421         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84423         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84424         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84425         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84426         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84427         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84428         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84429         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84430         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84431         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84432         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84433         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84434         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84435         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84436         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84437         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84438         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84440         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84441         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84442         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84443         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84444         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84445         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84446         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84447         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84448         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84449         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84450         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84451         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84452         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84453         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84454         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84455         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84456         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84457         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84458         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84459         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84460         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84461         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84462         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84463         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84464         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84465         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84466         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84467         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84468         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84469         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84470         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84471         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84472         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84473         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84474         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84475         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84476         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84477         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84478         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84479         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84480         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84484         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84485         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84486         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84487         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84488         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84490         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84492         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84493         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84494         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84496         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84497         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84498         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84499         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84500         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84501         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84502         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84503         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84505         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84506         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84507         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84508         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84509         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84510         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84511         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84512         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84513         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84514         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84515         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84516         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84517         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84518         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84519         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84520         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84521         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84522         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84523         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84524         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84525         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84526         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84527         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84528         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84529         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84530         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84531         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84532         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84533         (__isnanf): Likewise.
84534         (__isinf_ns): Likewise.
84535         (__isinf_nsf): Likewise.
84536         (__finite): Likewise.
84537         (__finitef): Likewise.
84538         (__ieee754_sqrt): Define as macro.
84539         (__ieee754_sqrtf): Define as macro.
84540         (__ieee754_sqrtl): Define as macro.
84541         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84542         inlined copy.
84543         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84544         __FINITE_MATH_ONLY__ consistent.
84545         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84547 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84549         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84550         of rawmemchr.
84552         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84554 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84556         * po/ja.po: Update from translation team.
84558 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84560         * locale/programs/locarchive.c (prepare_address_space): New function.
84561         (create_archive, enlarge_archive, open_archive): Use it.
84563         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84564         inside [SHARED], where it is used.
84566         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84568         * nss/getent.c (netgroup_keys): Remove unused variable.
84569         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84571 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84573         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84574         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84575         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84577         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84578         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84579         * math/Makefile (libm-calls): Add s_isinf_ns.
84580         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84581         * math/multc3.c: Likewise.
84582         * math/s_casin.c: Likewise.
84583         * math/s_casinf.c: Likewise.
84584         * math/s_casinl.c: Likewise.
84585         * math/s_ccos.c: Likewise.
84586         * math/s_ccosf.c: Likewise.
84587         * math/s_ccosl.c: Likewise.
84588         * math/s_ctan.c: Likewise.
84589         * math/s_ctanf.c: Likewise.
84590         * math/s_ctanh.c: Likewise.
84591         * math/s_ctanhf.c: Likewise.
84592         * math/s_ctanhl.c: Likewise.
84593         * math/s_ctanl.c: Likewise.
84594         * math/w_fmod.c: Likewise.
84595         * math/w_fmodf.c: Likewise.
84596         * math/w_fmodl.c: Likewise.
84597         * math/w_remainder.c: Likewise.
84598         * math/w_remainderf.c: Likewise.
84599         * math/w_remainderl.c: Likewise.
84600         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84601         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84602         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84604         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84605         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84606         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84607         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84609         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84610         of the number.
84611         * stdio-common/printf_fphex.c: Likewise.
84612         * stdio-common/printf_size.c: Likewise.
84614         * math/e_exp10.c: Include math_private.h using <...> not "...".
84615         * math/e_exp10f.c: Likewise.
84616         * math/e_exp10l.c: Likewise.
84617         * math/e_exp2l.c: Likewise.
84618         * math/e_j0l.c: Likewise.
84619         * math/e_j1l.c: Likewise.
84620         * math/e_jnl.c: Likewise.
84621         * math/e_lgammal_r.c: Likewise.
84622         * math/e_rem_pio2l.c: Likewise.
84623         * math/e_scalb.c: Likewise.
84624         * math/e_scalbf.c: Likewise.
84625         * math/e_scalbl.c: Likewise.
84626         * math/k_cosl.c: Likewise.
84627         * math/k_sinl.c: Likewise.
84628         * math/k_tanl.c: Likewise.
84629         * math/s_cacoshf.c: Likewise.
84630         * math/s_catan.c: Likewise.
84631         * math/s_catanf.c: Likewise.
84632         * math/s_catanh.c: Likewise.
84633         * math/s_catanhf.c: Likewise.
84634         * math/s_catanhl.c: Likewise.
84635         * math/s_catanl.c: Likewise.
84636         * math/s_ccosh.c: Likewise.
84637         * math/s_ccoshf.c: Likewise.
84638         * math/s_ccoshl.c: Likewise.
84639         * math/s_cexp.c: Likewise.
84640         * math/s_cexpf.c: Likewise.
84641         * math/s_cexpl.c: Likewise.
84642         * math/s_clog.c: Likewise.
84643         * math/s_clog10.c: Likewise.
84644         * math/s_clog10f.c: Likewise.
84645         * math/s_clog10l.c: Likewise.
84646         * math/s_clogf.c: Likewise.
84647         * math/s_clogl.c: Likewise.
84648         * math/s_csin.c: Likewise.
84649         * math/s_csinf.c: Likewise.
84650         * math/s_csinh.c: Likewise.
84651         * math/s_csinhf.c: Likewise.
84652         * math/s_csinhl.c: Likewise.
84653         * math/s_csinl.c: Likewise.
84654         * math/s_csqrt.c: Likewise.
84655         * math/s_csqrtf.c: Likewise.
84656         * math/s_csqrtl.c: Likewise.
84657         * math/s_ctan.c: Likewise.
84658         * math/s_ctanf.c: Likewise.
84659         * math/s_ctanh.c: Likewise.
84660         * math/s_ctanhf.c: Likewise.
84661         * math/s_ctanhl.c: Likewise.
84662         * math/s_ctanl.c: Likewise.
84663         * math/s_ldexp.c: Likewise.
84664         * math/s_ldexpf.c: Likewise.
84665         * math/s_ldexpl.c: Likewise.
84666         * math/s_significand.c: Likewise.
84667         * math/s_significandf.c: Likewise.
84668         * math/s_significandl.c: Likewise.
84669         * math/w_acos.c: Likewise.
84670         * math/w_acosf.c: Likewise.
84671         * math/w_acosh.c: Likewise.
84672         * math/w_acoshf.c: Likewise.
84673         * math/w_acoshl.c: Likewise.
84674         * math/w_acosl.c: Likewise.
84675         * math/w_asin.c: Likewise.
84676         * math/w_asinf.c: Likewise.
84677         * math/w_asinl.c: Likewise.
84678         * math/w_atan2.c: Likewise.
84679         * math/w_atan2f.c: Likewise.
84680         * math/w_atan2l.c: Likewise.
84681         * math/w_atanh.c: Likewise.
84682         * math/w_atanhf.c: Likewise.
84683         * math/w_atanhl.c: Likewise.
84684         * math/w_cosh.c: Likewise.
84685         * math/w_coshf.c: Likewise.
84686         * math/w_coshl.c: Likewise.
84687         * math/w_dremf.c: Likewise.
84688         * math/w_exp10.c: Likewise.
84689         * math/w_exp10f.c: Likewise.
84690         * math/w_exp10l.c: Likewise.
84691         * math/w_exp2.c: Likewise.
84692         * math/w_exp2f.c: Likewise.
84693         * math/w_fmod.c: Likewise.
84694         * math/w_fmodf.c: Likewise.
84695         * math/w_fmodl.c: Likewise.
84696         * math/w_hypot.c: Likewise.
84697         * math/w_hypotf.c: Likewise.
84698         * math/w_hypotl.c: Likewise.
84699         * math/w_j0.c: Likewise.
84700         * math/w_j0f.c: Likewise.
84701         * math/w_j0l.c: Likewise.
84702         * math/w_j1.c: Likewise.
84703         * math/w_j1f.c: Likewise.
84704         * math/w_j1l.c: Likewise.
84705         * math/w_jn.c: Likewise.
84706         * math/w_jnf.c: Likewise.
84707         * math/w_jnl.c: Likewise.
84708         * math/w_lgamma.c: Likewise.
84709         * math/w_lgamma_r.c: Likewise.
84710         * math/w_lgammaf.c: Likewise.
84711         * math/w_lgammaf_r.c: Likewise.
84712         * math/w_lgammal.c: Likewise.
84713         * math/w_lgammal_r.c: Likewise.
84714         * math/w_log.c: Likewise.
84715         * math/w_log10.c: Likewise.
84716         * math/w_log10f.c: Likewise.
84717         * math/w_log10l.c: Likewise.
84718         * math/w_log2.c: Likewise.
84719         * math/w_log2f.c: Likewise.
84720         * math/w_log2l.c: Likewise.
84721         * math/w_logf.c: Likewise.
84722         * math/w_logl.c: Likewise.
84723         * math/w_pow.c: Likewise.
84724         * math/w_powf.c: Likewise.
84725         * math/w_powl.c: Likewise.
84726         * math/w_remainder.c: Likewise.
84727         * math/w_remainderf.c: Likewise.
84728         * math/w_remainderl.c: Likewise.
84729         * math/w_scalb.c: Likewise.
84730         * math/w_scalbf.c: Likewise.
84731         * math/w_scalbl.c: Likewise.
84732         * math/w_sinh.c: Likewise.
84733         * math/w_sinhf.c: Likewise.
84734         * math/w_sinhl.c: Likewise.
84735         * math/w_sqrt.c: Likewise.
84736         * math/w_sqrtf.c: Likewise.
84737         * math/w_sqrtl.c: Likewise.
84738         * math/w_tgamma.c: Likewise.
84739         * math/w_tgammaf.c: Likewise.
84740         * math/w_tgammal.c: Likewise.
84742         * po/ja.po: Update from translation team.
84744 2011-09-29  Andreas Jaeger  <aj@suse.de>
84746         [BZ #13179]
84747         * sunrpc/netname.c (netname2host): Fix logic.
84749         [BZ #6779]
84750         [BZ #6783]
84751         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84752         correctly.
84753         * math/w_remainder.c (__remainder): Likewise.
84754         * math/w_remainderf.c (__remainderf): Likewise.
84755         * math/libm-test.inc (remainder_test): Add test cases.
84757 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84759         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84760         sdiv_qrnnd.
84762 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84764         * string/test-memcmp.c: Avoid unncessary #defines.
84765         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84767 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84769         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84770         Use new sse2 version for core i3 - i7 as it's faster
84771         than sse42 version.
84772         (bit_Prefer_PMINUB_for_stringop): New.
84773         * sysdeps/x86_64/rawmemchr.S: Update.
84774         Replace with faster SSE2 version.
84775         * sysdeps/x86_64/memrchr.S: New file.
84776         * sysdeps/x86_64/memchr.S: Update.
84777         Replace with faster SSE2 version.
84779 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84781         * elf/dl-load.c (lose): Add cast to avoid warning.
84783 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84785         * po/ca.po: Update from translation team.
84787         * inet/getnetgrent_r.c: Hook up nscd.
84788         * nscd/Makefile (routines): Add nscd_netgroup.
84789         (nscd-modules): Add netgroupcache.
84790         (CFLAGS-netgroupcache.c): Define.
84791         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84792         (cache_search): Add const to second parameter.
84793         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84794         INNETGR.
84795         (dbs): Add netgrdb entry.
84796         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84797         (verify_persistent_db): Handle netgrdb.
84798         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84799         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84800         GETFDNETGR.
84801         (netgroup_response_header): Define.
84802         (innetgroup_response_header): Define.
84803         (datahead): Add netgroup_response_header and innetgroup_response_header
84804         elements.
84805         * nscd/nscd.conf: Add entries for netgroup cache.
84806         * nscd/nscd.h (dbtype): Add netgrdb.
84807         (_PATH_NSCD_NETGROUP_DB): Define.
84808         (netgroup_iov_disabled): Declare.
84809         (xmalloc, xcalloc, xrealloc): Move declarations here.
84810         (cache_search): Adjust prototype.
84811         Add netgroup-related prototypes.
84812         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84813         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84814         (__nscd_innetgr): Declare.
84815         * nscd/selinux.c (perms): Use access_vector_t as element type and
84816         add netgroup-related initializers.
84817         * nscd/netgroupcache.c: New file.
84818         * nscd/nscd_netgroup.c: New file.
84819         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84820         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84821         For four parameters use innetgr.
84822         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84823         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84824         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84825         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84827         * nscd/connections.c (register_traced_file): Don't register file
84828         for disabled databases.
84830 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84832         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84834         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84835         from tree and freeing node.
84837 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84839         * nss/nsswitch.c (__nss_database_lookup): Handle
84840         nss_parse_service_list out of memory case.
84842 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84844         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84845         out of memory case.
84847 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84849         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84850         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84851         pass it down.
84852         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84853         elf_machine_rela, elf_machine_lazy_rel.
84854         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84855         (ELF_DYNAMIC_DO_REL): Likewise.
84856         (ELF_DYNAMIC_DO_RELA): Likewise.
84857         (ELF_DYNAMIC_RELOCATE): Likewise.
84858         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84859         to ELF_DYNAMIC_DO_REL.
84860         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84861         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84862         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84863         elf_machine_rela.
84864         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84865         skip_ifunc, don't call ifunc function if non-zero.
84866         (elf_machine_rela): Likewise.
84867         (elf_machine_lazy_rel): Likewise.
84868         (elf_machine_lazy_rela): Likewise.
84869         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84870         (elf_machine_lazy_rel): Likewise.
84871         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84872         Likewise.
84873         (elf_machine_lazy_rel): Likewise.
84874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84875         Likewise.
84876         (elf_machine_lazy_rel): Likewise.
84877         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84878         (elf_machine_lazy_rel): Likewise.
84879         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84880         (elf_machine_lazy_rel): Likewise.
84881         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84882         (elf_machine_lazy_rel): Likewise.
84883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84884         (elf_machine_lazy_rel): Likewise.
84885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84886         (elf_machine_lazy_rel): Likewise.
84887         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84888         (elf_machine_lazy_rel): Likewise.
84890 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84892         * nss/nss_files/files-init.c (_nss_files_init): Use static
84893         initialization for all the *_traced_file variables.
84895 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84897         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84899 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84901         [BZ #13226]
84902         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84904 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84906         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84907         Reread the line before reparsing it.
84909 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84911         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84913 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84914             Maxim Kuvyrkov  <maxim@codesourcery.com>
84915             Joseph Myers  <joseph@codesourcery.com>
84917         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84918         if needed for __stack_chk_guard.
84920 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84922         * sysdeps/posix/spawni.c (script_execute): Always define it.
84923         It will be optimized away if unused.
84924         (maybe_script_execute): New function.
84925         (__spawni): Call it.
84927         * Makerules: Don't include tls.make.
84928         (config-tls): Always set to thread.
84929         * tls.make.c: File removed.
84931 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84933         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84934         * config.make.in (CPPFLAGS-config): New substituted variable.
84936 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84938         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84940         [BZ #13192]
84941         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84942         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84944 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84946         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84947         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84948         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84949         (CALL_FAIL): Likewise.
84950         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84951         (CALL_FAIL): Macro removed.
84952         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84954 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84956         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84957         for __FINITE_MATH_ONLY__ == 1.
84959 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84961         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84962         __ieee754_sqrt instead of sqrt.
84963         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84964         __ieee754_sqrtf instead of sqrtf.
84965         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84966         __floorf instead of floorf.
84967         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84968         __floorf, __truncf instead of floorf, truncf.
84970 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84972         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84974         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84975         __extern_always_inline.
84976         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84977         32-bit.
84979 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84981         * elf/rtld.c (dl_main): Also relocate in dependency order when
84982         doing symbol dependency testing.
84984 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84986         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84987         Always define `refsym'.
84989 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84991         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84992         (__FD_ELT): Renamed from __FDELT.
84993         * misc/bits/select2.h (__FD_ELT): Likewise.
84994         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84995         __FD_MASK instead of __FDELT, __FDMASK.
84996         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84997         Likewise.
84998         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84999         Likewise.
85001         * elf/Makefile (gen-ldd): Fix pattern.
85003         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85004         (init_tls): Likewise.
85006 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85008         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85010 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85012         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85013         `struct cmsghdr *' instead of `void *'.
85014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85015         Likewise.
85017 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85019         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85020         if non-absolute.
85021         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85022         ldd_rewrite_script.
85024 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85026         * configure.in: Remove --with-tls option.
85027         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85028         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85029         out in case it is missing.
85030         * sysdeps/ia64/elf/configure.in: Likewise.
85031         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85032         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85033         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85034         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85035         * sysdeps/sh/elf/configure.in: Likewise.
85036         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85037         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85038         * sysdeps/x86_64/elf/configure.in: Likewise.
85039         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85040         * sysdeps/mach/hurd/tls.h: Likewise.
85042         [BZ #13067]
85043         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85045         [BZ #13090]
85046         * configure.in: Fix use of AC_INIT.
85048         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85050 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85052         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85053         __set_errno.
85054         * malloc/hooks.c: Likewise.
85056         [BZ #11929]
85057         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85058         variables statically.
85059         (narenas): Initialize.
85060         (list_lock): Initialize.
85061         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85062         initializtion of main_arena and list_lock.  Small cleanups.
85063         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85064         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85065         Add initializers to main_arena and mp_.
85066         (malloc_state): Remove pagesize member.  Change all users to use
85067         GLRO(dl_pagesize).
85069         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85070         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85071         is always initialized.
85073         * malloc/malloc.c: Removed unused configurations and dead code.
85074         * malloc/arena.c: Likewise.
85075         * malloc/hooks.c: Likewise.
85076         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85078         * include/tls.h: Removed.  USE___THREAD must always be defined.
85079         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85080         * elf/dl-libc.c: Likewise.
85081         * elf/dl-tsd.c: Likewise.
85082         * include/errno.h: Likewise.
85083         * include/netdb.h: Likewise.
85084         * include/resolv.h: Likewise.
85085         * inet/herrno-loc.c: Likewise.
85086         * inet/herrno.c: Likewise.
85087         * malloc/arena.c: Likewise.
85088         * malloc/hooks.c: Likewise.
85089         * malloc/malloc.c: Likewise.
85090         * resolv/res-state.c: Likewise.
85091         * resolv/res_libc.c: Likewise.
85092         * sysdeps/i386/dl-machine.h: Likewise.
85093         * sysdeps/ia64/dl-machine.h: Likewise.
85094         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85095         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85096         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85097         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85098         * sysdeps/sh/dl-machine.h: Likewise.
85099         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85100         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85101         * sysdeps/unix/i386/sysdep.S: Likewise.
85102         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85103         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85108         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85112         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85113         * sysdeps/x86_64/dl-machine.h: Likewise.
85114         * tls.make.c: Likewise.
85116         * configure.in: Remove --with-__thread option.  Make tests for
85117         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85118         tls_model attribute fail if no support is available.  Remove
85119         USE_IN_LIBIO.
85120         * Makeconfig: Adjust for dropped configure option.  All features are
85121         now mandatory.
85122         * Makerules: Likewise.
85123         * Versions.def: Likewise.
85124         * argp/argp-fmtstream.c: Likewise.
85125         * argp/argp-fmtstream.h: Likewise.
85126         * argp/argp-help.c: Likewise.
85127         * assert/assert.c: Likewise.
85128         * config.h.in: Likewise.
85129         * config.make.in: Likewise.
85130         * configure: Likewise.
85131         * configure.in: Likewise.
85132         * csu/Versions: Likewise.
85133         * csu/init.c: Likewise.
85134         * elf/tst-audit2.c: Likewise.
85135         * elf/tst-tls10.c: Likewise.
85136         * elf/tst-tls10.h: Likewise.
85137         * elf/tst-tls11.c: Likewise.
85138         * elf/tst-tls12.c: Likewise.
85139         * elf/tst-tls14.c: Likewise.
85140         * elf/tst-tlsmod11.c: Likewise.
85141         * elf/tst-tlsmod12.c: Likewise.
85142         * elf/tst-tlsmod13.c: Likewise.
85143         * elf/tst-tlsmod13a.c: Likewise.
85144         * elf/tst-tlsmod14a.c: Likewise.
85145         * elf/tst-tlsmod15b.c: Likewise.
85146         * elf/tst-tlsmod16a.c: Likewise.
85147         * elf/tst-tlsmod16b.c: Likewise.
85148         * elf/tst-tlsmod7.c: Likewise.
85149         * elf/tst-tlsmod8.c: Likewise.
85150         * elf/tst-tlsmod9.c: Likewise.
85151         * gmon/gmon.c: Likewise.
85152         * grp/fgetgrent_r.c: Likewise.
85153         * grp/putgrent.c: Likewise.
85154         * hurd/fopenport.c: Likewise.
85155         * include/libc-symbols.h: Likewise.
85156         * include/tls.h: Likewise.
85157         * intl/gettextP.h: Likewise.
85158         * intl/loadinfo.h: Likewise.
85159         * locale/global-locale.c: Likewise.
85160         * locale/localeinfo.h: Likewise.
85161         * mach/devstream.c: Likewise.
85162         * malloc/arena.c: Likewise.
85163         * malloc/set-freeres.c: Likewise.
85164         * misc/err.c: Likewise.
85165         * misc/getttyent.c: Likewise.
85166         * misc/mntent_r.c: Likewise.
85167         * posix/getopt.c: Likewise.
85168         * posix/wordexp.c: Likewise.
85169         * pwd/fgetpwent_r.c: Likewise.
85170         * resolv/Versions: Likewise.
85171         * resolv/res_hconf.c: Likewise.
85172         * shadow/fgetspent_r.c: Likewise.
85173         * shadow/putspent.c: Likewise.
85174         * stdio-common/printf_fphex.c: Likewise.
85175         * stdio-common/tmpfile.c: Likewise.
85176         * stdlib/abort.c: Likewise.
85177         * stdlib/fmtmsg.c: Likewise.
85178         * sunrpc/auth_unix.c: Likewise.
85179         * sunrpc/clnt_perr.c: Likewise.
85180         * sunrpc/clnt_tcp.c: Likewise.
85181         * sunrpc/clnt_udp.c: Likewise.
85182         * sunrpc/clnt_unix.c: Likewise.
85183         * sunrpc/openchild.c: Likewise.
85184         * sunrpc/svc_simple.c: Likewise.
85185         * sunrpc/svc_tcp.c: Likewise.
85186         * sunrpc/svc_udp.c: Likewise.
85187         * sunrpc/svc_unix.c: Likewise.
85188         * sunrpc/xdr.c: Likewise.
85189         * sunrpc/xdr_array.c: Likewise.
85190         * sunrpc/xdr_rec.c: Likewise.
85191         * sunrpc/xdr_ref.c: Likewise.
85192         * sunrpc/xdr_stdio.c: Likewise.
85194 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85196         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85198 2011-07-03  Andreas Jaeger  <aj@suse.de>
85200         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85201         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85202         regenerate with gen-libm-tests.pl.
85204 2010-05-12  Petr Baudis  <pasky@suse.cz>
85206         [BZ #11589]
85207         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85208         around j0() zero points by switching to j1().
85209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85210         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85212         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85214 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85216         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85217         instead of 0.
85218         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85219         instead of 0.
85220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85221         Patch in part by Pavel Roskin <proski@gnu.org>.
85223         [BZ #13138]
85224         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85225         realloc.
85226         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85227         Free memory block if necessary.
85229         [BZ #12847]
85230         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85231         be NULL.  Don't lock in this case.
85233 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85235         * elf/elf.h (ELFOSABI_GNU): New macro.
85236         (ELFOSABI_LINUX): Define to that.
85238 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85240         * string/strncat.c (strncat): Undef the symbol in case it has been
85241         defined in bits/string.h.
85243 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85245         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85247         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85248         link map.
85250 2011-08-17  Andreas Jaeger  <aj@suse.de>
85252         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85254 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85255             Ian Lance Taylor  <iant@google.com>
85257         * math/libm-test.inc (lround_test): New testcase.
85258         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85260 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85262         * Makefile: Remove support for automatic cvs check-ins.
85263         * Makerules: Likewise.
85264         * config.make.in: Likewise.
85265         * configure.in: Likewise.
85266         * intl/Makefile: Likewise.
85267         * locale/Makefile: Likewise.
85268         * po/Makefile: Likewise.
85269         * posix/Makefile: Likewise.
85270         * sysdeps/gnu/Makefile: Likewise.
85271         * sysdeps/mach/hurd/Makefile: Likewise.
85272         * sysdeps/sparc/sparc32/Makefile: Likewise.
85274         [BZ #13118]
85275         * posix/Makefile (bug-regex32-ENV): Define.
85276         Patch by John Stanley <jpsinthemix@verizon.net>.
85278         * misc/Makefile (headers): Add bits/select2.h.
85279         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85280         * misc/bits/select2.h: New file.
85281         * include/bits/select2.h: New file.
85282         * debug/Makefile (routines): Add fdelt_chk.
85283         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85284         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85285         FD_ISSET.
85286         * debug/fdelt_chk.c: New file.
85288         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85289         * wcsmbs/test-wmemcmp.c: Likewise.
85290         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85291         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85293 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85295         * string/Makefile (strop-tests): Add memcmp.
85296         * string/test-wmemcmp.c: New file.
85297         * string/test-memcmp.c: Add wmemcmp support.
85299 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85301         [BZ #13153]
85302         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85303         2011-07-19 change.
85305         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85306         garbage value in a __mach_port_mod_refs call in the cases of the
85307         task-self and thread-self ports.
85309 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85311         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85313 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85315         * elf/dl-load.c (lose): Check for non-null L.
85317 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85319         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85321         * elf/dl-libc.c (dlerror_run): Pass back error code from
85322         dl_catch_error.
85324         [BZ #13123]
85325         * elf/dl-load.c (lose): Free l_origin if it is valid.
85327         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85328         names.
85329         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85330         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85332         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85333         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85334         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85336 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85338         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85339         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85340         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85341         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85342         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85343         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85344         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85345         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85346         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85347         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85349 2011-08-15  Alan Modra  <amodra@gmail.com>
85351         [BZ #13092]
85352         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85353         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85354         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85355         ppc_mcount to static-only-routines.
85356         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85357         __mcount_internal.
85358         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85359         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85361 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85363         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85364         for finite and infinity parameters.
85366 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85368         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85369         and add nop instructions for throughput optimization.
85370         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85372 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85374         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85375         aligned copy for power7 with vector-scalar instructions.
85376         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85378 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85381         AVX check.
85383 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85385         [BZ #13144]
85386         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85387         last change.
85389 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85391         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85392         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85393         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85394         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85395         clock_gettime.
85397 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85400         Forgot to demangle the pointer.
85402         * sysdeps/i386/sysdep.h: Define atom_text_section.
85403         * sysdeps/x86_64/sysdep.h: Likewise.
85404         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85405         section with atom_text_section.
85406         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85407         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85408         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85409         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85410         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85412         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85413         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85414         already be defined.  Change to take two parameters and don't assign
85415         result to variable.  Adjust all users.
85416         Define INTERNAL_GETTIME if not already defined.
85417         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85418         call.
85419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85420         HAVE_CLOCK_GETTIME_VSYSCALL.
85421         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85424         gettimeofday vsyscall, just use time.
85426 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85429         <errno.h>.
85431 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85433         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85434         syscall on x86-64.
85435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85436         syscall.
85437         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85438         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85439         syscall if possible.
85441 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85443         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85444         e_ident.  Don't pass to find_mapsXX.
85445         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85447 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85450         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85451         * sysdeps/x86_64/multiarch/strchr.S: Update.
85452         Check bit_slow_BSF bit.
85453         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85454         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85455         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85457 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85459         [BZ #13134]
85460         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85461         before glibc 2.15.
85462         (tryshell): Define.
85463         (__spawni): Change last parameter to be flag.  Test
85464         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85465         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85466         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85467         * posix/spawni.c: Likewise.
85468         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85469         * posix/spawnp.c: Likewise.  Change normal version to use
85470         SPAWN_XFLAGS_USE_PATH.
85471         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85472         SPAWN_XFLAGS_TRY_SHELL.
85474         [BZ #13150]
85475         * posix/glob.h: Remove gcc 1.x support.
85477         [BZ #13068]
85478         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85480 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85483         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85484         strrchr-sse2-bsf
85485         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85486         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85487         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85488         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85489         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85490         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85492 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85494         * sysdeps/x86_64/wcscmp.S: New file.
85496         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85497         wcscmp-c wcscmp-sse2
85498         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85499         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85500         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85501         * wcsmbs/wcscmp.c: Allow renaming.
85503 2011-09-05  David S. Miller  <davem@davemloft.net>
85505         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85506         stack slot, rather than the struct return pointer slot.
85507         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85508         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85510         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85512 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85514         * po/ja.po: Update from translation team.
85516         [BZ #13144]
85517         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85518         kernel in 64-bit binaries.
85520 2011-09-01  David S. Miller  <davem@davemloft.net>
85522         * elf/elf.h (HWCAP_SPARC_*): Move to..
85523         * sysdeps/sparc/sysdep.h: this new file and add new values.
85524         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85525         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85526         _DL_HWCAP_COUNT to 24.
85527         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85528         entries.
85529         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85530         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85531         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85533         instead of magic constants.
85534         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85536 2011-08-31  David S. Miller  <davem@davemloft.net>
85538         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85540         Reimplement to do errno handling inline.
85541         (SYSCALL_ERROR_HANDLER): New macro.
85542         (__SYSCALL_STRING): Do not do errno handling in asm.
85543         (__CLONE_SYSCALL_STRING): Delete.
85544         (__INTERNAL_SYSCALL_STRING): Delete.
85545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85546         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85547         (PSEUDO): Reimplement to do errno handling inline.
85548         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85549         (SYSCALL_ERROR_HANDLER): New macro.
85550         (__SYSCALL_STRING): Do not do errno handling in asm.
85551         (__CLONE_SYSCALL_STRING): Delete.
85552         (__INTERNAL_SYSCALL_STRING): Delete.
85553         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85554         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85555         i386.
85556         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85557         (inline_syscall*): Add 'err' argument.
85558         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85559         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85560         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85561         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85563         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85564         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85566 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85568         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85570 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85572         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85573         directive.
85575 2011-08-24  David S. Miller  <davem@davemloft.net>
85577         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85579 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85581         * elf/Makefile: Add rules to build and run unload8 test.
85582         * elf/unload8.c: New file.
85583         * elf/unload8mod1.c: New file.
85584         * elf/unload8mod1x.c: New file.
85585         * elf/unload8mod2.c: New file.
85586         * elf/unload8mod3.c: New file.
85588         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85589         it wasn't used.
85591 2011-08-23  David S. Miller  <davem@davemloft.net>
85593         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85594         subtract stack bias.
85595         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85596         %sp not %fp in calculations.
85597         (_JMPBUF_UNWINDS_ADJ): Likewise.
85599         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85600         (aio_suspend): Call it to force an exception region around the
85601         AIO_MISC_WAIT() invocation.
85603 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85605         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85606         backslash.
85608 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85610         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85611         protection macro.
85612         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85613         and <dl-machine.h>.
85614         (Elf64_FuncDesc): Remove.
85616 2011-08-22  David S. Miller  <davem@davemloft.net>
85618         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85619         sigaltstack check, add missing cfi directives.
85620         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85621         missing cfi directives, and sigaltstack handling.
85623 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85625         [BZ #11724]
85626         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85627         object is seen twice.
85628         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85630         * elf/Makefile (distribute): Add tst-initorder2.c.
85631         (tests): Add tst-initorder2.
85632         (modules-names): Add tst-initorder2a tst-initorder2b
85633         tst-initorder2c tst-initorder2d.  Add rules to build them.
85634         ($(objpfx)tst-initorder2.out): New rule.
85635         * elf/tst-initorder2.c: New file.
85636         * elf/tst-initorder2.exp: New file.
85638 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85640         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85642         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85643         dependencies back to end of function.
85645         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85646         $(elfobjdir)/ld.so.
85648 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85650         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85651         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85652         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85653         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85654         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85655         of __vdso_gettimeofday.
85656         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85657         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85658         attribute_hidden.
85659         (_libc_vdso_platform_setup): Remove initialization of
85660         __vdso_gettimeofday and __vdso_time.
85662 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85664         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85665         and fgetc_unlocked.
85666         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85667         getc_unlocked.
85669         * elf/dl-open.c (add_to_global): Report additions to the global scope
85670         for LD_DEBUG=scopes.
85671         (dl_open_worker): Also print scope of newly loaded dependencies.
85672         (_dl_show_scope): Indicate if there is no scope.
85674         [BZ #13114]
85675         * stdio-common/Makefile (tests): Add bug24.
85676         * stdio-common/bug24.c: New file.
85678 2011-08-19  Andreas Jaeger  <aj@suse.de>
85680         [BZ #13114]
85681         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85682         non-existant file when using close-on-exec mode.
85684 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85687         the very first instruction.
85689         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85690         the CFI state in the end.
85691         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85692         inclusion of dl-trampoline.h.
85693         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85695 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85697         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85698         expectations for long double.
85700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85701         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85703 2011-08-14  David S. Miller  <davem@davemloft.net>
85705         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85706         artificual limit depends upon the system page size.
85708 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85710         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85711         * resolv/Makefile: Define CFLAGS-libresolv.
85713 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85715         * nss/makedb.c (compute_tables): Make variables used in nested
85716         function static.
85718 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85720         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85721         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85722         if buffer was too small.
85724         * elf/pldd.c (main): Attach to all threads in the process.
85725         Rewrite /proc handling to use *at functions.
85727 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85729         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85730         specifies first scope to show.
85731         (dl_open_worker): Update callers.  Move printing scope of new
85732         object to before the relocation.
85733         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85734         * sysdeps/generic/ldsodefs.h: Update declaration.
85736         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85737         string for the scope number.
85739 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85741         * nscd/servicescache.c (cache_addserv): Make sure written is always
85742         initialized.
85744 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85746         * sysdeps/i386/i486/bits/atomic.h
85747         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85748         statement expression, so as to suppress "set but not used" warning.
85749         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85751         * string/strncat.c (STRNCAT): Use prototype definition.
85753         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85754         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85755         -Iprograms here.
85756         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85757         (localedef-modules): Add localedef.
85758         (locale-modules): Add locale.
85760         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85761         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85762         to avoid a warning.
85764 2011-08-14  David S. Miller  <davem@davemloft.net>
85766         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85767         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85769 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85771         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85772         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85773         * elf/rtld.c (dl_main): Set l_name of vDSO.
85774         Call _dl_show_scope when DL_DEBUG_SCOPES.
85775         (process_dl_debug): Recognize scopes flag and also set it for all.
85776         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85777         Declare _dl_show_scope.
85779         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85780         (do_dlopen): Pass caller_dlopen to dl_open.
85781         (__libc_dlopen_mode): Initialize caller_dlopen.
85783         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85784         of libc.  Make tolower call locale-independent.  Optimize a bit by
85785         using isdigit instead of isalnum.
85786         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85788 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85790         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85791         was a dependency or dynamically loaded.
85793 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85795         * intl/l10nflist.c: Allow architecture-specific pop function.
85796         * sysdeps/x86_64/l10nflist.c: New file.
85798         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85799         classification.
85801 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85803         * include/dirent.h: Add libc_hidden_proto for scandirat and
85804         scandirat64.  Don't declare __scandirat64.
85805         * dirent/scandirat.c: Add libc_hidden_def.
85806         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85807         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85809 2011-08-10  David S. Miller  <davem@davemloft.net>
85811         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85812         enum.
85813         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85814         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85817 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85819         * Versions.def [libc]: Add GLIBC_2.15.
85820         * dirent/Makefile (routines): Add scandirat and scandirat64.
85821         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85822         GLIBC_2.15.
85823         * dirent/dirent.h: Declare scandirat and scandirat64.
85824         * dirent/scandirat.c: New file.
85825         * dirent/scandirat64.c: New file.
85826         * sysdeps/wordsize-64/scandirat.c: New file.
85827         * sysdeps/wordsize-64/scandirat64.c: New file.
85828         * dirent/opendir.c: Define opendirat.
85829         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85830         using scandirat.
85831         * dirent/scandir64.c: Adjust for scandir.c change.
85832         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85833         __scandirat64, and __scandir_cancel_handler.
85834         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85835         additional parameter and use openat instead of open (outside of ld.so).
85836         Add new __opendir as wrapper around __opendirat.
85837         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85838         here without requiring old scandirat implementation.
85840 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85842         * dirent/scandir.c (cancel_handler): Renamed to
85843         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85844         defined.  Adjust users.
85845         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85846         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85848 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85850         * string/test-string.h (IMPL): Use __STRING to expand name and then
85851         stringify it.
85853         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85854         of cleanups.
85856 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85858         * string/Makefile: Update.
85859         (strop-tests): Append strncat.
85860         * string/test-wcscmp.c: New file.
85861         New comprehensive test for wcscmp.
85862         * string/test-strcmp.c: Update.
85863         (WIDE): New define.
85865 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85867         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85868         line.
85870 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85873         encoding to ACE if AI_IDN.
85875 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85877         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85878         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85880 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85882         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85883         Fix overflow bug in strncat.
85884         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85886         * string/test-strncat.c: Update.
85887         Add new tests for checking overflow bugs.
85889 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85892         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85893         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85894         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85895         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85896         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85897         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85898         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85899         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85901         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85902         (USE_AS_STRCAT): Define.
85903         Add strcat and strncat support.
85904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85906 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85908         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85909         __n bigger than INT_MAX+1.
85910         (__strncmp_g): Likewise.
85912 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85914         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85915         * libio/stido.h: Likewise.
85917         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85918         (AF_NFC): Define.
85919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85920         (AF_NFC): Define.
85922         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85923         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85924         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85925         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85926         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85928         [BZ #13021]
85929         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85930         installed.
85932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85933         typo.
85934         (_dl_x86_64_save_sse): Likewise.
85936 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85939         OSXSAVE.
85940         (_dl_x86_64_save_sse): Likewise.
85942         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85944         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85946 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85949         change.
85950         (_dl_x86_64_save_sse): Use correct AVX check.
85952 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85954         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85955         bug in strncpy/strncat.
85956         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85958 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85960         * string/tester.c (test_strcat): Add tests for different alignments
85961         of source and destination.
85962         (test_strncat): Likewise.
85964 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85966         [BZ #12852]
85967         * posix/glob.c (glob): Check passed in values before using them in
85968         expressions to avoid some overflows.
85969         (glob_in_dir): Likewise.
85971         [BZ #13007]
85972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85973         check for AVX enablement so that we don't crash with old kernels and
85974         new hardware.
85975         * elf/tst-audit4.c: Add same checks here.
85976         * elf/tst-audit6.c: Likewise.
85978         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85980 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85982         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85984 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85986         * po/cs.po: Update from translation team.
85987         * po/bg.po: Likewise.
85989 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85991         * misc/sys/cdefs.h: Add support for const attribute.
85992         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85993         to gnu_dev_{major,minor,makedev} functions.
85995 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85997         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85999 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86001         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86002         strlen results.
86004 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86007         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86008         register in order to avoid conflicts with the soft frame pointer
86009         being held in r11 when necessary.
86010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86011         (INTERNAL_VSYSCALL_NCS): Likewise.
86013 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86015         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86016         * elf/dl-fini.c (_dl_fini): Adjust caller.
86017         * elf/dl-close.c (_dl_close_worker): Likewise.
86018         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86020 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86022         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86023         "aux_cache->nlibs < 0".
86025         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86026         in the reload-count case.
86028 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86031         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86032         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86033         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86034         * sysdeps/x86_64/multiarch/strcat.S: New file.
86035         * sysdeps/x86_64/multiarch/strncat.S: New file.
86036         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86037         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86038         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86039         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86040         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86041         (USE_AS_STRCAT): Define.
86042         Add strcat and strncat support.
86043         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86044         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86045         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86046         * string/strncat.c: Update.
86047         (USE_AS_STRNCAT): Define.
86048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86049         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86050         and i7.
86051         * sysdeps/x86_64/multiarch/init-arch.h
86052         (bit_Prefer_PMINUB_for_stringop): New.
86053         (index_Prefer_PMINUB_for_stringop): Likewise.
86054         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86055         bit_Prefer_PMINUB_for_stringop.
86057 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86059         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86060         buffer64.
86061         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86062         of casting of buffer.
86063         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86064         buffer32 and buffer64.
86065         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86066         writes instead of casting of buffer.
86067         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86068         buffer32.
86069         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86070         casting of buffer.
86072 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86074         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86076 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86078         * nscd/nscd.c (termination_handler): Don't do anything for a database
86079         if it has not yet been initialized.
86081 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86083         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86085 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86087         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86089 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86091         * po/nl.po: Update from translation team.
86092         * po/sv.po: Likewise.
86094 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86096         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86097         now disallowed by GCC.
86099         * configure.in (use-default-link): Default to yes if a test -shared
86100         link meets our qualifications.
86101         * configure: Regenerated.
86103         * config.make.in (output-format): New variable.
86104         * configure.in: Check for ld --print-output-format support.
86105         * configure: Regenerated.
86106         * Makerules ($(common-objpfx)format.lds)
86107         [$(output-format) != unknown]: Just use $(output-format),
86108         instead of the linker-script munging.
86110 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86112         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86113         of $(common-objpfx)shlib.lds.
86114         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86116         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86117         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86119         * configure.in (-z relro check): Adjust test code to add a large
86120         writable data section after it.
86121         * configure: Regenerated.
86123 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86125         * configure.in (-z relro check): Fix test code to make the variable
86126         truly const.
86127         * configure: Regenerated.
86129 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86131         * nscd/nscd.h (struct traced_file): Define.
86132         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86133         elements.  Add traced_files.
86134         (inotify_fd): Declare.
86135         (register_traced_file): Declare.
86136         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86137         (inotify_fd): Export.
86138         (resolv_conf_descr): Remove.
86139         (nscd_init): Move inotify descriptor creation to main.
86140         Don't register files for notification here.
86141         (register_traced_file): New function.
86142         (invalidate_cache): Don't use reset_res to determine whether to call
86143         res_init, go through the list of registered files.
86144         (main_loop_poll): The inotify descriptors are now stored in the
86145         structures for the traced files.
86146         (main_loop_epoll): Likewise.
86147         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86148         to __nss_disable_nscd.
86149         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86150         for a database anymore.  Check the records for all the registered
86151         files instead.
86152         * nss/Makefile (libnss_files-routines): Add files-init.
86153         (libnss_db-routines): Add db-init.
86154         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86155         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86156         * nss/nss_db/db-init.c: New file.
86157         * nss/nss_files/files-init.c: New file.
86158         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86159         __nss_lookup_function.
86160         (__nss_lookup_function): Call nss_load_library.
86161         (nss_load_all_libraries): New function.
86162         (__nss_disable_nscd): Take parameter with callback function for files
86163         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86164         used for the cached services.
86165         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86166         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86167         options for features to all the files in nscd.
86169         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86171 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86173         * csu/elf-init.c (__libc_csu_init): Comment typo.
86175 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86177         * po/pl.po: Update from translation team.
86178         * po/ja.po: Likewise.
86179         * po/ru.po: Likewise.
86180         * po/ko.po: Likewise.
86181         * po/fr.po: Likewise.
86183 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86185         * configure.in (.ctors/.dtors header and trailer check):
86186         Use an empirical test on a built program.
86187         * configure: Regenerated.
86189         * configure.in (-z relro check): Use an empirical test on a built DSO.
86190         Detect, but do not require, on ia64.
86191         * configure: Regenerated.
86193         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86194         Update tests that use readelf to use $READELF instead.
86195         * configure: Regenerated.
86197 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86199         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86200         if the result is not used.
86202 2011-07-05  Andreas Jaeger  <aj@suse.de>
86204         [BZ #9696]
86205         * stdlib/tst-strtod.c: Add testcase.
86207 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86209         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86210         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86211         The latter has a higher limit.  Take additional parameter to pass to
86212         the new function.
86213         (__pathconf): Pass file to __statfs_link_max.
86214         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86215         __statfs_link_max.
86216         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86217         __statfs_link_max.
86219         [BZ #12868]
86220         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86221         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86222         Handle Lustre.
86223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86224         (__statfs_filesize_max): Likewise.
86225         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86227 2011-07-05  Andreas Jaeger  <aj@suse.de>
86229         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86231 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86233         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86234         `status' variable.
86235         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86236         Likewise.
86238 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86240         * Makefile (strop-tests): Add strncat.
86241         * string/test-strncat.c: New file.
86243 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86245         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86247 2011-06-21  Andreas Jaeger  <aj@suse.de>
86249         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86250         Copy rule from iconvdata/Makefile.
86252 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86254         [BZ #12922]
86255         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86256         but no long options are defined, just return 'W'.
86258 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86260         [BZ #9696]
86261         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86263 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86265         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86266         netgroups to read.
86267         (innetgr): Likewise.
86269 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86271         * config.make.in (install_root): Default to $(DESTDIR).
86273 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86275         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86277 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86279         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86281         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86282         containing directory rather than embedding absolute directory names.
86284         * scripts/check-local-headers.sh: Rewritten using awk.
86285         Match by word, not by line.  Print error messages for matches.
86286         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86288         * Makerules [shlib-lds-flags empty]:
86289         ($(common-objpfx)libc_pic.opts): New target.
86290         ($(common-objpfx)libc_pic.os.clean): New target.
86291         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86293         * config.make.in (OBJCOPY): New variable.
86294         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86295         * configure: Regenerated.
86297         * config.make.in (use-default-link): New variable.
86298         * configure.in (use_default_link): Grok --with-default-link to set it.
86299         * configure: Regenerated.
86300         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86301         (shlib-lds, shlib-lds-flags): Define to empty.
86303         * Makerules (shlib-lds): New variable.
86304         (shlib-lds-flags): New variable.
86305         (build-shlib, build-moduile, build-module-asneeded): Use it.
86306         ($(common-objpfx)libc.so): Use $(shlib-lds).
86307         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86308         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86310         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86311         DT_FLAGS/DT_FLAGS_1 with zero flags.
86313         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86314         linker script munging.
86316 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86318         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86319         as 128-bit value.
86320         * crypt/sha512.c (sha512_process_block): Perform total addition using
86321         128-bit if possible.
86322         (__sha512_finish_ctx): Likewise.
86323         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86324         as 64-bit value.
86325         * crypt/sha256.c (SWAP64): Define.
86326         (sha256_process_block): Perform total addition using 64-bit if
86327         possible.
86328         (__sha256_finish_ctx): Likewise.
86330 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86332         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86333         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86334         * nscd/hstcache.c (cache_addhst): Likewise.
86335         * nscd/grpcache.c (cache_addgr): Likewise.
86336         * nscd/aicache.c (addhstaiX): Likewise.
86337         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86339 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86341         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86342         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86343         * nscd/hstcache.c (cache_addhst): Likewise.
86344         * nscd/grpcache.c (cache_addgr): Likewise.
86345         * nscd/aicache.c (addhstaiX): Likewise.
86347 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86349         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86350         domain only when needed.
86352 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86355         is always restored.
86357 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86359         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86360         are re-adding the entry.
86361         * nscd/servicescache.c (cache_addserv): Likewise.
86363 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86365         * sysdeps/generic/dl-irel.h: fix protection against multiple
86366         inclusions.
86367         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86369 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86371         [BZ #12935]
86372         * malloc/memusage.sh: Fix quoting in message.
86373         * debug/xtrace.sh: Likewise.
86375         * configure.in: Remove support for --experimental-malloc option, make
86376         it the default.
86377         * config.make.in: Likewise.
86378         * malloc/Makefile: Likewise.
86380 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86382         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86383         two-byte characters.
86385 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86387         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86388         AC_CACHE_CHECK invocation.
86389         * configure: Regenerated.
86391         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86393 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86395         [BZ #12350]
86396         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86397         bit from old_res_options.
86399         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86401         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86402         value type for setfct.
86404 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86406         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86407         __gettimeofday instead of gettimeofday.
86409 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86411         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86413 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86417         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86418         info.
86420 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86423         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86424         strcpy-sse2-unaligned strncpy-sse2-unaligned
86425         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86426         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86427         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86428         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86429         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86430         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86431         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86432         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86433         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86434         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86435         (STRCPY): Support SSE2 and SSSE3 versions.
86437 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86439         [BZ #12874]
86440         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86441         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86442         kernels which artificially limit size of requests.
86444 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86447         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86448         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86449         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86450         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86451         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86452         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86453         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86454         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86456         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86457         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86458         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86459         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86460         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86462         Enable unaligned load optimization for Intel Core i3, i5 and i7
86463         processors.
86464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86465         Define.
86466         (index_Fast_Unaligned_Load): Define.
86467         (HAS_FAST_UNALIGNED_LOAD): Define.
86469 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86471         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86473 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86475         [BZ #12907]
86476         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86477         until it is clear that the information is realy needed.
86478         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86480 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86484 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86486         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86487         /sys/devices/system/cpu/online if it is usable.
86489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86490         reading the information from the /proc filesystem to once a second.
86492 2011-06-21  Andreas Jaeger  <aj@suse.de>
86494         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86495         NULL after inclusion of kernel headers.
86497 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86499         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86500         calls to internal_setent.
86502         [BZ #12885]
86503         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86504         addresses using gethostbyname4_r ignore IPv4 addresses.
86506         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86507         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86509         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86511 2011-06-20  David S. Miller  <davem@davemloft.net>
86513         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86514         inclusions.
86515         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86517         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86518         (elf_irel): Use it.
86519         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86520         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86521         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86522         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86523         * sysdeps/x86_64/dl-irel.h: Likewise.
86525         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86526         * elf/dl-sym.c: Likewise.
86528 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86530         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86531         need to dereference resplen2.
86533 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86535         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86537 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86539         * Makeconfig: Define vardbdir and inst_vardbdir.
86540         * nss/Makefile: Add rules to install db-Makefile.
86542         * nss/nss_db/db-XXX.c: Cleanup.
86544         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86545         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86546         GLIBC_PRIVATE.
86547         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86548         * nss/makedb.c: Implement -g option to specify that value strings
86549         are generated and should not be added to table iterated over for
86550         get*ent calls.
86551         * nss/nss_db/db-initgroups.c: New file.
86553         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86554         interface.
86556         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86557         (internal_getgrouplist): Adjust to name change.
86558         Update use_initgroups_entry if this is not the first call.
86559         * nss/databases.def: Add initgroups entry.
86561         * nss/makedb.c (compute_tables): Check result of multiple hash table
86562         sizes to minimize maximum chain length.
86564 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86566         * Versions.def: Add entry for libnss_db.
86567         * shlib-versions: Likewise.
86568         * nss/Makefile: Add rules to build libnss_db.
86569         * nss/Versions: Add libnss_db information.  Organize libnss_files
86570         entries better.
86571         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86572         makedb progra.  Some minor improvements to generate smaller files.
86573         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86574         here from...
86575         * nss/makedb.c: ...here.
86576         Improve database format to be smaller and require less memory at
86577         runtime.
86578         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86579         db anymore.
86580         * nss/nss_db/db-netgrp.c: Likewise.
86581         * nss/nss_db/db-open.c: Likewise.
86582         * nss/nss_files/flies-XXX.x: Adjust comments.
86583         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86584         * nss/nss_files/files-grp.c: Likewise.
86585         * nss/nss_files/files-hosts.c: Likewise.
86586         * nss/nss_files/files-network.c: Likewise.
86587         * nss/nss_files/files-proto.c: Likewise.
86588         * nss/nss_files/files-pwd.c: Likewise.
86589         * nss/nss_files/files-rpc.c: Likewise.
86590         * nss/nss_files/files-service.c: Likewise.
86591         * nss/nss_files/files-sgrp.c: Likewise.
86592         * nss/nss_files/files-spwd.c: Likewise.
86593         * nss/nss_db/db-alias.c: Removed.
86594         * nss/nss_db/dummy-db.h: Removed.
86596 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86598         * nss/makedb.c: Rewritten to not use database library.
86599         * nss/Makefile: Update to build new makedb program.
86601 2011-06-14  Andreas Jaeger  <aj@suse.de>
86603         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86604         memset declaration.
86606 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86609         tmpbuf.
86611 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86613         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86614         * elf/Makefile ($(objpfx)ld.so): Likewise.
86616         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86617         Don't list ld.so twice in dependencies.
86619         * posix/bug-regex31.c: Include <stdlib.h>.
86621         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86623         * nis/nss_compat/compat-spwd.c
86624         (getspent_next_nss_netgr): Remove unused variable.
86625         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86627         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86628         nonmembers" output to use the right array.
86630         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86632         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86634         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86635         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86636         * catgets/gencat.c (read_input_file): Likewise.
86637         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86639         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86640         variable definition inside #if's controlling its use.
86642         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86644         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86646         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86648         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86649         unreachable code.
86651         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86653         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86654         * configure: Regenerated.
86656         * Makerules: Revert last change.
86657         * elf/Makefile: Likewise.
86659 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86661         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86662         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86663         (reloc-link): Likewise.
86665 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86667         * elf/Makefile: Add rules to build pldd.
86668         * elf/pldd.c: New file.
86669         * elf/pldd-xx.c: New file.
86671 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86673         * version.h: Update for 2.15 development version.
86675 2011-06-07  David S. Miller  <davem@davemloft.net>
86677         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86678         ifuncs.
86679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86680         elf_machine_lazy_rel): Likewise.
86681         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86683         elf_machine_lazy_rel): Likewise.
86684         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86685         dl_hwcap via passed in argument.
86686         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86687         Likewise.
86689 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86691         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86693 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86695         [BZ #12849]
86696         * manual/fdl-1.1.texi: New file, verbatim from:
86697         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86698         * manual/lgpl-2.1.texi: New file, verbatim from:
86699         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86700         * manual/Makefile (licenses): New variable, list those new file names.
86701         (texis): Use it.
86702         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86704         * manual/fdl.texi: File removed.
86705         * manual/lesser.texi: File removed.
86706         * manual/libc.texinfo (Copying, Documentation License):
86707         Use new @include file names, put @appendix directive before @include.
86709 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86711         [BZ #12841]
86712         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86713         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86714         (mq_open): Add __NTH.
86716 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86719         Assume Intel Core i3/i5/i7 processor if AVX is available.
86721 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86723         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86724         typo.
86726 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86728         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86729         memory.  Use alloca_account.  Fix memory leak when retrying.
86731 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86733         * version.h (RELEASE): Bump for 2.14 release.
86734         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86736         * config.make.in (RANLIB): Remove entry.
86738 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86740         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86741         (libc.pot): Work around missing support for .ksh extension in xgettext.
86743         [BZ #12684]
86744         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86745         if both request failed.
86746         (send_dg): In case of server errors clear resplen or *resplen2.
86748         [BZ #12454]
86749         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86750         when there are multiple maps.
86751         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86752         (_dl_fini): Remove test here.
86754         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86756 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86758         [BZ #12350]
86759         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86760         bit from old_res_options.
86761         (gaih_inet): Likewise.
86763         [BZ #11099]
86764         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86765         as signed.
86767         * resolv/res_init.c (res_setoptions): Make the code more compact.
86769         [BZ #11558]
86770         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86771         set RES_USEVC.
86773         [BZ #11634]
86774         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86776         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86778         [BZ #11781]
86779         * malloc/malloc.h: Declare malloc hook variables as volatile.
86781         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86782         in last patch.
86784         [BZ #11799]
86785         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86786         raise in the comment.
86787         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86789         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86791 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86793         [BZ #12811]
86794         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86795         grow the buffers more if it already has to be sufficient.
86796         (build_wcs_upper_buffer): Likewise.
86797         * posix/regexec.c (check_matching): Likewise.
86798         (clean_state_log_if_needed): Likewise.
86799         (extend_buffers): Don't enlarge buffers beyond size of the input
86800         buffer.
86801         Patches mostly by Emil Wojak <emil@wojak.eu>.
86802         * posix/bug-regex32.c: New file.
86803         * posix/Makefile (tests): Add bug-regex32.
86805         * locale/findlocale.c (_nl_find_locale): Return right away if
86806         _nl_explode_name failed.
86807         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86809         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86811         * debug/xtrace.sh: Unify messages.
86812         * malloc/memusage.sh: Likewise.
86814         [BZ #12813]
86815         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86816         time symbol from vDSO.  Substitute with vsyscall if not available.
86817         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86818         __vdso_time.
86820         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86821         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86822         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86823         Add sendmmsg and internal_sendmmsg.
86824         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86825         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86826         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86828         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86829         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86830         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86832 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86834         [BZ #12813]
86835         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86836         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86837         available.
86838         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86839         __vdso_getcpu.
86841         [BZ #12814]
86842         * iconvdata/Makefile (tests): Add bug-iconv9.
86843         * iconvdata/bug-iconv9.c: New file.
86845 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86847         [BZ #12814]
86848         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86850 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86853         (struct user_regs_struct): Change intcs field back to cs.
86855 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86857         * po/ja.po: Update from translation team.
86859 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86861         [BZ #12795]
86862         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86863         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86865 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86867         * stdlib/longlong.h: Update from GCC.
86869 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86871         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86872         parameter name.
86873         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86874         Add parameter name.
86875         (__sysconf): Pass it down.
86877 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86879         [BZ #12671]
86880         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86881         some situations.
86882         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86883         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86884         add in in __libc_use_alloca calls.  Adjust callers.
86885         (glob): Use malloc in some situations.
86887         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86888         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86889         pltexit.
86891 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86893         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86894         and CLOCK_BOOTTIME_ALARM.
86896         [BZ #12782]
86897         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86898         is returned.
86900         * string/_strerror.c (__strerror_r): Print negative errors as signed
86901         numbers.
86903         [BZ #12777]
86904         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86905         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86906         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86908         * configure.in: Fix typo in redirection and correct removal of test
86909         files in two cases.
86911         [BZ #12788]
86912         * locale/setlocale.c (new_composite_name): Fix test to check for
86913         identical name of all categories.
86915         [BZ #12792]
86916         * libio/filedoalloc.c (local_isatty): New function.
86917         (_IO_file_doallocate): Use local_isatty.
86918         * stdio-common/perror.c (perror): In case a new stream is used
86919         forward the stream error.
86920         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86921         error flag.
86923 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86925         [BZ #11884]
86926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86927         alloca.
86928         * include/alloca.h (extend_alloca_account): Define.
86930         [BZ #11857]
86931         * posix/regex.h: Fix comments with documentation of user-accessible
86932         fields after compilation and describe correct free'ing of pattern
86933         after re_compile_pattern.
86934         Patch by Reuben Thomas <rrt@sc3d.org>.
86936 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86938         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86939         and -mno-altivec to prevent the compiler from using Altivec and/or
86940         VSX instructions when the corresponding registers are not available.
86942 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86944         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86946 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86948         * libio/freopen.c (freopen): Use __dup2, not dup2.
86949         * libio/freopen64.c (freopen64): Likewise.
86951 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86953         [BZ #12775]
86954         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86955         * math/Makefile (tests): Add test-powl.
86956         (CFLAGS-test-powl.c): Define.
86957         * math/test-powl.c: New file.
86959 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86961         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86963 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86965         [BZ #11837]
86966         * iconvdata/gb18030.c: Update to GB18020-2005.
86968 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86970         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86971         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86972         Patch by Aharon Robbins <arnold@skeeve.com>.
86974         [BZ #11892]
86975         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86976         on the stack.
86978         [BZ #11895]
86979         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86980         through underflows.
86982         [BZ #12766]
86983         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86984         point to strings before performing equality test for error_one_per_line
86985         mode.
86987         [BZ #11697]
86988         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86990         [BZ #11820]
86991         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86992         (struct user_fpregs_struct): Avoid __uint*_t types.
86994         [BZ #6420]
86995         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86996         symbol info.  Use it instead of calling _dl_addr locally.
86997         (lock_and_info): New function.
86998         (tr_freehook): Call lock_and_info and pass symbol info as additional
86999         parameter to tr_where.
87000         (tr_mallochook): Likewise.
87001         (tr_reallochook): Likewise.
87002         (tr_memalignhook): Likewise.
87004         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87005         used and couldn't be at all thread-safe.
87007 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87009         * libio/freopen.c (freopen): Don't close old file descriptor
87010         before the new one is opened.  Instead dup the new file descriptor
87011         to the old one after the new stream is created.
87012         * libio/freopen64.c (freopen64): Likewise.
87013         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87014         * libio/fileops.c (_IO_new_file_close_it): Handle new
87015         _IO_FLAGS2_NOCLOSE flag.
87016         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87017         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87018         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87019         _IO_FLAGS2_NOCLOSE flag.
87020         * include/unistd.h: Add hidden_proto for dup3.
87021         Define __have_dup3.
87022         * io/dup3.c: Define hidden symbol.
87023         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87025         [BZ #7101]
87026         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87027         when an incomplete long option is used.
87028         * posix/tst-getopt_long1.c: New file.
87029         * posix/Makefile (tests): Add tst-getopt_long1.
87031         [BZ #10138]
87032         * scripts/config.guess: Update from autoconf-2.68.
87033         * scripts/config.sub: Likewise.
87035         [BZ #10157]
87036         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87037         tests into ...
87038         (has_cpuclock): ...this.  New function.
87039         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87040         macro here based on has_cpuclock code.
87042         [BZ #10149]
87043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87044         First byte (not low byte) is now always NUL.
87045         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87047         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87048         Use non-cancelable interfaces.
87050         [BZ #9809]
87051         * locale/iso-639.def: Add entry for Sorani.
87053         [BZ #11901]
87054         * include/stdlib.h: Move include protection to the right place.
87055         Define abort_msg_s.  Declare __abort_msg with it.
87056         * stdlib/abort.c (__abort_msg): Adjust type.
87057         * assert/assert.c (__assert_fail_base): New function.  Majority
87058         of code from __assert_fail.  Allocate memory for __abort_msg with
87059         mmap.
87060         (__assert_fail): Now call __assert_fail_base.
87061         * assert/assert-perr.c: Remove bulk of implementation.  Use
87062         __assert_fail_base.
87063         * include/assert.hL Declare __assert_fail_base.
87064         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87065         mmap.
87066         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87068 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87070         [BZ #11952]
87071         [BZ #12453]
87072         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87073         until all modules are registered in the DTV.
87074         * elf/Makefile: Add rules to build and run tst-tls19.
87075         * elf/tst-tls19.c: New file.
87076         * elf/tst-tls19mod1.c: New file.
87077         * elf/tst-tls19mod2.c: New file.
87078         * elf/tst-tls19mod3.c: New file.
87079         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87081         [BZ #12083]
87082         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87083         correctly.
87085         [BZ #12601]
87086         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87087         two-byte sequence errors.
87088         * iconvdata/Makefile (tests): Add bug-iconv8.
87089         * iconvdata/bug-iconv8.c: New file.
87091         [BZ #12626]
87092         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87093         buf2 definition.
87095         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87097         [BZ #12432]
87098         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87099         (dummy_getcfa): New function.
87100         (init): Get _Unwind_GetCFA address, use dummy if not found.
87101         (backtrace_helper): In recursion check, also check whether CFA changes.
87102         (__backtrace): Completely initialize arg.
87104         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87105         storing incomplete byte sequence in state object.  Avoid testing for
87106         guaranteed too small input if we know there is enough data available.
87108 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87110         * Makeconfig (+link-pie): Indent.
87111         * Rules (binaries-pie): Define if $(have-fpie) and
87112         $(build-shared).
87113         (binaries-shared): Also filter out $(binaries-pie).
87114         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87115         * nscd/Makefile (others-pie): Add nscd.
87116         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87117         ($(objpfx)nscd): Remove command override.
87118         * login/Makefile (others-pie): Add pt_chown.
87119         ($(objpfx)pt_chown): Remove command override.
87120         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87121         remove command overrides.
87123 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87125         * libio/tst_putwc.c: Fix error messages.
87127         [BZ #12724]
87128         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87129         currently writing and seek to current position when not.
87130         * libio/Makefile (tests): Add bug-fclose1.
87131         * libio/bug-fclose1.c: New file.
87133 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87135         [BZ #12511]
87136         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87137         don't set DF_1_NODELETE here.
87138         (do_lookup_x): When entering new entry test for copy relocation
87139         and if necessary set DF_1_NODELETE flag.
87140         * elf/tst-unique4.cc: New file.
87141         * elf/tst-unique4.h: New file.
87142         * elf/tst-unique4lib.cc: New file.
87143         * elf/Makefile: Add rules to build and run tst-unique4.
87144         Patch by Piotr Bury <pbury@goahead.com>.
87146 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87148         [BZ #12052]
87149         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87151         [BZ #12625]
87152         * misc/mntent_r.c (addmntent): Flush the stream after the output
87154         [BZ #12393]
87155         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87156         (is_trusted_path_normalize): Skip initial colon.  Append slash
87157         to empty buffer.  Duplicate is_trusted_path code but allow
87158         constructed patch to be prefix.
87159         (is_dst): Allow $ORIGIN followed by /.
87160         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87161         Correct testing of result of is_trusted_path_normalize
87162         (decompose_rpath): Fix warning.
87164 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87166         [BZ #11257]
87167         * grp/initgroups.c (internal_getgrouplist): When we found the service
87168         list through the initgroups entry in nsswitch.conf do not always
87169         continue on a successful lookup.  Don't always use the
87170         __nss_group_database value if it is set.
87171         * nss/nsswitch.conf (initgroups): Change action for successful db
87172         lookup to continue for compatibility.
87174 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87176         [BZ #11532]
87177         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87178         and CP774 modules.
87179         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87180         and CP774 modules.
87181         * iconvdata/tst-tables.sh: Likewise.
87182         * iconvdata/cp770.c: New file.
87183         * iconvdata/cp771.c: New file.
87184         * iconvdata/cp772.c: New file.
87185         * iconvdata/cp773.c: New file.
87186         * iconvdata/cp774.c: New file.
87187         * iconvdata/testdata/CP770: New file.
87188         * iconvdata/testdata/CP770..UTF8: New file.
87189         * iconvdata/testdata/CP771: New file.
87190         * iconvdata/testdata/CP771..UTF8: New file.
87191         * iconvdata/testdata/CP772: New file.
87192         * iconvdata/testdata/CP772..UTF8: New file.
87193         * iconvdata/testdata/CP773: New file.
87194         * iconvdata/testdata/CP773..UTF8: New file.
87195         * iconvdata/testdata/CP774: New file.
87196         * iconvdata/testdata/CP774..UTF8: New file.
87198         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87199         END CHARMAP line.
87200         * iconvdata/gen-8bit-gap.sh: Likewise.
87201         * iconvdata/gen-8bit.sh: Likewise.
87203         * locale/iso-639.def: Add ary entry.
87205         [BZ #11258]
87206         * locale/C-translit.h.in: Add U20A1 transliteration.
87208         [BZ #12178]
87209         * locale/iso-639.def: Add wae entry.
87210         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87212         [BZ #12545]
87213         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87214         for n.
87216         [BZ #12711]
87217         * locale/C-translit.h.in: Add entry for U20B9.
87218         Patch by pravin.d.s@gmail.com.
87220 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87222         [BZ #12713]
87223         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87224         ENAMETOOLONG use generic getcwd.
87225         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87226         in rtld.  Use *stat64.
87227         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87228         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87229         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87230         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87231         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87232         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87233         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87234         __fstatat64 macros.
87235         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87236         * dirent/rewinddir.c: Add libc_hidden_def.
87237         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87238         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87240         * include/dirent.h (__alloc_dir): Add flags parameter.
87241         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87242         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87243         __alloc_dir.
87244         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87245         from fdopendir if O_CLOEXEC is already set.
87247 2011-03-15  Alan Modra  <amodra@gmail.com>
87249         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87250         l_tls_firstbyte_offset non-zero.  Save padding offset in
87251         l_tls_firstbyte_offset for later use.
87252         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87253         freeing static tls block.
87255 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87257         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87258         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87259         being defined by the kernel headers.
87261 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87263         [BZ #12734]
87264         * resolv/resolv.h: Define RES_NOTLDQUERY.
87265         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87266         no-tld-query and set RES_NOTLDQUERY.
87267         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87268         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87269         modern BIND to search name as TLD unless forbidden.
87271 2011-05-07  Petr Baudis  <pasky@suse.cz>
87272             Ulrich Drepper  <drepper@gmail.com>
87274         [BZ #12393]
87275         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87276         (is_trusted_path): ...to here.
87277         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87278         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87279         using is_trusted_path_normalize() in setuid scripts.
87281 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87283         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87284         __BEGIN/__END_DECLS.
87286 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87288         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87289         NSS_STATUS_NOTFOUND if no record was found.
87291 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87293         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87294         (headers-not-in-tirpc): Remove rpc/netdb.h
87295         * resolv/netdb.h: Revert last change.
87297 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87299         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87300         circular dependency between libgcc.a and libc.a.
87302 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87304         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87305         * nis/Makefile: Don't install rpcsvc/*.
87306         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87307         instead of <rpc/types.h>.
87308         (MAXHOSTNAMELEN): Define.
87310 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87312         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87314 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87316         [BZ #12714]
87317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87318         gethostbyname4_r when IPv6 results are possible.
87320 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87322         [BZ #12723]
87323         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87324         _PC_PIPE_BUF handling.
87326 2011-04-30  Bruno Haible  <bruno@clisp.org>
87328         [BZ #12717]
87329         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87330         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87331         to 'int'.
87332         * inet/getnameinfo.c (getnameinfo): Likewise.
87334 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87336         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87337         to groups setting in database lookup.
87338         * nss/nsswitch.conf: Add initgroups entry.
87340 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87342         [BZ #12685]
87343         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87344         mode string.
87345         Patch by Eric Blake <eblake@redhat.com>.
87347 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87349         * sunrpc/Makefile (need-export-routines): Add svc_run.
87350         (routines): Remove svc_run.
87351         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87352         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87353         * sunrpc/svc_run.c (svc_run): Likewise.
87354         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87356 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87359         problem in reallocation in last patch.
87361 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87363         * sunrpc/Makefile: Move inclusion of Rules.
87365 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87367         * nss/nss_files/files-initgroups.c: New file.
87368         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87369         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87370         _nss_files_initgroups_dyn.
87372 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87374         * elf/elf.h (R_ARM_IRELATIVE): Define.
87376 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87378         * po/ru.po: Update from translation team.
87380 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87382         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87383         dependencies.
87385 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87387         [BZ #12653]
87388         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87389         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87392         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87394 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87396         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87397         differing bytes.
87398         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87399         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87402 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87404         [BZ #12420]
87405         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87406         storing it.
87407         * stdlib/bug-getcontext.c: New file.
87408         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87410 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87412         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87413         instructions into .machine "z9-109".
87414         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87415         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87417 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87419         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87420         between environment variables and auxiliary vector.
87422 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87424         * Makefile: Add rules to build linkobj/libc.so.
87425         * include/libc-symbols.h: Define libc_hidden_nolink.
87426         * include/rpc/auth.h: Mark functions which are to be hidden.
87427         * include/rpc/auth_des.h: Likewise.
87428         * include/rpc/auth_unix.h: Likewise.
87429         * include/rpc/clnt.h: Likewise.
87430         * include/rpc/des_crypt.h: Likewise.
87431         * include/rpc/key_prot.h: Likewise.
87432         * include/rpc/pmap_clnt.h: Likewise.
87433         * include/rpc/pmap_prot.h: Likewise.
87434         * include/rpc/pmap_rmt.h: Likewise.
87435         * include/rpc/rpc_msg.h: Likewise.
87436         * include/rpc/svc.h: Likewise.
87437         * include/rpc/svc_auth.h: Likewise.
87438         * include/rpc/xdr.h: Likewise.
87439         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87440         * nss/Makefile: Likewise.
87441         * sunrpc/Makefile: Don't install headers.  Build library with normal
87442         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87443         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87444         for the compat linking library.  Remove use of INTDEF/INTUSE.
87445         * sunrpc/auth_none.c: Likewise.
87446         * sunrpc/auth_unix.c: Likewise.
87447         * sunrpc/authdes_prot.c: Likewise.
87448         * sunrpc/authuxprot.c: Likewise.
87449         * sunrpc/clnt_gen.c: Likewise.
87450         * sunrpc/clnt_perr.c: Likewise.
87451         * sunrpc/clnt_raw.c: Likewise.
87452         * sunrpc/clnt_simp.c: Likewise.
87453         * sunrpc/clnt_tcp.c: Likewise.
87454         * sunrpc/clnt_udp.c: Likewise.
87455         * sunrpc/clnt_unix.c: Likewise.
87456         * sunrpc/des_crypt.c: Likewise.
87457         * sunrpc/des_soft.c: Likewise.
87458         * sunrpc/get_myaddr.c: Likewise.
87459         * sunrpc/key_call.c: Likewise.
87460         * sunrpc/key_prot.c: Likewise.
87461         * sunrpc/netname.c: Likewise.
87462         * sunrpc/pm_getmaps.c: Likewise.
87463         * sunrpc/pm_getport.c: Likewise.
87464         * sunrpc/pmap_clnt.c: Likewise.
87465         * sunrpc/pmap_prot.c: Likewise.
87466         * sunrpc/pmap_prot2.c: Likewise.
87467         * sunrpc/pmap_rmt.c: Likewise.
87468         * sunrpc/publickey.c: Likewise.
87469         * sunrpc/rpc_cmsg.c: Likewise.
87470         * sunrpc/rpc_common.c: Likewise.
87471         * sunrpc/rpc_dtable.c: Likewise.
87472         * sunrpc/rpc_prot.c: Likewise.
87473         * sunrpc/rpc_thread.c: Likewise.
87474         * sunrpc/rtime.c: Likewise.
87475         * sunrpc/svc.c: Likewise.
87476         * sunrpc/svc_auth.c: Likewise.
87477         * sunrpc/svc_authux.c: Likewise.
87478         * sunrpc/svc_raw.c: Likewise.
87479         * sunrpc/svc_run.c: Likewise.
87480         * sunrpc/svc_simple.c: Likewise.
87481         * sunrpc/svc_tcp.c: Likewise.
87482         * sunrpc/svc_udp.c: Likewise.
87483         * sunrpc/svc_unix.c: Likewise.
87484         * sunrpc/svcauth_des.c: Likewise.
87485         * sunrpc/xcrypt.c: Likewise.
87486         * sunrpc/xdr.c: Likewise.
87487         * sunrpc/xdr_array.c: Likewise.
87488         * sunrpc/xdr_float.c: Likewise.
87489         * sunrpc/xdr_intXX_t.c: Likewise.
87490         * sunrpc/xdr_mem.c: Likewise.
87491         * sunrpc/xdr_rec.c: Likewise.
87492         * sunrpc/xdr_ref.c: Likewise.
87493         * sunrpc/xdr_sizeof.c: Likewise.
87494         * sunrpc/xdr_stdio.c: Likewise.
87496 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87498         [BZ #12650]
87499         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87500         * sysdeps/ia64/dl-tls.h: Likewise.
87501         * sysdeps/powerpc/dl-tls.h: Likewise.
87502         * sysdeps/s390/dl-tls.h: Likewise.
87503         * sysdeps/sh/dl-tls.h: Likewise.
87504         * sysdeps/sparc/dl-tls.h: Likewise.
87505         * sysdeps/x86_64/dl-tls.h: Likewise.
87506         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87508 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87510         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87511         rpath element also skip the following colon.
87512         (expand_dynamic_string_token): Add is_path parameter and pass
87513         down to DL_DST_REQUIRED and _dl_dst_substitute.
87514         (decompose_rpath): Call expand_dynamic_string_token with
87515         non-zero is_path.  Ignore empty rpaths.
87516         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87517         with zero is_path.
87519 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87522         Make cancelable.
87524 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87526         [BZ #12655]
87527         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87528         Patch by Filipe David Manana <fdmanana@apache.org>.
87530 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87532         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87533         Maintain aligned stack.
87534         (CHECK_RSP): Remove unused macro.
87536 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87538         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87539         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87541 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87543         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87545         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87547 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87549         [BZ #12518]
87550         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87551         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87552         * sysdeps/x86_64/memmove.c: New file.
87553         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87554         (memcpy): Renamed to ...
87555         (__new_memcpy): This.
87556         (memcpy): Provide GLIBC_2_14 memcpy.
87557         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87558         (memcpy): Provide GLIBC_2_2_5 memcpy.
87560 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87562         [BZ #12631]
87563         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87565 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87567         * misc/syncfs.c: New file.
87568         * misc/Makefile (routines): Add syncfs.
87569         * posix/unistd.h: Declare syncfs.
87570         * sysdeps/unix/syscalls.list: Add syncfs.
87572 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87574         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87575         open_by_handle_at.
87576         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87577         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87579         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87581         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87582         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87584 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87586         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87587         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87588         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87592         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87594         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87595         sync_file_range.c with -fexceptions.
87596         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87597         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87598         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87599         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87600         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87601         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87602         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87603         sync_file_range as cancellation point
87604         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87605         now a wrapper around __call_sync_file_range with cancellation handling.
87606         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87607         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87608         function name to __call_sync_file_range.
87609         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87610         Add call_sync_file_range.
87612 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87615         bits/timex.h.
87617 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87619         * iconv/iconv.h: Fix typo in comment.
87620         * io/fcntl.h: Likewise.
87621         * libio/stdio.h: Likewise.
87622         * posix/spawn.h: Likewise.
87623         * posix/unistd.h: Likewise.
87624         * stdlib/stdlib.h: Likewise.
87625         * time/time.h: Likewise.
87626         * wcsmbs/wchar.h: Likewise.
87628         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87629         open_by_handle): Add.
87630         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87631         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87632         Augment a few comments.
87633         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87635         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87637         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87638         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87639         open_by_handle.
87641         * io/fcntl.h (AT_EMPTY_PATH): Define.
87643 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87645         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87646         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87647         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87648         to...
87649         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87650         * Versions.def: Add GLIBC_2.14.
87651         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87652         Export.
87654 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87656         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87657         round counter.
87658         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87660 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87662         [BZ #12597]
87663         * string/test-strncmp.c (do_page_test): New function.
87664         (check2): Likewise.
87665         (test_main): Call check2.
87666         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87668 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87670         [BZ #12587]
87671         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87672         Handle cache information in CPU leaf 4.
87673         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87675 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87677         [BZ #12583]
87678         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87679         character representation.
87680         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87682 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87684         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87685         END(__isnan) to END(__isnanf) to match function entry point/label
87686         EALIGN(__isnanf,...).
87688 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87690         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87692 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87694         [BZ #12510]
87695         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87696         copy from the symbol referenced in the relocation to initialize the
87697         used variable.
87698         Patch by Piotr Bury <pbury@goahead.com>.
87699         * elf/Makefile: Add rules to build and tst-unique3.
87700         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87701         * elf/tst-unique3.cc: New file.
87702         * elf/tst-unique3.h: New file.
87703         * elf/tst-unique3lib.cc: New file.
87704         * elf/tst-unique3lib2.cc: New file.
87706         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87708 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87710         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87711         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87712         to _start.
87714 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87716         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87717         to-be-loaded object along a path to loader is ld.so.
87719 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87720             Ulrich Drepper  <drepper@gmail.com>
87722         * sysdeps/x86_64/memset.S: After aligning destination, code
87723         branches to different locations depending on the value of
87724         misalignment, when multiarch is enabled. Fix this.
87726 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87728         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87729         Set _x86_64_preferred_memory_instruction for AMD processsors.
87730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87731         Set bit_Prefer_SSE_for_memop for AMD processors.
87733 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87735         * libio/fmemopen.c (fmemopen): Optimize a bit.
87737 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87739         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87741 2011-03-03  Roland McGrath  <roland@redhat.com>
87743         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87745 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87747         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87748         __bzero_ultra1 instead of __memset_ultra1.
87750 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87751             Ulrich Drepper  <drepper@gmail.com>
87753         [BZ #12509]
87754         * include/link.h (struct link_map): Add l_orig_initfini.
87755         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87756         returning unsuccessfully.
87757         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87758         close of a file loaded at startup, restore the original l_initfini
87759         list.
87760         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87761         list, store the pointer.
87762         * elf/Makefile ($(objpfx)noload-mem): New rule.
87763         (noload-ENV): Define.
87764         (tests): Add $(objpfx)noload-mem.
87765         * elf/noload.c: Include <memcheck.h>.
87766         (main): Call mtrace.  Close all opened handles.
87768 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87770         [BZ #12454]
87771         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87772         dependencies are missing.
87774 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87776         Fix __if_freereq crash: Unlike the generic version which uses free,
87777         Hurd needs munmap.
87778         * sysdeps/mach/hurd/ifreq.h: New file.
87780 2011-01-27  Petr Baudis  <pasky@suse.cz>
87781             Ulrich Drepper  <drepper@gmail.com>
87783         [BZ 12445]#
87784         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87785         to extend_alloca().
87786         * stdio-common/bug23.c: New file.
87787         * stdio-common/Makefile (tests): Add bug23.
87789 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87790             Ulrich Drepper  <drepper@gmail.com>
87792         [BZ #12489]
87793         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87794         before performing relro protection.  At old place add assertion
87795         to make sure nothing changed.
87797 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87798             Glauber de Oliveira Costa  <glommer@gmail.com>
87800         * elf/elf.h: Add new ARM TLS relocs.
87802 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87805         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87806         cast from r3.
87807         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87808         'tests' variable.
87809         * sysdeps/wordsize-64/tst-writev.c: New file.
87811 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87813         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87814         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87815         insns in _dl_start to prevent a TOC reference before relocs are
87816         resolved.
87818 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87820         [BZ #12469]
87821         * Makeconfig: Remove RANLIB definition.
87822         * Makerules: Don't use RANLIB.
87823         * aclocal.m4: Remove ranlib test.
87824         * configure.in: No need to check for ranlib.
87825         * elf/rtld-Rules: Don't use RANLIB.
87827 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87829         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87830         protection macro.
87831         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87832         inclusion protection macro.
87834         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87835         SIGRTMIN and SIGRTMAX and print information in that case only when
87836         SIGRTMIN is defined.
87838 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87840         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87841         arginfo fn returning -1.
87843         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87844         and thousands string is zero terminated.
87846 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87849         sysdeps/unix/sysv/linux/bits/socket.h.
87851 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87853         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87854         (__CPU_COUNT): Remove old macros.
87855         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87856         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87857         (__CPU_ALLOC, __CPU_FREE): Add macros.
87858         (__sched_cpualloc, __sched_cpufree): Add declarations.
87860 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87862         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87863         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87864         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87865         (readdhstai): Return value of addhstaiX call.
87866         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87867         (addgrbyX): Return value returned by cache_addgr.
87868         (readdgrbyname): Return value returned by addgrbyX.
87869         (readdgrbygid): Likewise.
87870         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87871         (addpwbyX): Return value returned by cache_addpw.
87872         (readdpwbyname): Return value returned by addhstbyX.
87873         (readdpwbyuid): Likewise.
87874         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87875         (addservbyX): Return value returned by cache_addserv.
87876         (readdservbyname): Return value returned by addservbyX:
87877         (readdservbyport): Likewise.
87878         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87879         (addhstbyX): Return value returned by cache_addhst.
87880         (readdhstbyname): Return value returned by addhstbyX.
87881         (readdhstbyaddr): Likewise.
87882         (readdhstbynamev6): Likewise.
87883         (readdhstbyaddrv6): Likewise.
87884         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87885         (readdinitgroups): Return value returned by addinitgroupsX.
87886         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87887         (prune_cache): Keep track of timeout value of re-added entries.
87888         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87889         * nscd/nscd.h: Adjust prototypes of readd* functions.
87891 2011-02-04  Roland McGrath  <roland@redhat.com>
87893         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87894         (nis_stats): Likewise.
87895         * nis/nis_modify.c (nis_modify): Likewise.
87896         * nis/nis_remove.c (nis_remove): Likewise.
87897         * nis/nis_add.c (nis_add): Likewise.
87899         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87901         * posix/fnmatch_loop.c: Add some consts.
87903         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87905 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87907         [BZ #12460]
87908         * config.make.in (config-cflags-novzeroupper): Define.
87909         * configure.in: Substitute libc_cv_cc_novzeroupper.
87910         * elf/Makefile (AVX-CFLAGS): Define.
87911         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87912         (CFLAGS-tst-auditmod4a.c): Likewise.
87913         (CFLAGS-tst-auditmod4b.c): Likewise.
87914         (CFLAGS-tst-auditmod6b.c): Likewise.
87915         (CFLAGS-tst-auditmod6c.c): Likewise.
87916         (CFLAGS-tst-auditmod7b.c): Likewise.
87917         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87919 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87921         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87922         function to the callback.
87923         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87925 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87927         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87928         of errno.
87930 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87932         [BZ #11724]
87933         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87934         of constructors.
87935         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87936         of destructors.
87937         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87939         [BZ #11724]
87940         * elf/Makefile: Add rules to build and run new test.
87941         * elf/tst-initorder.c: New file.
87942         * elf/tst-initorder.exp: New file.
87943         * elf/tst-initordera1.c: New file.
87944         * elf/tst-initordera2.c: New file.
87945         * elf/tst-initordera3.c: New file.
87946         * elf/tst-initordera4.c: New file.
87947         * elf/tst-initorderb1.c: New file.
87948         * elf/tst-initorderb2.c: New file.
87949         * elf/tst-order-a1.c: New file.
87950         * elf/tst-order-a2.c: New file.
87951         * elf/tst-order-a3.c: New file.
87952         * elf/tst-order-a4.c: New file.
87953         * elf/tst-order-b1.c: New file.
87954         * elf/tst-order-b2.c: New file.
87955         * elf/tst-order-main.c: New file.
87956         New test case by George Gensure <werkt0@gmail.com>.
87958 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87961         decoding ACE if AI_CANONIDN.
87963 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87965         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87967 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87969         * version.h (RELEASE): Bump for 2.13 release.
87970         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87972         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87974         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87975         MADV_NOHUGEPAGE.
87976         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87977         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87979         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87981         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87983         * posix/getconf.c: Update copyright year.
87984         * catgets/gencat.c: Likewise.
87985         * csu/version.c: Likewise.
87986         * debug/catchsegv.sh: Likewise.
87987         * debug/xtrace.sh: Likewise.
87988         * elf/ldconfig.c: Likewise.
87989         * elf/ldd.bash.in: Likewise.
87990         * elf/sprof.c (print_version): Likewise.
87991         * iconv/iconv_prog.c: Likewise.
87992         * iconv/iconvconfig.c: Likewise.
87993         * locale/programs/locale.c: Likewise.
87994         * locale/programs/localedef.c: Likewise.
87995         * malloc/memusage.sh: Likewise.
87996         * malloc/mtrace.pl: Likewise.
87997         * nscd/nscd.c (print_version): Likewise.
87998         * nss/getent.c: Likewise.
88000         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88001         PF_CAIF, and PF_ALG.
88002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88004 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88006         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88007         (modules-names): Use them.
88008         (ifunc-test-modules, ifunc-pie-tests): Define.
88009         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88010         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88011         (test-extras): Likewise.
88012         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88013         $(compile-command.c).
88014         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88015         (all-built-dso): Define.
88016         (check-textrel.out, check-execstack.out): Depend on it.
88018         * configure.in: Don't override --enable-multi-arch.
88020 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88022         [BZ #6812]
88023         * nscd/hstcache.c (tryagain): Define.
88024         (cache_addhst): Return tryagain not notfound for temporary errors.
88025         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88026         failed.
88028 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88030         [BZ #10563]
88031         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88032         to make the syscall.
88033         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88035         [BZ #12378]
88036         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88037         and fall back to matching as normal character if the string ends before
88038         the matching ']' is found.  This is what POSIX requires.
88039         * posix/testfnm.c: Adjust test result.
88040         * posix/globtest.sh: Adjust test result.  Add new test.
88041         * posix/tst-fnmatch.input: Likewise.
88042         * posix/tst-fnmatch2.c: Add new test.
88044 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88046         * elf/Makefile (check-execstack): Revert last change.  Depend on
88047         check-execstack.h.
88048         (check-execstack.h): New target.
88049         (generated): Add check-execstack.h.
88050         * elf/check-execstack.c: Include "check-execstack.h".
88051         (main): Revert last change.
88052         (handle_file): Return zero if GNU_STACK is absent and
88053         DEFAULT_STACK_PERMS doesn't include PF_X.
88055 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88057         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88058         in child fails because the descriptor is already closed.
88059         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88060         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88061         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88063         [BZ #12397]
88064         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88065         syscall.
88067         [BZ #10484]
88068         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88069         temporary buffer used to handle multi lookups locally.
88070         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88072 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88074         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88075         loader is ld.so.
88077 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88079         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88080         alignment for SSE2.
88082 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88084         [BZ #12394]
88085         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88086         characters.  When rounding increased number of integer digits recompute
88087         number of groups.
88088         * stdio-common/tst-grouping.c: New file.
88089         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88091 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88093         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88094         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88096         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88097         void.
88098         * bits/select.h: Likewise.
88100 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88102         * po/ja.po: Update from translation team.
88104 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88106         [BZ #11155]
88107         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88108         implementation just like for lxstat, fxstatat, et al.
88110 2010-12-27  Jim Meyering  <meyering@redhat.com>
88112         [BZ #12348]
88113         * posix/regexec.c (build_trtable): Return failure indication upon
88114         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88116 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88118         [BZ #12201]
88119         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88120         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88121         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88122         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88124         [BZ #12207]
88125         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88127         [BZ #12204]
88128         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88129         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88131 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88133         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88134         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88135         script has SORT_BY_INIT_PRIORITY.
88136         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88137         NO_CTORS_DTORS_SECTIONS is defined.
88138         * elf/soinit.c: Likewise.
88139         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88140         NO_CTORS_DTORS_SECTIONS is defined.
88141         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88142         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88143         * sysdeps/sh/init-first.c: Likewise.
88144         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88146 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88148         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88149         always use the slow path.
88151 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88153         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88154         similar rule which adds the sysdep directories to the header search in
88155         order to pick up the correct platform stackinfo.h.
88156         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88157         perform test if it is, otherwise return successfully without testing.
88158         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88159         DEFAULT_STACK_PERMS define in stackinfo.h.
88160         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88161         defined in stackinfo.h.
88162         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88163         DEFAULT_STACK_PERMS defined in stackinfo.h.
88164         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88165         * sysdeps/ia64/stackinfo.h: Likewise.
88166         * sysdeps/s390/stackinfo.h: Likewise.
88167         * sysdeps/sh/stackinfo.h: Likewise.
88168         * sysdeps/sparc/stackinfo.h: Likewise.
88169         * sysdeps/x86_64/stackinfo.h: Likewise.
88170         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88171         PF_X for powerpc64.  Retain PF_X for powerpc32.
88173 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88175         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88176         accurately.
88177         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88178         GETDENTS_64BIT_ALIGNED.
88180 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88182         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88184 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88186         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88187         _GNU_SOURCE.
88189         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88190         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88191         Remove __restrict.
88192         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88193         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88195 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88197         [BZ #11655]
88198         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88199         are initialized.
88201 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88203         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88205 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88207         * po/it.po: Update from translation team.
88209 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88211         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88212         unused codes.
88214 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88216         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88218 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88220         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88221         specially.
88222         (gaih_getanswer_slice): Likewise.
88224 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88228 2010-05-31  Petr Baudis  <pasky@suse.cz>
88230         [BZ #11149]
88231         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88232         silently even in the chroot mode.
88234 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88236         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88237         last patch a bit.  Pretty printing
88239 2010-05-31  Petr Baudis <pasky@suse.cz>
88241         [BZ #10085]
88242         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88243         initialization of skip_initgroups_dyn.
88245 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88247         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88248         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88250 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88252         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88254 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88256         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88257         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88258         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88259         ($(objpfx)tst-fnmatch-mem): New rule.
88260         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88261         * posix/tst-fnmatch.c (main): Call mtrace.
88263 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88266         Support Intel processor model 6 and model 0x2c.
88268 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88270         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88271           signed comparison.
88273 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88275         [BZ #12205]
88276         * string/test-strncasecmp.c (check_result): New function.
88277         (do_one_test): Use it.
88278         (check1): New function.
88279         (test_main): Use it.
88280         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88281         Support strcasecmp and strncasecmp.
88283 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88285         [BZ #12194]
88286         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88287         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88289 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88291         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88292         IFUNC support.
88293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88294         memset-x86-64.
88295         * sysdeps/x86_64/multiarch/bzero.S: New file.
88296         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88297         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88298         * sysdeps/x86_64/multiarch/memset.S: New file.
88299         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88301         Set bit_Prefer_SSE_for_memop for Intel processors.
88302         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88303         Define.
88304         (index_Prefer_SSE_for_memop): Define.
88305         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88307 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88309         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88310         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88312 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88314         [BZ #12191]
88315         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88316         (__x86_64_raw_data_cache_size_half): Likewise.
88317         (__x86_64_raw_shared_cache_size): Likewise.
88318         (__x86_64_raw_shared_cache_size_half): Likewise.
88320         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88321         (__x86_64_raw_data_cache_size_half): Likewise.
88322         (__x86_64_raw_shared_cache_size): Likewise.
88323         (__x86_64_raw_shared_cache_size_half): Likewise.
88324         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88325         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88326         and __x86_64_raw_shared_cache_size_half.  Round
88327         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88328         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88329         to multiple of 256 bytes.
88331 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88333         [BZ #12167]
88334         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88335         of inacessible symlinks.  Verify result of symlink before returning it.
88336         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88337         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88339 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88341         * math/math.h (isinf): Fix typo in comment.
88343 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88345         * po/da.po: Update from translation team.
88347 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88349         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88350         is added to the list.
88352 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88353             Ulrich Drepper  <drepper@gmail.com>
88355         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88356         the global list here.  Move code to...
88357         (_dl_add_to_namespace_list): ...here.  New function.
88358         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88359         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88360         * elf/dl-load.c (lose): Don't remove the element from the list.
88361         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88362         (_dl_map_object): Likewise.
88364 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88366         [BZ #12159]
88367         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88368         into all bytes of SSE register.
88369         Patch by Richard Li <richardpku@gmail.com>.
88371 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88373         [BZ #12140]
88374         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88375         perturbing.
88377 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88379         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88380         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88381         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88382         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88384         submachine.
88385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88387 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88389         * include/dlfcn.h (__RTLD_SECURE): Define.
88390         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88391         mode & __RTLD_SECURE instead.
88392         (open_path): Rename preloaded parameter to secure.
88393         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88394         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88395         * elf/dl-deps.c (openaux): Likewise.
88396         * elf/rtld.c (struct map_args): Remove is_preloaded.
88397         (map_doit): Don't use it.
88398         (dl_main): Likewise.
88399         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88400         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88402 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88404         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88405         (sysd-rules-targets): Remove duplicates.
88406         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88407         rtld-%.$o dependency.
88409 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88411         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88412         _dl_map_object do it.
88414 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88416         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88417         fast fma builtins, define the macros in the C99 standard.
88418         (FP_FAST_FMAF): Likewise.
88419         (FP_FAST_FMAL): Likewise.
88420         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88422         * bits/mathdef.h: Update copyright year.
88423         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88425 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88427         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88428         builtins, define the macros in the C99 standard.
88429         (FP_FAST_FMAF): Likewise.
88430         (FP_FAST_FMAL): Likewise.
88431         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88432         multiply/add.
88433         (FP_FAST_FMAF): Likewise.
88435 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88437         [BZ #3268]
88438         * math/libm-test.inc (fma_test): Some new testcases.
88439         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88440         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88441         y and infinite z.  Do multiplication by C already in long double.
88442         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88444         y and infinite z.  Do bitwise or of inexact bit into u.d.
88445         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88446         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88447         * sysdeps/i386/fpu/s_fma.S: Removed.
88448         * sysdeps/i386/fpu/s_fmal.S: Removed.
88450 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88452         [BZ #3268]
88453         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88455         computation is not scheduled after fetestexcept.  Fix value
88456         of minimum denormal long double.
88458 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88460         [BZ #3268]
88461         * math/libm-test.inc (fma_test): Add some more tests.
88462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88463         correctly.
88465 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88467         * scripts/data/localplt-s390-linux-gnu.data: New file.
88468         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88470 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88472         [BZ #3268]
88473         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88474         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88475         instead of dbl-64.
88476         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88477         inlines.
88478         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88480         if one of x and y is very large and the other is subnormal.
88481         * sysdeps/s390/fpu/s_fmaf.c: New file.
88482         * sysdeps/s390/fpu/s_fma.c: New file.
88483         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88484         * sysdeps/powerpc/fpu/s_fma.S: New file.
88485         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88486         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88487         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88489 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88491         [BZ #3268]
88492         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88493         fma tests.
88494         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88495         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88496         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88497         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88498         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88499         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88500         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88502 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88504         [BZ #12078]
88505         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88506         * posix/bug-regex31.input: Add test case.
88508 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88510         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88511         * posix/bug-regex31.input: New file.
88513         [BZ #12078]
88514         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88515         (parse_sub_exp): Fix last change, use postorder.
88517         * posix/bug-regex31.c: New file.
88518         * posix/Makefile: Add rules to build and run bug-regex31.
88520         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88522         [BZ #12078]
88523         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88525         [BZ #12108]
88526         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88527         to have entries in sys_siglist.
88529         [BZ #12093]
88530         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88531         be NULL.
88533 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88535         [BZ #3268]
88536         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88537         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88538         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88539         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88540         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88541         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88542         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88543         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88544         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88545         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88546         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88547         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88548         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88549         * math/ftestexcept.c (fetestexcept): Likewise.
88550         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88551         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88552         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88553         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88554         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88555         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88556         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88558 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88560         [BZ #12107]
88561         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88562         newline.
88564 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88566         * string/bug-strstr1.c: New file.
88567         * string/Makefile: Add rules to build and run bug-strstr1.
88569 2010-10-05  Eric Blake  <eblake@redhat.com>
88571         [BZ #12092]
88572         * string/str-two-way.h (two_way_long_needle): Always clear memory
88573         when skipping input due to the shift table.
88575 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88577         [BZ #12005]
88578         * malloc/mcheck.c: Handle large requests.
88580         [BZ #12077]
88581         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88582         for strncmp and strncasecmp.
88583         * string/stratcliff.c: Add tests for strcmp and strncmp.
88584         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88586 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88588         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88589         __set_fpscr.
88591 2010-09-30  Andreas Jaeger  <aj@suse.de>
88593         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88594         (CGROUP_SUPER_MAGIC): Define.
88595         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88596         Handle btrfs and cgroup file systems.
88597         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88598         Likewise.
88600 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88602         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88603         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88605 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88607         [BZ #12067]
88608         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88609         trying to locate the ELF header.
88611 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88613         [BZ #11611]
88614         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88615         Mask out sign-bit copies when constructing f_fsid.
88617 2010-09-24  Petr Baudis <pasky@suse.cz>
88619         * debug/stack_chk_fail_local.c: Add missing licence exception.
88620         * debug/warning-nop.c: Likewise.
88622 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88624         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88625         implementing getdents64 using getdents syscall, set d_type if
88626         __ASSUME_GETDENTS32_D_TYPE.
88628 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88630         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88631         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88633 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88635         [BZ #12037]
88636         * posix/unistd.h: Undo change of feature selection for ftruncate from
88637         2010-01-11.
88639 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88641         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88642         detection.
88644 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88646         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88647         fanotify_mark.
88648         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88650 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88652         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88653         variables after CHECK_SP call.
88654         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88656 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88657             Ulrich Drepper  <drepper@redhat.com>
88659         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88660         re-relocationg ld.so.
88661         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88662         _dl_init_paths call.
88663         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88664         here anymore.
88666 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88668         * resolv/res_init.c (__res_vinit): Count the default server we added.
88670 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88671             Ulrich Drepper  <drepper@redhat.com>
88673         [BZ #11968]
88674         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88675         (____longjmp_chk): Use %ebx for saving value across system call.
88676         Add unwind info.
88678 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88680         * manual/Makefile: Don't mix pattern rules with normal rules.
88682 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88684         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88685         operation.
88686         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88687         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88688         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88689         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88690         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88691         Likewise.
88693 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88695         [BZ #11979]
88696         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88697         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88699 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88701         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88702         * sysdeps/x86_64/addmul_1.S: Likewise.
88703         * sysdeps/x86_64/lshift.S: Likewise.
88704         * sysdeps/x86_64/mul_1.S: Likewise.
88705         * sysdeps/x86_64/rshift.S: Likewise.
88706         * sysdeps/x86_64/sub_n.S: Likewise.
88707         * sysdeps/x86_64/submul_1.S: Likewise.
88709 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88711         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88712         Define __sched_param instead of SCHED_* and sched_param when
88713         <bits/sched.h> is included with __need_schedparam defined.
88714         * bits/sched.h [__need_schedparam]
88715         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88716         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88717         (__defined_schedparam): Define to 1.
88718         (__sched_param): New structure, identical to sched_param.
88719         (__need_schedparam): Undefine.
88721 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88723         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88724         (epoll_create1): Declare.
88726         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88728 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88730         [BZ #7066]
88731         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88732         shifting retval into place.
88734 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88736         * nis/rpcsvc/nis.h: Update copyright notice.
88737         * nis/rpcsvc/nis.x: Likewise.
88738         * nis/rpcsvc/nis_callback.h: Likewise.
88739         * nis/rpcsvc/nis_callback.x: Likewise.
88740         * nis/rpcsvc/nis_object.x: Likewise.
88741         * nis/rpcsvc/nis_tags.h: Likewise.
88742         * nis/rpcsvc/yp.h: Likewise.
88743         * nis/rpcsvc/yp.x: Likewise.
88744         * nis/rpcsvc/ypupd.h: Likewise.
88745         * nis/yp_xdr.c: Likewise.
88746         * nis/ypupdate_xdr.c: Likewise.
88748         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88749         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88750         (pmap_getport): Use __libc_rpc_getport.
88751         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88752         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88753         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88755 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88758         fanotify_mark.
88760 2010-08-27  Roland McGrath  <roland@redhat.com>
88762         * sysdeps/i386/i686/multiarch/Makefile
88763         (CFLAGS-varshift.c): New variable.
88765 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88767         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88768         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88770         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88772         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88774 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88776         * sysdeps/x86_64/strlen.S: Unroll the loop.
88777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88778         strlen-sse2 strlen-sse2-bsf.
88779         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88780         __strlen_no_bsf if bit_Slow_BSF is set.
88781         (__strlen_sse42): Removed.
88782         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88783         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88785 2010-08-25  Roland McGrath  <roland@redhat.com>
88787         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88788         * sysdeps/x86_64/multiarch/varshift.c: New file.
88789         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88790         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88791         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88792         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88794 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88797         strlen-sse2 strlen-sse2-bsf.
88798         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88799         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88800         (__strlen_sse2): Removed.
88801         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88802         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88804         bit_Slow_BSF for Atom.
88805         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88806         (index_Slow_BSF): Define.
88807         (HAS_SLOW_BSF): Define.
88809 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88811         [BZ #10851]
88812         * resolv/res_init.c (__res_vinit): When no server address at all
88813         is given default to loopback.
88815 2010-08-24  Roland McGrath  <roland@redhat.com>
88817         * configure.in: Remove config-name.h generation.
88818         * configure: Regenerated.
88819         * config-name.in: File removed.
88820         * scripts/config-uname.sh: New file.
88821         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88822         ($(objdir)config-name.h): New target.
88824         * sunrpc/rpc_parse.h: Avoid nested comment.
88826 2010-08-24  Richard Henderson  <rth@redhat.com>
88827             Ulrich Drepper  <drepper@redhat.com>
88828             H.J. Lu  <hongjiu.lu@intel.com>
88830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88832         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88833         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88834         _mm_alignr_epi8 with _mm_loadu_si128.
88835         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88836         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88837         (__m128i_shift_right): Removed.
88838         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88839         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88840         * sysdeps/x86_64/multiarch/varshift.h: New file.
88841         * sysdeps/x86_64/multiarch/varshift.S: New file.
88843 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88845         * configure.in: Move assembler checks to before sysdep dir checking.
88847 2010-08-20  Petr Baudis  <pasky@suse.cz>
88849         * LICENSES: Sync the sunrpc license.
88851 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88853         * sunrpc/auth_des.c: Update copyright notice once again.
88854         * sunrpc/auth_none.c: Likewise.
88855         * sunrpc/auth_unix.c: Likewise.
88856         * sunrpc/authdes_prot.c: Likewise.
88857         * sunrpc/authuxprot.c: Likewise.
88858         * sunrpc/bindrsvprt.c: Likewise.
88859         * sunrpc/clnt_gen.c: Likewise.
88860         * sunrpc/clnt_perr.c: Likewise.
88861         * sunrpc/clnt_raw.c: Likewise.
88862         * sunrpc/clnt_simp.c: Likewise.
88863         * sunrpc/clnt_tcp.c: Likewise.
88864         * sunrpc/clnt_udp.c: Likewise.
88865         * sunrpc/clnt_unix.c: Likewise.
88866         * sunrpc/des_crypt.c: Likewise.
88867         * sunrpc/des_soft.c: Likewise.
88868         * sunrpc/get_myaddr.c: Likewise.
88869         * sunrpc/getrpcport.c: Likewise.
88870         * sunrpc/key_call.c: Likewise.
88871         * sunrpc/key_prot.c: Likewise.
88872         * sunrpc/openchild.c: Likewise.
88873         * sunrpc/pm_getmaps.c: Likewise.
88874         * sunrpc/pm_getport.c: Likewise.
88875         * sunrpc/pmap_clnt.c: Likewise.
88876         * sunrpc/pmap_prot.c: Likewise.
88877         * sunrpc/pmap_prot2.c: Likewise.
88878         * sunrpc/pmap_rmt.c: Likewise.
88879         * sunrpc/rpc/auth.h: Likewise.
88880         * sunrpc/rpc/auth_unix.h: Likewise.
88881         * sunrpc/rpc/clnt.h: Likewise.
88882         * sunrpc/rpc/des_crypt.h: Likewise.
88883         * sunrpc/rpc/key_prot.h: Likewise.
88884         * sunrpc/rpc/netdb.h: Likewise.
88885         * sunrpc/rpc/pmap_clnt.h: Likewise.
88886         * sunrpc/rpc/pmap_prot.h: Likewise.
88887         * sunrpc/rpc/pmap_rmt.h: Likewise.
88888         * sunrpc/rpc/rpc.h: Likewise.
88889         * sunrpc/rpc/rpc_des.h: Likewise.
88890         * sunrpc/rpc/rpc_msg.h: Likewise.
88891         * sunrpc/rpc/svc.h: Likewise.
88892         * sunrpc/rpc/svc_auth.h: Likewise.
88893         * sunrpc/rpc/types.h: Likewise.
88894         * sunrpc/rpc/xdr.h: Likewise.
88895         * sunrpc/rpc_clntout.c: Likewise.
88896         * sunrpc/rpc_cmsg.c: Likewise.
88897         * sunrpc/rpc_common.c: Likewise.
88898         * sunrpc/rpc_cout.c: Likewise.
88899         * sunrpc/rpc_dtable.c: Likewise.
88900         * sunrpc/rpc_hout.c: Likewise.
88901         * sunrpc/rpc_main.c: Likewise.
88902         * sunrpc/rpc_parse.c: Likewise.
88903         * sunrpc/rpc_parse.h: Likewise.
88904         * sunrpc/rpc_prot.c: Likewise.
88905         * sunrpc/rpc_sample.c: Likewise.
88906         * sunrpc/rpc_scan.c: Likewise.
88907         * sunrpc/rpc_scan.h: Likewise.
88908         * sunrpc/rpc_svcout.c: Likewise.
88909         * sunrpc/rpc_tblout.c: Likewise.
88910         * sunrpc/rpc_util.c: Likewise.
88911         * sunrpc/rpc_util.h: Likewise.
88912         * sunrpc/rpcinfo.c: Likewise.
88913         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88914         * sunrpc/rpcsvc/key_prot.x: Likewise.
88915         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88916         * sunrpc/rpcsvc/mount.x: Likewise.
88917         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88918         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88919         * sunrpc/rpcsvc/rex.x: Likewise.
88920         * sunrpc/rpcsvc/rstat.x: Likewise.
88921         * sunrpc/rpcsvc/rusers.x: Likewise.
88922         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88923         * sunrpc/rpcsvc/spray.x: Likewise.
88924         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88925         * sunrpc/rtime.c: Likewise.
88926         * sunrpc/svc.c: Likewise.
88927         * sunrpc/svc_auth.c: Likewise.
88928         * sunrpc/svc_authux.c: Likewise.
88929         * sunrpc/svc_raw.c: Likewise.
88930         * sunrpc/svc_run.c: Likewise.
88931         * sunrpc/svc_simple.c: Likewise.
88932         * sunrpc/svc_tcp.c: Likewise.
88933         * sunrpc/svc_udp.c: Likewise.
88934         * sunrpc/svc_unix.c: Likewise.
88935         * sunrpc/svcauth_des.c: Likewise.
88936         * sunrpc/xcrypt.c: Likewise.
88937         * sunrpc/xdr.c: Likewise.
88938         * sunrpc/xdr_array.c: Likewise.
88939         * sunrpc/xdr_float.c: Likewise.
88940         * sunrpc/xdr_mem.c: Likewise.
88941         * sunrpc/xdr_rec.c: Likewise.
88942         * sunrpc/xdr_ref.c: Likewise.
88943         * sunrpc/xdr_sizeof.c: Likewise.
88944         * sunrpc/xdr_stdio.c: Likewise.
88946         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88947         handling.
88949 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88951         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88953 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88955         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88956         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88957         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88958         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88959         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88960         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88961         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88962         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88963         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88964         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88965         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88966         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88967         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88968         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88970 2010-07-26  Anton Blanchard  <anton@samba.org>
88972         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88973         * malloc/arena.c (heap_trim): Likewise.
88975 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88977         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88978         here.  Not...
88979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88980         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88982 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88984         * sysdeps/i386/elf/Makefile: New file.
88986 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88988         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88989         from fanotify_init.
88990         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88991         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88993 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88995         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88996         of strncasecmp_l.
88997         * sysdeps/multiarch/strcmp.S: Likewise.
88999 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89001         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89002         strncase_l-nonascii.
89003         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89004         Add strncase_l-ssse3.
89005         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89006         * sysdeps/x86_64/strcmp.S: Likewise.
89007         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89008         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89009         * sysdeps/x86_64/strncase.S: New file.
89010         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89011         * sysdeps/x86_64/strncase_l.S: New file.
89012         * string/Makefile (strop-tests): Add strncasecmp.
89013         * string/test-strncasecmp.c: New file.
89015         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89016         warning.
89018         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89019         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89021 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89023         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89025 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89027         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89028         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89029         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89031 2010-05-01  Alan Modra  <amodra@gmail.com>
89033         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89034         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89035         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89036         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89037         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89038         tidying.  Don't tail-call __sigjmp_save for static lib.
89039         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89040         save location.
89041         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89042         (CALL_MCOUNT): Add eh info, and nop after bl.
89043         (TAIL_CALL_SYSCALL_ERROR): New macro.
89044         (PSEUDO_RET): Use it.
89045         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89046         Correct save location of integer regs and cr.
89047         (_dl_profile_resolve): Correct cr save location.  Delete nops
89048         after bl when SHARED.  Reduce cfi size a little by better
89049         placement of cfi directives.
89050         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89051         make a stack frame.  Instead use parm save area as a temp.
89052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89053         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89055         Don't make a stack frame for parent, use parm save area.
89056         Increase child stack frame to 112 bytes.  Don't save unused reg,
89057         and adjust reg usage.  Set up cfi on error recovery and
89058         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89060         (__makecontext): Add dummy nop after jump to exit.
89061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89062         Use correct parm save area and cr save, reduce stack frame.
89063         Correct cfi for possible PSEUDO_RET frame setup.
89064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89065         Branch to local label emitted by PSEUDO_RET rather than
89066         __syscall_error.
89068 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89070         [BZ #11904]
89071         * locale/programs/locale.c (print_assignment): New function.
89072         (show_locale_vars): Use it.
89074 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89076         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89077         field.
89078         (struct statfs64): Likewise.
89079         (_STATFS_F_FLAGS): Define.
89080         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89081         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89082         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89083         (ST_VALID): Define locally.
89084         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89085         __statvfs_getflags, use the provided value.
89086         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89087         __ASSUME_STATFS_F_FLAGS.
89089         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89091         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89092         Add sys/fanotify.h.
89093         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89094         fanotify_mask for GLIBC_2.13.
89095         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89096         fanotify_init and fanotify_mark.
89097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89098         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89100         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89101         Add prlimit.
89102         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89103         prlimit64 for GLIBC_2.13.
89104         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89105         prlimit64.
89106         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89107         syscall.
89108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89109         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89110         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89111         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89113         add prlimit alias.
89114         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89116         [BZ #11903]
89117         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89118         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89120         * nss/Makefile: Add rules to build and run tst-nss-test1.
89121         * shlib-versions: Add entry for libnss_test1.
89122         * nss/nss_test1.c: New file.
89123         * nss/tst-nss-test1.c: New file.
89125         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89126         (__nss_configure_lookup): Set appropriate entry in
89127         __nss_configure_lookup to true.
89128         * nss/nsswitch.h: Define enum with indeces of databases in
89129         databases and __nss_database_custom arrays.  Declare
89130         __nss_database_custom.
89131         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89132         to avoid using nscd when custom rules are installed.
89133         * nss/getXXbyYY_r.c: Likewise.
89134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89136         * nss/nss_files/files-parse.c: Whitespace fixes.
89138 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89140         [BZ #11883]
89141         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89142         * posix/fnmatch_loop.c: Likewise.
89144 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89146         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89147         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89148         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89149         * Versions.def [GLIBC_2.13]: Add.
89151 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89153         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89154         Also fail if tpwd after pwuid call is NULL.
89156 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89158         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89159         when converting to ms.
89161 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89163         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89164         EOPNOTSUPP errors with ENOTTY.
89165         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89166         EOPNOTSUPP errors with ENOTTY.
89168 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89170         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89171         Add strcasecmp_l-ssse3.
89172         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89173         strcasecmp.
89174         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89175         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89176         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89178 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89180         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89182         * string/Makefile (strop-tests): Add strcasecmp.
89183         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89184         strcasecmp_l-nonascii.
89185         (gen-as-const-headers): Add locale-defines.sym.
89186         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89187         * sysdeps/x86_64/strcasecmp.S: New file.
89188         * sysdeps/x86_64/strcasecmp_l.S: New file.
89189         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89190         * sysdeps/x86_64/locale-defines.sym: New file.
89191         * string/test-strcasecmp.c: New file.
89193         * string/test-strcasestr.c: Test both ends of the range of characters.
89194         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89196 2010-07-29  Roland McGrath  <roland@redhat.com>
89198         [BZ #11856]
89199         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89201 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89203         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89204         for ld.so.
89206 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89208         * manual/memory.texi (Malloc Tunable Parameters): Document
89209         M_PERTURB.
89211 2010-07-26  Roland McGrath  <roland@redhat.com>
89213         [BZ #11840]
89214         * configure.in (-fgnu89-inline check): Set and substitute
89215         gnu89_inline, not libc_cv_gnu89_inline.
89216         * configure: Regenerated.
89217         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89219 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89221         * string/test-strnlen.c: New file.
89222         * string/Makefile (strop-tests): Add strnlen.
89223         * string/tester.c (test_strnlen): Add a few more test cases.
89224         * string/tst-strlen.c: Better error reporting.
89226         * sysdeps/x86_64/strnlen.S: New file.
89228 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89230         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89231         lower-latency instructions.
89233 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89235         * string/test-strcasestr.c: New file.
89236         * string/test-strstr.c: New file.
89237         * string/Makefile (strop-tests): Add strstr and strcasestr.
89238         * string/str-two-way.h: Don't undefine MAX.
89239         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89241 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89243         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89244         strcasestr-nonascii.
89245         (CFLAGS-strcasestr-nonascii.c): Define.
89246         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89248         Remove unused attribute.
89250 2010-07-20  Roland McGrath  <roland@redhat.com>
89252         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89253         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89254         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89255         like LD_HWCAP_MASK can disable hwcaps.
89257 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89259         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89261 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89263         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89264         call in strcasestr.
89265         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89266         __strcasestr_sse42_nonascii.
89267         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89268         strcasestr-nonascii.c.
89269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89271 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89273         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89274         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89275         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89276         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89278 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89280         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89281         fcntl.
89283 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89285         [BZ #11577]
89286         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89287         dl_signal_cerror.
89289 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89291         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89292         _PC_PIPE_BUF using F_GETPIPE_SZ.
89294 2010-07-05  Roland McGrath  <roland@redhat.com>
89296         * manual/arith.texi (Rounding Functions): Fix rint description
89297         implicit in round description.
89299 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89301         * elf/Makefile: Fix linking for a few tests to make recent linker
89302         happy.
89304 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89306         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89307         $(common-objpfx)libc_nonshared.a.
89309 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89311         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89312         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89313         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89314         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89315         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89316         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89317         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89318         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89333         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89334         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89335         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89336         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89337         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89338         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89339         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89340         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89341         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89342         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89343         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89344         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89360 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89362         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89363         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89364         * string/memmove.c (memmove): Renamed to ...
89365         (MEMMOVE): ...this.  Default to memmove.
89366         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89367         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89368         (END_CHK): Define.
89369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89370         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89371         mempcpy-ssse3-back memmove-ssse3-back.
89372         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89373         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89374         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89375         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89376         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89377         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89378         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89379         * sysdeps/x86_64/multiarch/memmove.c: New file.
89380         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89381         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89382         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89383         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89384         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89385         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89386         Define.
89387         (index_Fast_Copy_Backward): Define.
89388         (HAS_ARCH_FEATURE): Define.
89389         (HAS_FAST_REP_STRING): Define.
89390         (HAS_FAST_COPY_BACKWARD): Define.
89392 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89394         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89395         Restore proper fallback handling.
89397 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89399         [BZ #11701]
89400         * posix/group_member.c (__group_member): Correct checking loop.
89402         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89403         OOM in getpwuid_r correctly.  Return error number when the caller
89404         should return, otherwise -1.
89405         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89406         call returning > 0 value.
89407         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89409 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89411         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89412         libc_nonshared.a from targets in modules-names.
89414 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89416         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89417         requires it.
89419 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89421         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89422         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89423         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89424         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89426 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89428         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89430 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89432         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89433         and F_GETPIPE_SZ.
89434         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89435         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89436         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89438         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89439         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89441 2010-06-14  Roland McGrath  <roland@redhat.com>
89443         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89445 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89447         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89448         __REDIRECT followed by __THROW.
89449         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89450         * posix/getopt.h (getopt): Likewise.
89452 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89454         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89455         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89456         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89457         in AT_FLAGS.
89458         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89459         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89461 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89463         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89465 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89467         [BZ #11640]
89468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89469         Properly check family and model.
89471 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89473         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89475 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89477         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89479 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89481         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89482         symbol reference.
89484 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89486         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89487         symbol reference.
89489 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89491         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89492         and internal_recvmmsg.
89493         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89494         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89495         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89496         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89498         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89499         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89500         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89502 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89504         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89506 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89508         POWER7 optimizations.
89509         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89510         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89512 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89514         * version.h: Update for 2.13 development version.
89516 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89518         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89519         exceptions.  Return 0.
89521 2010-05-07  Roland McGrath  <roland@redhat.com>
89523         * elf/ldconfig.c (main): Add a const.
89525 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89527         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89528         (args_options): Add no-idn option.
89529         (ahosts_keys_int): Add idn_flags to ai_flags.
89530         (parse_option): Handle 'i' option to clear idn_flags.
89532         * malloc/malloc.c (_int_free): Possible race in the most recently
89533         added check.  Only act on the data if no current modification
89534         happened.
89536 See ChangeLog.17 for earlier changes.